Fedora 15, new and exciting plans

Matt McCutchen matt at mattmccutchen.net
Sun Nov 14 19:14:11 UTC 2010


On Sun, 2010-11-14 at 14:07 -0500, Matt McCutchen wrote:
> On Sun, 2010-11-14 at 10:38 -0800, John Reiser wrote:
> > On 11/13/2010 03:41 PM, Richard W.M. Jones wrote:
> > 
> > > Anyway, I think LVM is jolly useful:
> > [stated advantages snipped]
> > 
> > One design error is that you cannot "carve out" an ordinary partition
> > from an LVM.  Once a portion of the drive is LVM, then that portion of
> > the drive is LVM forever until the LVM is completely gone.
> 
> That's not true.  You can shrink the PV with pvresize and then create
> any desired partitions in the resulting space.

Oops, that's not completely true: pvresize currently is not smart enough
to move allocated data out of the area to be freed, according to its man
page.  But you have other options, e.g., you can attach another disk,
create a PV on it, move the data there, rearrange the first disk as
desired, and move the data back, all while the system is running.
That's what's so fun about LVM.

-- 
Matt



More information about the devel mailing list