[linux-lvm] live lock?

Ming Zhang mingz at ele.uri.edu
Thu Jun 30 21:42:27 UTC 2005


i now met a PV that can not add or remove from a VG. i now do not know
if it belongs to vg1 at all.


[root at gs_lan root]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE   PV "/dev/sda3" of VG "vg1" [102.64 GB / 60.28 GB
free]
pvscan -- inactive PV "/dev/sdb1" of VG "vg1" [137.78 GB / 129.97 GB
free]
pvscan -- total: 2 [240.44 GB] / in use: 2 [240.44 GB] / in no VG: 0 [0]

[root at gs_lan root]# vgreduce vg1 /dev/sdb1
vgreduce -- physical volume "/dev/sdb1" doesn't belong to volume group
"vg1"

[root at gs_lan root]# vgcreate vg2 /dev/sdb1
vgcreate -- "/dev/sdb1" is not a new physical volume
vgcreate -- physical volume "/dev/sdb1" already belongs to volume group
"vg1"


Ming

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20050630/c9fb53c6/attachment.sig>


More information about the linux-lvm mailing list