[linux-lvm] Re-sizing a PV

Ben Beuchler insyte at gmail.com
Wed Nov 30 20:43:27 UTC 2005


I found in the archives a reference to using this series of commands
to grow a PV to fill a disk that has grown (in this case, a hardware
RAID volume that has had disks added to it):

vgcfgbackup
edit file
pvcreate --restorefile --uuid
vgcfgrestore

I would appreciate a little clarification on step #3:

I assume I need to specify the name of the backup file as the value to
the --restorefile option.  Do I specify the id of the vg or the pv as
the option to --uid?

Thanks!

Oh, and do the filesystems have to be unmounted while this is happening?

-Ben




More information about the linux-lvm mailing list