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

[linux-lvm] Weird corruption of volume group configuration with LVM.(fwd)



Hi.

The problem I had here two days ago were almost fixed by the beta4
release. I am still not quite aware of how to make sure this would work
properly. See output below.

This behaviour is although different from what I saw using beta2, but the
problem is still here. :(

# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sda"  is in no VG  [4 GB]
pvscan -- inactive PV "/dev/sdb1"  is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdc"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sde"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdf"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdg"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdh"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdi"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdj"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdk"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdl"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdm"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdn"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdo"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdp"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdq"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdr"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sds"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdt"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdu"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdv"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdw"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/hdb1"  is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/hdc1"  is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/hdd1"  is associated to an unknown VG (run vgscan)
pvscan -- total: 25 [186.3 GB] / in use: 24 [182.3 GB] / in no VG: 1 [4 GB]

# vgscan
vgscan -- reading all physical volumes (this may take a while...)
zsh: 687 segmentation fault  vgscan

# vgcfgrestore -f /etc/lvmconf/mw1.conf -n mw1 /dev/sdb1

# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sda"  is in no VG  [4 GB]
pvscan -- inactive PV "/dev/sdb1" of VG "mw1" [3.99 GB / 0 free]
pvscan -- inactive PV "/dev/sdc"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sde"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdf"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdg"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdh"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdi"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdj"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdk"  of VG "mw1" [8.43 GB / 0 free]
pvscan -- inactive PV "/dev/sdl"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdm"  of VG "mw1" [8.43 GB / 0 free]
pvscan -- inactive PV "/dev/sdn"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdo"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdp"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdq"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdr"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sds"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdt"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdu"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdv"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdw"  of VG "mw1" [4 GB / 264 MB free]
pvscan -- inactive PV "/dev/hdb1" of VG "mw1" [57.24 GB / 0 free]
pvscan -- inactive PV "/dev/hdc1" of VG "mw1" [16.11 GB / 0 free]
pvscan -- inactive PV "/dev/hdd1" of VG "mw1" [16.11 GB / 0 free]
pvscan -- total: 25 [186.3 GB] / in use: 24 [182.3 GB] / in no VG: 1 [4 GB]

# vgscan
vgscan -- reading all physical volumes (this may take a while...)
zsh: 712 segmentation fault  vgscan

# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sda"  is in no VG  [4 GB]
pvscan -- inactive PV "/dev/sdb1"  is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdc"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sde"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdf"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdg"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdh"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdi"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdj"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdk"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdl"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdm"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdn"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdo"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdp"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdq"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdr"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sds"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdt"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdu"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdv"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/sdw"   is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/hdb1"  is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/hdc1"  is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/hdd1"  is associated to an unknown VG (run vgscan)
pvscan -- total: 25 [186.3 GB] / in use: 24 [182.3 GB] / in no VG: 1 [4 GB]

 -- Hans.

 /"\                                   o
 \ /     ASCII RIBBON CAMPAIGN        /|\
  X        AGAINST HTML MAIL           >>
 / \                                   o

---------- Forwarded message ----------
Date: Wed, 7 Feb 2001 21:01:26 +0100 (CET)
From: Hans Engren <h ns engren org>
Reply-To: linux-lvm sistina com
To: linux-lvm sistina com
Subject: [linux-lvm] Weird corruption of volume group configuration with
    LVM.
Resent-Date: Thu, 8 Feb 2001 09:12:21 +0100 (CET)
Resent-From: Hans Engren <hoe engren org>
Resent-To: Hans Engren <hoe engren org>
Resent-Subject: [linux-lvm] Weird corruption of volume group configuration
 with LVM.


Hi,

After rebooting my system a couple of days ago, I ran into a real strange
problem with the volume group "mw1" I am using.

Doing a vgscan locates no volume groups what so ever.
After doing a `vgcfgrestore -f /etc/lvmconf/mw1.conf -n mw1 /dev/<DISK>`,
I am able to do a `vgchange -a y`, and actually mount /dev/mw1/ftpd.

Doing a vgscan at this point locates no volume groups either.

This means that I can't mount the volume group automatically during
bootup, neither can I use any of the vg* commands in the system. I am just
able to use the volume group as it is, for data storage, without any
possibility to use the LVM features.

I tried to reboot the system, used vgcfgrestore to re-add the
configuration to the disks, and do a vgcfgbackup after that. It produces
the following (with -v):

vgcfgbackup -- finding all volume groups
vgcfgbackup -- volume group found: mw1 
vgcfgbackup -- locking logical volume manager
vgcfgbackup -- checking volume group name "mw1"
vgcfgbackup -- checking existence of volume group "mw1"
vgcfgbackup -- ERROR: volume group "mw1" has an invalid number of physical volumes
vgcfgbackup -- ERROR "vg_cfgbackup(): vg_check_exist" backing up volume group "mw1"

Output from pvscan:
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sda"  is in no VG  [4 GB]
pvscan -- inactive PV "/dev/sdb1" of VG "mw1" [3.99 GB / 0 free]
pvscan -- inactive PV "/dev/sdc"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sde"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdf"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdg"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdh"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdi"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdj"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdk"  of VG "mw1" [8.43 GB / 0 free]
pvscan -- inactive PV "/dev/sdl"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdm"  of VG "mw1" [8.43 GB / 0 free]
pvscan -- inactive PV "/dev/sdn"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdo"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdp"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdq"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdr"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sds"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdt"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdu"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdv"  of VG "mw1" [4 GB / 0 free]
pvscan -- inactive PV "/dev/sdw"  of VG "mw1" [4 GB / 264 MB free]
pvscan -- inactive PV "/dev/hdb1" of VG "mw1" [57.24 GB / 0 free]
pvscan -- inactive PV "/dev/hdc1" of VG "mw1" [16.11 GB / 0 free]
pvscan -- inactive PV "/dev/hdd1" of VG "mw1" [16.11 GB / 0 free]
pvscan -- total: 25 [186.3 GB] / in use: 24 [182.3 GB] / in no VG: 1 [4 GB]

I hope you see what my problem is, otherwise, tell me what output that
would be needed, and I'll provide it.

Thank you.

 -- Hans.

_______________________________________________
linux-lvm mailing list
linux-lvm sistina com
http://lists.sistina.com/mailman/listinfo/linux-lvm




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