[clug] Who has better dd foo than I?
paulway at mabula.net
Tue Aug 7 01:33:58 MDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
On 07/08/12 12:26, Ben Coughlan wrote:
> Not sure about your actual question, but an alternative solution would be to use LVM. You can create a small volume and gradually increase it when you need to. Modern kernels can do the filesystem resize online. You could even do it without LVM by just resizing the partition on the disk, but that doesn't feel as safe.
I totally support this way of doing things.
lvextend -L +10G /dev/volumegroup/logicalvolume # gives it an extra 10GB
resize2fs /dev/volumegroup/logicalvolume # extends ext3 to fit.
Modern kernels - any thing past 2.6.10 if I remember rightly - can do the
It not only means that you can release disk space gradually, but you can
release it to any LV you desire. It also means that you've got space to throw
around in case someone needs a temporary chunk of disk space that they will
then give back - just create an LV, mkfs it, mount it somewhere, then unmount
it and lvremove when you're done.
And I always hate that technique of pretending that space was missing, after
one group on a server I administered were caught using all the new shared disk
space by putting multiple copies of Quake so that nobody else got the disk
space, and then removed the copies when they wanted some space for their own
Hope this helps,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the linux