Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
[opensuse] Unable to find root logical volume after OS update
Hello,

After routine update with "zypper update" OpenSuse 12.1 is unable to
boot. When booting it fails on error that "root logical volume not
found". I have tried to boot opensuse rescue cd and from the following
outputs I can see that root pv, vg and of course lvl has completely
dissapeared from system:

Rescue:~ # pvscan -vv
Setting global/locking_type to 1
global/wait_for_locks not found in config: defaulting to 1
File-based locking selected.
Setting global/locking_dir to /var/lock/lvm
Locking /var/lock/lvm/P_global WB
Wiping cache of LVM-capable devices
Wiping internal VG cache
Walking through all physical volumes
/dev/loop0: size is 53224 sectors
/dev/loop0: size is 53224 sectors
/dev/loop0: No label detected
/dev/sda: size is 62914560 sectors
/dev/sda: size is 62914560 sectors
/dev/sda: No label detected
/dev/loop1: size is 6056 sectors
/dev/loop1: size is 6056 sectors
/dev/loop1: No label detected
/dev/loop2: size is 50720 sectors
/dev/loop2: size is 50720 sectors
/dev/loop2: No label detected
/dev/loop3: size is 21344 sectors
/dev/loop3: size is 21344 sectors
/dev/loop3: No label detected
/dev/loop4: size is 0 sectors
/dev/loop5: size is 0 sectors
/dev/loop6: size is 0 sectors
/dev/loop7: size is 0 sectors
/dev/loop8: size is 0 sectors
/dev/loop9: size is 0 sectors
/dev/loop10: size is 0 sectors
/dev/loop11: size is 0 sectors
/dev/loop12: size is 0 sectors
/dev/loop13: size is 0 sectors
/dev/loop14: size is 0 sectors
/dev/loop15: size is 0 sectors
/dev/loop16: size is 0 sectors
/dev/sdb: size is 62914560 sectors
/dev/sdb: size is 62914560 sectors
/dev/sdb: lvm2 label detected
/dev/loop17: size is 0 sectors
/dev/loop18: size is 0 sectors
/dev/loop19: size is 0 sectors
/dev/loop20: size is 0 sectors
/dev/loop21: size is 0 sectors
/dev/loop22: size is 0 sectors
/dev/loop23: size is 0 sectors
/dev/loop24: size is 0 sectors
/dev/loop25: size is 0 sectors
/dev/loop26: size is 0 sectors
/dev/loop27: size is 0 sectors
/dev/loop28: size is 0 sectors
/dev/loop29: size is 0 sectors
/dev/loop30: size is 0 sectors
/dev/loop31: size is 0 sectors
/dev/loop32: size is 0 sectors
/dev/sdc: size is 2097152 sectors
/dev/loop33: size is 0 sectors
/dev/sdc1: size is 2095104 sectors
/dev/sdc1: size is 2095104 sectors
/dev/sdc1: No label detected
/dev/loop34: size is 0 sectors
/dev/loop35: size is 0 sectors
/dev/loop36: size is 0 sectors
/dev/loop37: size is 0 sectors
/dev/loop38: size is 0 sectors
/dev/loop39: size is 0 sectors
/dev/loop40: size is 0 sectors
/dev/loop41: size is 0 sectors
/dev/loop42: size is 0 sectors
/dev/loop43: size is 0 sectors
/dev/loop44: size is 0 sectors
/dev/loop45: size is 0 sectors
/dev/loop46: size is 0 sectors
/dev/loop47: size is 0 sectors
/dev/loop48: size is 0 sectors
/dev/sdd: size is 409600 sectors
/dev/loop49: size is 0 sectors
/dev/sdd1: size is 407552 sectors
/dev/sdd1: size is 407552 sectors
/dev/sdd1: No label detected
/dev/loop50: size is 0 sectors
/dev/loop51: size is 0 sectors
/dev/loop52: size is 0 sectors
/dev/loop53: size is 0 sectors
/dev/loop54: size is 0 sectors
/dev/loop55: size is 0 sectors
/dev/loop56: size is 0 sectors
/dev/loop57: size is 0 sectors
/dev/loop58: size is 0 sectors
/dev/loop59: size is 0 sectors
/dev/loop60: size is 0 sectors
/dev/loop61: size is 0 sectors
/dev/loop62: size is 0 sectors
/dev/loop63: size is 0 sectors
PV /dev/sdb VG vg_home lvm2 [29.99 GiB / 0 free]
Total: 1 [29.99 GiB] / in use: 1 [29.99 GiB] / in no VG: 0 [0 ]
Unlocking /var/lock/lvm/P_global
Rescue:~ #

