Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146180 - after upgrade to baselayout-1.12.4-r7 lvm2-2.02.06 udev-087, lvm2 can't export logical volumes
Summary: after upgrade to baselayout-1.12.4-r7 lvm2-2.02.06 udev-087, lvm2 can't expor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Highest blocker (vote)
Assignee: Eric Edgar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-03 13:24 UTC by Aben Siatris
Modified: 2006-09-04 09:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
system lvm2 log (lvm2.log,47.33 KB, text/plain)
2006-09-03 23:00 UTC, Aben Siatris
Details
vgscan.log (vgscan.log,79.20 KB, text/plain)
2006-09-03 23:01 UTC, Aben Siatris
Details
vgdisplay.log (vgdisplay.log,47.18 KB, text/plain)
2006-09-03 23:01 UTC, Aben Siatris
Details
lvscan.log (lvscan.log,40.18 KB, text/plain)
2006-09-03 23:01 UTC, Aben Siatris
Details
pvscan.log (pvscan.log,90.63 KB, text/plain)
2006-09-03 23:02 UTC, Aben Siatris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aben Siatris 2006-09-03 13:24:22 UTC
system can't boot and mount logical volumes of volume group after upgrade.
I have /usr and /var partition as logical volumes, so my options are very limited.

vgdisplay don't show me any logical volume
vgscan found volume group vg0
in vg0 metadata is all configurations about logical volumes saved correctly. I have backup of metadata too
vgscan read correctly metadata from physical volumes
#label/label.c:158  /dev/sda12: lvm2 label detected
#cache/lvmcache.c:665   lvmcache: /dev/sda12: VG vg0 no longer exported
#format_text/format-text.c:954    /dev/sda12: Fiybd netadat at 6656 suze 6372 for vg0 (blah blah blah)
#cache/lvmcache.c:665   lvmcache: /dev/sda12: VG vg0 now exported
...
#metadata/pv_manip.c:241   /dev/sda8 0:    0  680: downloads(0:0)
...
#metadata/pv_manip.c:241   /dev/sda6 2: 2201  183: NULL(0:0)
...

$dmsetup ls
No devices found

$vgdisplay
VG Name vg0
System ID
Format lvm2
Metadata Areas 8
Metadata Swquence No 270
VG Access read/write
VG Status exported/resizable
MAX LV 255
Cur LV 6
Open LV 0
Max PV 255
Cur PV 8
Act PV 8
....

$lvdisplay
...
Volume group "vg0" is exported
...
(nothing about logical volumes)
Comment 1 Aben Siatris 2006-09-03 23:00:46 UTC
Created attachment 95912 [details]
system lvm2 log
Comment 2 Aben Siatris 2006-09-03 23:01:07 UTC
Created attachment 95913 [details]
vgscan.log
Comment 3 Aben Siatris 2006-09-03 23:01:25 UTC
Created attachment 95915 [details]
vgdisplay.log
Comment 4 Aben Siatris 2006-09-03 23:01:46 UTC
Created attachment 95916 [details]
lvscan.log
Comment 5 Aben Siatris 2006-09-03 23:02:07 UTC
Created attachment 95917 [details]
pvscan.log
Comment 6 Aben Siatris 2006-09-04 05:27:23 UTC
kernel sources is ck-sources-2.6.17_p1-r2
Comment 7 Aben Siatris 2006-09-04 09:19:22 UTC
problem solved by:
$vgimport -a