[linux-lvm] help needed

narsimha.kulkarni at bt.com narsimha.kulkarni at bt.com
Thu May 29 09:33:02 UTC 2003

hi following is the log of the commands....
i want to remove the volume group completely....
or i want to restore it....

how do i do it

vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "helena_vg"
vgscan -- ERROR "lv_read_all_lv(): number of LV" can't get data of volume
vgscan -- found active volume group "volg"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume

vgremove -- ERROR: can't remove active volume group "helena_vg"

vgcfgrestore -- locking logical volume manager
vgcfgrestore -- restoring volume group "helena_vg" from
vgcfgrestore -- checking existence of "/etc/lvmconf/helena_vg.conf"
vgcfgrestore -- "/etc/lvmconf/helena_vg.conf" doesn't exist
vgcfgrestore -- a backup for volume group helena_vg is not available

pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hda3"  is associated to an unknown VG (run
pvscan -- ACTIVE   PV "/dev/hdb1" of VG "volg"      [31.48 GB / 31.48 GB
pvscan -- total: 2 [39.08 GB] / in use: 2 [39.08 GB] / in no VG: 0 [0]

pvchange -- locking logical volume manager
pvchange -- reading physical volume data /dev/hda3 from disk
pvchange -- checking physical volume "/dev/hda3" consistency
pvchange -- finding volume group of physical volume "/dev/hda3"
pvchange -- unable to find volume group of "/dev/hda3" (VG not active?)
pvchange -- unlocking logical volume manager
pvchange -- 0 physical volumes changed / 0 physical volumes already o.k.

More information about the linux-lvm mailing list