Rescue:~ # vgscan -vv
Setting global/locking_type to 1
global/wait_for_locks not found in config: defaulting to 1
File-based locking selected.
Setting global/locking_dir to /var/lock/lvm
Locking /var/lock/lvm/P_global WB
Wiping cache of LVM-capable devices
Wiping internal VG cache
Reading all physical volumes. This may take a while...
Finding all volume groups
/dev/loop0: size is 53224 sectors
/dev/loop0: size is 53224 sectors
/dev/loop0: No label detected
/dev/sda: size is 62914560 sectors
/dev/sda: size is 62914560 sectors
/dev/sda: No label detected
/dev/loop1: size is 6056 sectors
/dev/loop1: size is 6056 sectors
/dev/loop1: No label detected
/dev/loop2: size is 50720 sectors
/dev/loop2: size is 50720 sectors
/dev/loop2: No label detected
/dev/loop3: size is 21344 sectors
/dev/loop3: size is 21344 sectors
/dev/loop3: No label detected
/dev/loop4: size is 0 sectors
/dev/loop5: size is 0 sectors
/dev/loop6: size is 0 sectors
/dev/loop7: size is 0 sectors
/dev/loop8: size is 0 sectors
/dev/loop9: size is 0 sectors
/dev/loop10: size is 0 sectors
/dev/loop11: size is 0 sectors
/dev/loop12: size is 0 sectors
/dev/loop13: size is 0 sectors
/dev/loop14: size is 0 sectors
/dev/loop15: size is 0 sectors
/dev/loop16: size is 0 sectors
/dev/sdb: size is 62914560 sectors
/dev/sdb: size is 62914560 sectors
/dev/sdb: lvm2 label detected
/dev/loop17: size is 0 sectors
/dev/loop18: size is 0 sectors
/dev/loop19: size is 0 sectors
/dev/loop20: size is 0 sectors
/dev/loop21: size is 0 sectors
/dev/loop22: size is 0 sectors
/dev/loop23: size is 0 sectors
/dev/loop24: size is 0 sectors
/dev/loop25: size is 0 sectors
/dev/loop26: size is 0 sectors
/dev/loop27: size is 0 sectors
/dev/loop28: size is 0 sectors
/dev/loop29: size is 0 sectors
/dev/loop30: size is 0 sectors
/dev/loop31: size is 0 sectors
/dev/loop32: size is 0 sectors
/dev/sdc: size is 2097152 sectors
/dev/loop33: size is 0 sectors
/dev/sdc1: size is 2095104 sectors
/dev/sdc1: size is 2095104 sectors
/dev/sdc1: No label detected
/dev/loop34: size is 0 sectors
/dev/loop35: size is 0 sectors
/dev/loop36: size is 0 sectors
/dev/loop37: size is 0 sectors
/dev/loop38: size is 0 sectors
/dev/loop39: size is 0 sectors
/dev/loop40: size is 0 sectors
/dev/loop41: size is 0 sectors
/dev/loop42: size is 0 sectors
/dev/loop43: size is 0 sectors
/dev/loop44: size is 0 sectors
/dev/loop45: size is 0 sectors
/dev/loop46: size is 0 sectors
/dev/loop47: size is 0 sectors
/dev/loop48: size is 0 sectors
/dev/sdd: size is 409600 sectors
/dev/loop49: size is 0 sectors
/dev/sdd1: size is 407552 sectors
/dev/sdd1: size is 407552 sectors
/dev/sdd1: No label detected
/dev/loop50: size is 0 sectors
/dev/loop51: size is 0 sectors
/dev/loop52: size is 0 sectors
/dev/loop53: size is 0 sectors
/dev/loop54: size is 0 sectors
/dev/loop55: size is 0 sectors
/dev/loop56: size is 0 sectors
/dev/loop57: size is 0 sectors
/dev/loop58: size is 0 sectors
/dev/loop59: size is 0 sectors
/dev/loop60: size is 0 sectors
/dev/loop61: size is 0 sectors
/dev/loop62: size is 0 sectors
/dev/loop63: size is 0 sectors
Finding volume group "vg_home"
Locking /var/lock/lvm/V_vg_home RB
Found volume group "vg_home" using metadata type lvm2
Unlocking /var/lock/lvm/V_vg_home
Unlocking /var/lock/lvm/P_global
Rescue:~ #

Rescue:~ # lvscan -vv
Setting global/locking_type to 1
global/wait_for_locks not found in config: defaulting to 1
File-based locking selected.
Setting global/locking_dir to /var/lock/lvm
Finding all logical volumes
/dev/loop0: No label detected
/dev/sda: No label detected
/dev/loop1: No label detected
/dev/loop2: No label detected
/dev/loop3: No label detected
/dev/sdb: lvm2 label detected
/dev/sdc1: No label detected
/dev/sdd1: No label detected
Locking /var/lock/lvm/V_vg_home RB
/dev/sdb: lvm2 label detected
inactive '/dev/vg_home/lvl_home' [29.99 GiB] inherit
Unlocking /var/lock/lvm/V_vg_home
Rescue:~ #

Rescue:~ # cat /proc/partitions
major minor #blocks name

7 0 26612 loop0
7 1 3028 loop1
7 2 25360 loop2
7 3 10672 loop3
8 0 31457280 sda
8 16 31457280 sdb
8 32 1048576 sdc
8 33 1047552 sdc1
8 48 204800 sdd
8 49 203776 sdd1
Rescue:~ #
Rescue:~ #
Rescue:~ # fdisk -l

Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders, total 62914560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System

Disk /dev/sdb: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders, total 62914560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 1073 MB, 1073741824 bytes
139 heads, 8 sectors/track, 1885 cylinders, total 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000ecb7

Device Boot Start End Blocks Id System
/dev/sdc1 2048 2097151 1047552 82 Linux swap / Solaris

Disk /dev/sdd: 209 MB, 209715200 bytes
127 heads, 37 sectors/track, 87 cylinders, total 409600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000647bf

Device Boot Start End Blocks Id System
/dev/sdd1 2048 409599 203776 83 Linux
Rescue:~ #

/dev/sdb -----> is my vg_home
/dev/sdc ------> is swap
/dev/sdd -------> is /boot partition

AND

/dev/sda ----> should be / partition ( vg_root )

Simply, after OS update and reboot, system is unable to boot again.
Before update everything has been fine. Do not update you system!!!
You can try to reproduce this problem by installing a new OpenSuse
12.1 installation for example in virtualbox and then let the system be
fully updated. I tried it 3 times, still the same problem.

Thank you for help. I think this can be bigger problem if the issue is
in some patch or misconfiguration........


Regards,

Karol Sebesta
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups