LVM problem
Ben Scott
dragonhawk at gmail.com
Fri Dec 14 11:19:45 EST 2007
On Dec 14, 2007 10:45 AM, Dan Coutu <coutu at snowy-owl.com> wrote:
> Do a pvcreate /dev/sdb and it reports that all
> is well. mkfs on /dev/sdb also goes well.
Did you do those in that order? If so, you've likely overwritten
the PV header (written by pvcreate) with a filesystem header (written
by mkfs).
The order of operations is:
1. Add physical drive(s) to system
2. pvcreate on the device nodes for the new drive(s), to create PVs
3. vgextend to add the PVs to the VG
4. lvextend to add the new space to the LV
5. ext2online (or whatever) to expand the filesystem to use the space in the LV
I think you'll have to write a new PV header with pvcreate again.
-- Ben
More information about the gnhlug-discuss
mailing list