[linux-lvm] my PV's disappearing
bluca at comedia.it
Mon Nov 20 18:21:37 UTC 2006
On Tue, Nov 14, 2006 at 09:56:22AM -0800, Richard Mollel wrote:
>Just before i sent this out...i saw this thread::
>And that was exactly my problem!! Not sure why!!
>I have now been able to perform::
>losetup /dev/loop0 /dev/sdb
>losetup /dev/loop1 /dev/sdc
>losetup /dev/loop2 /dev/sdd
can you please clarify if you are really using whole disks or did you by
chance partition the devices.
the message you cite was the fix for someone that did partition the disk
after creating the PVs and filling LVM with data.
if the device holds a partition table lvm commands will ignore the
whole disk and try to find an LVM label on the partition.
the loosetup trick will fool lvm tools (loop device are not
>and, performed : vgchange -a y
>(it complained of duplicate uuid's, recreated on
>sdb1,sdc1 and sdd1 since pvcreate was complaining of
>/dev/sdb,sdc & sdd not found!)
pvcreate? did you pvcreate? on the partition?
>I have been able to mount my reiserfs, so i can
>continue with migration.
>Issue which i have to take up with Mandriva guys is
>why the failure all of a sudden? and do i need to be
>performing losetup everytime? My original
>configuration had used whole disks...
i did not see anything related to that on mandriva bugzilla, but in any
case if the issue is that the whole device was partitioned after lvm
creation there is not much i can do about it.
Luca Berra -- bluca at comedia.it
Communication Media & Services S.r.l.
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
More information about the linux-lvm