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

LVM gone after dist-upgrade



Hi all,
I used to have a VG (data_vg) spanning 3 IDE partitions with a single LV (volume1) on it. Yesterday I did a "dist-upgrade" on my testing/unstable system. After this, the files /etc/lvmtab and /etc/lvmtab.d/* have vanished and a "pvscan" only brings "no valid physical volumes found". The /etc/lvmconf/ directory is still there and if I do:
vgcfgrestore -ll -n data_vg -f /etc/lvmconf/data_vg.conf
I see output (attached) which seems to match the LVM configuration before the update. But for 2 PVs I get "PV Status: NOT available" and only for one I get "PV Status: available"

Any ideas what happened and how to fix it??

Thnx -mb

---begin output of vgcfgrestore
media:/etc# vgcfgrestore -ll -n data_vg -f /etc/lvmconf/data_vg.conf
--- Volume group ---
VG Name               data_vg
VG Access             read/write
VG Status             NOT available/resizable
VG #                  0
MAX LV                256
Cur LV                1
Open LV               0
MAX LV Size           2 TB
Max PV                256
Cur PV                3
Act PV                3
VG Size               190.72 GB
PE Size               32 MB
Total PE              6103
Alloc PE / Size       6080 / 190 GB
Free  PE / Size       23 / 736 MB
VG UUID               x5hH6s-bNuS-Pa7o-Uj6W-BqYC-u29i-0fz4Xm

--- Logical volume ---
LV Name                /dev/data_vg/volume1
VG Name                data_vg
LV Write Access        read/write
LV Status              NOT available
LV #                   1
# open                 0
LV Size                190 GB
Current LE             6080
Allocated LE           6080
Allocation             next free
Read ahead sectors     1024
Block device           58:0


--- Physical volume ---
PV Name               /dev/hdd1
VG Name               data_vg
PV Size 57.25 GB [120064833 secs] / NOT usable 32.19 MB [LVM: 135 KB]
PV#                   1
PV Status             NOT available
Allocatable           yes (but full)
Cur LV                1
PE Size (KByte)       32768
Total PE              1831
Free PE               0
Allocated PE          1831
PV UUID               3ezu6S-jU5k-A2om-gbEv-pevH-w4v7-JJF100

--- Physical volume ---
PV Name               /dev/hde1
VG Name               data_vg
PV Size 76.34 GB [160086465 secs] / NOT usable 32.19 MB [LVM: 137 KB]
PV#                   2
PV Status             NOT available
Allocatable           yes (but full)
Cur LV                1
PE Size (KByte)       32768
Total PE              2441
Free PE               0
Allocated PE          2441
PV UUID               1XfyvK-4JPB-A8c0-y6E3-4dqy-0bRe-HP0qpX

--- Physical volume ---
PV Name               /dev/hdf1
VG Name               data_vg
PV Size 57.27 GB [120103137 secs] / NOT usable 32.19 MB [LVM: 135 KB]
PV#                   3
PV Status             available
Allocatable           yes
Cur LV                1
PE Size (KByte)       32768
Total PE              1831
Free PE               23
Allocated PE          1808
PV UUID               GD3nUU-yBf9-fjlT-LVvm-6WNZ-K2p0-6rebGl
---end output of vgcfgrestore




Reply to: