Thanks all for your help. For the benefit of others, here is the solution Alasdair and others recommended that worked. (Putting this into the how-to document would save Alasdair some time) Situation: Drive hdc was actually partitioned with 3 partitions when I installed it in an LVM volume. LVM version 2.00.?? allowed a pvcreate on it with the partition table intact. Later versions of 2.00.?? (.13 perhaps?) do not ignore the partition table. So, it worked fine until upgrading to 2.01 Solution: Wipe the partition table: (some recommended bs=1k and others recommended bs=512 which I tried first since it was more conservative) dd if=/dev/zero of=/dev/hdc bs=512 count=1 blockdev --rereadpt /dev/hdc Now, do vgscan and pvscan to confirm it worked Then, I had to exclude the dvd drive (hdb for me) from LVM scans, adding this to /etc/lvm/lvm.conf: filter = [ "r|/dev/hdb|","r|/dev/cdrom|", "r|/dev/dvd|"] Then, add the vg and mount: vgchange -ay my_vg mkdir /my_mount_point mount /dev/my_vg/my_lv1 /my_mount_point Finally, add the line in /etc/fstab for the mount Here's links to earlier messages on the subject: www.redhat.com/archives/linux-lvm/2005-March/msg00084.html http://www.archivum.info/debian-bugs-rc@lists.debian.org/2004-12/msg00652.html --- Antoine <lists@chwing.com> wrote: > from my experience, this doesn't help, it seems that > pvscan, vgscan > doesn't recognize whole device as lvm capable device > and then remove it > from .cache (so your vg seems to disappear but if > you manually put your > device in .cache, it fixes everything) > > > see output for exemple : > pitch:/etc/lvm# pvs > PV VG Fmt Attr PSize PFree > /dev/hdc vg0 lvm2 a- 19.11G 19.11G > /dev/hdd vg0 lvm2 a- 149.05G 4.05G > pitch:/etc/lvm# > pitch:/etc/lvm# > pitch:/etc/lvm# pvscan > Couldn't find device with uuid > 'iZzizb-LmBD-0wx1-QD3g-76aO-1zJI-d61tNs'. > PV unknown device VG vg0 lvm2 [149.05 GB / > 4.05 GB free] > PV /dev/hdc VG vg0 lvm2 [19.11 GB / > 19.11 GB free] > Total: 2 [168.16 GB] / in use: 2 [168.16 GB] / in > no VG: 0 [0 ] > pitch:/etc/lvm# pvs > Couldn't find device with uuid > 'iZzizb-LmBD-0wx1-QD3g-76aO-1zJI-d61tNs'. > Couldn't find device with uuid > 'iZzizb-LmBD-0wx1-QD3g-76aO-1zJI-d61tNs'. > Couldn't find all physical volumes for volume > group vg0. > Can't read vg0: skipping > Couldn't find device with uuid > 'iZzizb-LmBD-0wx1-QD3g-76aO-1zJI-d61tNs'. > Couldn't find all physical volumes for volume > group vg0. > Can't read vg0: skipping > > note that it doesn't happen on both disks, but they > were set up identically. > > see also this output, pvdisplay on the faulty device > seems to fix it : > pitch:/etc/lvm# vgdisplay > Couldn't find device with uuid > 'iZzizb-LmBD-0wx1-QD3g-76aO-1zJI-d61tNs'. > Couldn't find all physical volumes for volume > group vg0. > Volume group "vg0" doesn't exist > pitch:/etc/lvm# pvdisplay > Couldn't find device with uuid > 'iZzizb-LmBD-0wx1-QD3g-76aO-1zJI-d61tNs'. > --- Physical volume --- > PV Name unknown device > VG Name vg0 > PV Size 149.05 GB / not usable 0 > Allocatable yes > PE Size (KByte) 4096 > Total PE 38156 > Free PE 1036 > Allocated PE 37120 > PV UUID > iZzizb-LmBD-0wx1-QD3g-76aO-1zJI-d61tNs > > --- Physical volume --- > PV Name /dev/hdc > VG Name vg0 > PV Size 19.11 GB / not usable 0 > Allocatable yes > PE Size (KByte) 4096 > Total PE 4892 > Free PE 4892 > Allocated PE 0 > PV UUID > vzCHIG-WqYt-w2Kv-qGog-vK74-GEBu-svsWBm > > pitch:/etc/lvm# pvdisplay /dev/hdd > --- Physical volume --- > PV Name /dev/hdd > VG Name vg0 > PV Size 149.05 GB / not usable 0 > Allocatable yes > PE Size (KByte) 4096 > Total PE 38156 > Free PE 1036 > Allocated PE 37120 > PV UUID > iZzizb-LmBD-0wx1-QD3g-76aO-1zJI-d61tNs > > > pitch:/etc/lvm# > pitch:/etc/lvm# pvdisplay > --- Physical volume --- > PV Name /dev/hdd > VG Name vg0 > PV Size 149.05 GB / not usable 0 > Allocatable yes > PE Size (KByte) 4096 > Total PE 38156 > Free PE 1036 > Allocated PE 37120 > PV UUID > iZzizb-LmBD-0wx1-QD3g-76aO-1zJI-d61tNs > > --- Physical volume --- > PV Name /dev/hdc > VG Name vg0 > PV Size 19.11 GB / not usable 0 > Allocatable yes > PE Size (KByte) 4096 > Total PE 4892 > Free PE 4892 > Allocated PE 0 > PV UUID > vzCHIG-WqYt-w2Kv-qGog-vK74-GEBu-svsWBm > > pitch:/etc/lvm# vgs > VG #PV #LV #SN Attr VSize VFree > vg0 2 1 0 wz--n 168.16G 23.16G > > so for me at least, the best practice for now is to > set a partition on > the whole disk (hdd1) set its type '8e' and use it > instead of the whole > device. I didnt have any problem working like this. > > fyi: debian sarge with : > pitch:~# vgscan --version > LVM version: 2.01.04 (2005-02-09) > Library version: 1.01.00-ioctl (2005-01-17) > Driver version: 4.1.1 > > Alasdair G Kergon wrote: > > >No - I'm suggesting you need to check if any *whole > device* PVs like hdd > >actually have partition tables on them, and if so, > remove them. > > > >Alasdair > > > >_______________________________________________ > >linux-lvm mailing list > >linux-lvm@redhat.com > >https://www.redhat.com/mailman/listinfo/linux-lvm > >read the LVM HOW-TO at > http://tldp.org/HOWTO/LVM-HOWTO/ > > > > > > > > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at > http://tldp.org/HOWTO/LVM-HOWTO/ > _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/