[clug] Who has better dd foo than I?

Matthew Oliver matt at oliver.net.au
Tue Aug 7 02:39:43 MDT 2012


On Aug 7, 2012 6:15 PM, "Michael Still" <mikal at stillhq.com> wrote:
>
> 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.

Not in my experience, I use Paul's technique all the time, and have never
needed to fsck first.

>
> Mikal
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux

Matt


More information about the linux mailing list