[linux-lvm] one PV crashed

Turbo Fredriksson turbo at bayour.com
Fri Feb 15 06:01:01 UTC 2002


>>>>> "Turbo" == Turbo Fredriksson <turbo at bayour.com> writes:

    Turbo> This went ok, but 'pvscan -u' is behaving (?) strangly...

Shutting down (vgchange -a n), doing the vgcfgrestore, and then starting
it again (vgchange -a y) gave me this:

----- s n i p -----
[papadoc.root]# /etc/init.d/lvm stop
Shutting down LVM Volume Groups...
vgchange -- no volume groups found

[papadoc.root]# vgcfgrestore -f /etc/lvmconf/vg1.conf -n vg1 -o /dev/sdg1 /dev/sdh1
vgcfgrestore -- VGDA for "vg1" successfully restored to physical volume "/dev/sdh1"
vgcfgrestore -- you may not have an actual backup of restored volume group "vg1"

[papadoc.root]# /etc/init.d/lvm start
Setting up LVM Volume Groups...
vgchange -- volume group "vg1" successfully activated

[papadoc.root]# pvscan -u
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE   PV "/dev/sdb1 " with UUID "ofZCeT-O16H-Df0h-4KoB-xQhm-lc24-67dZvk" of VG "vg1" [5.87 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/sdc1 " with UUID "xN0MF7-xKU0-Uk3L-g8Pw-0YfH-fS3V-zgFA66" of VG "vg1" [1004.00 MB / 0 free]
pvscan -- ACTIVE   PV "/dev/sdd10" with UUID "5V0XNB-gA87-OU66-1iza-cvsz-xQ2q-6DEbyH" of VG "vg1" [2.37 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/sde1 " with UUID "Bdm7PX-50Dq-hC6R-yXmv-DDq1-n6Nx-4ohaKK" of VG "vg1" [8.50 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/sdf1 " with UUID "QnqfyA-fOTB-J1Pp-4be5-t6QU-bGjS-i2BKf2" of VG "vg1" [17.09 GB / 0 free]
pvscan -- inactive PV "/dev/sdh1 " with UUID "ZNODti-EFFz-rGID-HYyh-kg7Z-yDCe-LLbXBv" is in no VG  [15.55 GB]
pvscan -- total: 6 [50.39 GB] / in use: 5 [34.84 GB] / in no VG: 1 [15.55 GB]
----- s n i p -----


I'm getting so close, I can SMELL the coffey! :)

Why is sdh1 inactive?

Qaddafi NSA Treasury NORAD FBI smuggle Saddam Hussein Kennedy Soviet
jihad bomb genetic Khaddafi pits quiche
[See http://www.aclu.org/echelonwatch/index.html for more about this]




More information about the linux-lvm mailing list