[clug] Who has better dd foo than I?

Michael Still mikal at stillhq.com
Tue Aug 7 02:16:08 MDT 2012


On 07/08/12 17:33, Paul Wayper wrote:
> 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.

Doesn't resize2fs require a fsck to have been run though? And that
can't be done online.

Mikal


More information about the linux mailing list