[clug] Who has better dd foo than I?

Andrew Janke a.janke at gmail.com
Tue Aug 7 05:21:59 MDT 2012

Various people wrote useful things like this:
>>> lvextend -L +10G /dev/volumegroup/logicalvolume # gives it an extra
>>> 10GB resize2fs /dev/volumegroup/logicalvolume # extends ext3 to
>>> fit.

>>> Quotas

Thanks all, I am a user of LVM + mdadm already but from my point of
view it's not really the easiest/bestest/fool-proofest way of doing

For one this is one of 4 new RAID volumes that are 60TB in size (a
bunch of 3TB SAS drives). So when we add more space it's in 30/60TB
chunks. I have found resize2fs to be a tad slow on disks this size.
That and I also had a machine go sleepy-byes once during a
lvextend+resize2fs operation, that was exciting. These volumes are
also accessed by a reasonable size cluster so while the overhead of
lvm is minimal, it's still something I don't really want.

That and the "fill er up with giant null files" approach is very KISS.
I can add another 2, 4 or 10TB with one very quick rm.  I'm also not
that keen on quotas, we tend to self-organise with data storage around
these parts so I can see adding quotas as just one more thing that I'd
be then forced to maintain/update and develop some sort of policy for.

Thanks again, for now fallocate is my knight in shining armour.


More information about the linux mailing list