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

[linux-lvm] help needed



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
group)
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
groups

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


vgcfgrestore -- locking logical volume manager
vgcfgrestore -- restoring volume group "helena_vg" from
"/etc/lvmconf/helena_vg.conf"
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
vgscan)
pvscan -- ACTIVE   PV "/dev/hdb1" of VG "volg"      [31.48 GB / 31.48 GB
free]
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.



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