[linux-lvm] volume group and physical volume
sameer.halgatti at patni.com
Tue May 27 23:12:02 UTC 2003
If u want to completely remove ur PV (i.e. if u want to lose ur data) then
there is a very simple way to get rid of this problem. Just do following....
dd of=/dev/hda3 ......hda3 becuse ur PV resides on that
<enter approx 50 chars>
Of course it not the recommend solution, but it will solve ur problem :-)
Actually ur VGDA data on the disk may be corrupted, that's why u r getting
this error message.
When u create a PV/VG, some data is written on the disk (on some initial
disk blocks). So if u erase that by doing 'dd', then u can create fresh
PV/VG using that disk.
----- Original Message -----
From: <narsimha.kulkarni at bt.com>
To: <linux-lvm at sistina.com>
Sent: Tuesday, May 27, 2003 8:37 PM
Subject: [linux-lvm] volume group and physical volume
> I am trying to create volume group and physical volume.
> when i do vgscan
> helena:/etc # vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found inactive volume group "helena_vg"
> vgscan -- ERROR "lv_read_all_lv(): number of LV" can't get data of volume
> vgscan -- ERROR "lv_read_all_lv(): number of LV" creating "/etc/lvmtab"
> the conf file for helena_vg is not to be found. how can i completely
> helena:/etc # vgremove helena_vg
> vgremove -- volume group "helena_vg" doesn't exist
> then i want to remove this PV /dev/hda3
> pvscan -- inactive PV "/dev/hda3" is associated to an unknown VG (run
> linux-lvm mailing list
> linux-lvm at sistina.com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
More information about the linux-lvm