[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] live lock?



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 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 gs_lan root]# vgreduce vg1 /dev/sdb1
vgreduce -- physical volume "/dev/sdb1" doesn't belong to volume group
"vg1"

[root 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

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]