Bug 906987 - kernel-3.7 does not find root with LVM
Summary: kernel-3.7 does not find root with LVM
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-02 10:53 UTC by Jim McElwaine
Modified: 2013-03-27 19:11 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-27 19:11:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
/boot/grub2/grub.cfg (5.33 KB, text/plain)
2013-02-02 12:22 UTC, Jim McElwaine
no flags Details

Description Jim McElwaine 2013-02-02 10:53:32 UTC
Description of problem:
kernel 3.6 correctly boot with root from LVM

Version-Release number of selected component (if applicable):

all recent kernels 3.7.x fail to boot and drop into dracut with a message that the LVM volume cannot be found 

in dracut doing 
ls /dev/mapper
shows no logical volumes
 
and 
lvm lvscan 
lvm pvscan
lvm vgscan
commands show nothing
 

I've tried reinstalling grub2

grub2-install /dev/sda
[root@furano jnm11]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.7.4-204.fc18.x86_64
Found initrd image: /boot/initramfs-3.7.4-204.fc18.x86_64.img
Found linux image: /boot/vmlinuz-3.6.11-1.fc17.x86_64
Found initrd image: /boot/initramfs-3.6.11-1.fc17.x86_64.img
  Found duplicate PV VZwO7SPc4g4Tk40N9u3DyZ8DOabUWG1q: using /dev/mapper/TOSHIBA_MK4058GSX_696GT1JKTp2 not /dev/mapper/350000391d17828a8p2
done

when I am booted in to a 3.6 kernel I get
[root@furano jnm11]# lvm lvscan
  Found duplicate PV VZwO7SPc4g4Tk40N9u3DyZ8DOabUWG1q: using /dev/mapper/TOSHIBA_MK4058GSX_696GT1JKTp2 not /dev/mapper/350000391d17828a8p2
  ACTIVE            '/dev/VolGroup/lv_root' [366.60 GiB] inherit
  ACTIVE            '/dev/VolGroup/lv_swap' [5.81 GiB] inherit
[root@furano jnm11]# lvm pvscan
  Found duplicate PV VZwO7SPc4g4Tk40N9u3DyZ8DOabUWG1q: using /dev/mapper/TOSHIBA_MK4058GSX_696GT1JKTp2 not /dev/mapper/350000391d17828a8p2
  PV /dev/mapper/TOSHIBA_MK4058GSX_696GT1JKTp2   VG VolGroup   lvm2 [372.41 GiB / 0    free]
  Total: 1 [372.41 GiB] / in use: 1 [372.41 GiB] / in no VG: 0 [0   ]
[root@furano jnm11]# lvm vgscan
  Reading all physical volumes.  This may take a while...
  Found duplicate PV VZwO7SPc4g4Tk40N9u3DyZ8DOabUWG1q: using /dev/mapper/TOSHIBA_MK4058GSX_696GT1JKTp2 not /dev/mapper/350000391d17828a8p2
  Found volume group "VolGroup" using metadata type lvm2

Comment 1 Jim McElwaine 2013-02-02 12:22:40 UTC
Created attachment 691945 [details]
/boot/grub2/grub.cfg

[root@furano jnm11]# df -h
Filesystem                       Size  Used Avail Use% Mounted on
devtmpfs                         1.9G     0  1.9G   0% /dev
tmpfs                            1.9G   11M  1.9G   1% /dev/shm
tmpfs                            1.9G  4.4M  1.9G   1% /run
/dev/mapper/VolGroup-lv_root     361G  339G  3.6G  99% /
tmpfs                            1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs                            1.9G  1.5M  1.9G   1% /tmp
/dev/mapper/350000391d17828a8p1  194M   95M  100M  49% /boot

[root@furano jnm11]# ls -lth /dev/mapper/
total 0
lrwxrwxrwx 1 root root       7 Feb  2 10:27 TOSHIBA_MK4058GSX_696GT1JKTp2 -> ../dm-7
lrwxrwxrwx 1 root root       7 Feb  2 10:27 TOSHIBA_MK4058GSX_696GT1JKTp1 -> ../dm-6
lrwxrwxrwx 1 root root       7 Feb  2 10:27 TOSHIBA_MK4058GSX_696GT1JKT -> ../dm-5
lrwxrwxrwx 1 root root       7 Feb  2 10:27 350000391d17828a8p2 -> ../dm-2
lrwxrwxrwx 1 root root       7 Feb  2 10:27 350000391d17828a8p1 -> ../dm-1
lrwxrwxrwx 1 root root       7 Feb  2 10:27 VolGroup-lv_swap -> ../dm-4
lrwxrwxrwx 1 root root       7 Feb  2 10:27 350000391d17828a8 -> ../dm-0
lrwxrwxrwx 1 root root       7 Feb  2 10:27 VolGroup-lv_root -> ../dm-3
crw------- 1 root root 10, 236 Feb  2 10:27 control
[
^[[A^[[A[root@furano jnm11]# ls -lh /dev
total 0
crw-rw----  1 root video    10, 175 Feb  2 10:27 agpgart
crw-------  1 root root     10, 235 Feb  2 10:27 autofs
drwxr-xr-x  2 root root         400 Feb  2 10:27 block
drwxr-xr-x  2 root root          80 Feb  2 10:27 bsg
crw-------  1 root root     10, 234 Feb  2 10:30 btrfs-control
drwxr-xr-x  3 root root          60 Feb  2 10:27 bus
lrwxrwxrwx  1 root root           3 Feb  2 10:27 cdrom -> sr0
drwxr-xr-x  2 root root        3.4K Feb  2 10:30 char
crw-------  1 root root      5,   1 Feb  2 10:27 console
lrwxrwxrwx  1 root root          11 Feb  2 10:27 core -> /proc/kcore
drwxr-xr-x  4 root root         100 Feb  2 10:27 cpu
crw-------  1 root root     10,  62 Feb  2 10:27 cpu_dma_latency
drwxr-xr-x  4 root root          80 Feb  2 10:27 disk
brw-rw----  1 root disk    253,   0 Feb  2 10:27 dm-0
brw-rw----  1 root disk    253,   1 Feb  2 10:27 dm-1
brw-rw----  1 root disk    253,   2 Feb  2 10:27 dm-2
brw-rw----  1 root disk    253,   3 Feb  2 10:27 dm-3
brw-rw----  1 root disk    253,   4 Feb  2 10:27 dm-4
brw-rw----  1 root disk    253,   5 Feb  2 10:27 dm-5
brw-rw----  1 root disk    253,   6 Feb  2 10:27 dm-6
brw-rw----  1 root disk    253,   7 Feb  2 10:27 dm-7
drwxr-xr-x  2 root root          80 Feb  2 10:27 dri
crw-rw-rw-  1 root video    29,   0 Feb  2 10:27 fb0
lrwxrwxrwx  1 root root          13 Feb  2 10:27 fd -> /proc/self/fd
crw-rw-rw-  1 root root      1,   7 Feb  2 10:27 full
crw-rw-rw-  1 root root     10, 229 Feb  2 10:28 fuse
crw-------  1 root root    248,   0 Feb  2 10:27 fw0
srwxrwxrwx  1 root root           0 Feb  2 10:27 gpmctl
crw-------  1 root root     10, 228 Feb  2 10:27 hpet
drwxr-xr-x  3 root root           0 Feb  2 10:27 hugepages
prw-------  1 root root           0 Feb  2 10:27 initctl
drwxr-xr-x  4 root root         340 Feb  2 10:27 input
crw-r--r--  1 root root      1,  11 Feb  2 10:27 kmsg
srw-rw-rw-  1 root root           0 Feb  2 10:27 log
brw-rw----  1 root disk      7,   0 Feb  2 10:27 loop0
brw-rw----  1 root disk      7,   1 Feb  2 10:27 loop1
brw-rw----  1 root disk      7,   2 Feb  2 10:27 loop2
brw-rw----  1 root disk      7,   3 Feb  2 10:27 loop3
brw-rw----  1 root disk      7,   4 Feb  2 10:27 loop4
brw-rw----  1 root disk      7,   5 Feb  2 10:27 loop5
brw-rw----  1 root disk      7,   6 Feb  2 10:27 loop6
brw-rw----  1 root disk      7,   7 Feb  2 10:27 loop7
crw-------  1 root root     10, 237 Feb  2 10:27 loop-control
crw-rw----  1 root lp        6,   0 Feb  2 10:27 lp0
crw-rw----  1 root lp        6,   1 Feb  2 10:27 lp1
crw-rw----  1 root lp        6,   2 Feb  2 10:27 lp2
crw-rw----  1 root lp        6,   3 Feb  2 10:27 lp3
drwxr-xr-x  2 root root         220 Feb  2 10:27 mapper
crw-------  1 root root     10, 227 Feb  2 10:27 mcelog
crw-------  1 root root    247,   0 Feb  2 10:27 media0
crw-r-----  1 root kmem      1,   1 Feb  2 10:27 mem
drwxrwxrwt  2 root root          40 Feb  2 10:27 mqueue
drwxr-xr-x  2 root root          60 Feb  2 10:27 net
crw-------  1 root root     10,  61 Feb  2 10:27 network_latency
crw-------  1 root root     10,  60 Feb  2 10:27 network_throughput
crw-rw-rw-  1 root root      1,   3 Feb  2 10:27 null
crw-------  1 root root     10, 144 Feb  2 10:27 nvram
crw-------  1 root root      1,  12 Feb  2 10:27 oldmem
crw-r-----  1 root kmem      1,   4 Feb  2 10:27 port
crw-------  1 root root    108,   0 Feb  2 10:27 ppp
crw-rw-rw-  1 root tty       5,   2 Feb  2 13:22 ptmx
drwxr-xr-x  2 root root           0 Feb  2 10:27 pts
crw-rw-rw-  1 root root      1,   8 Feb  2 10:27 random
drwxr-xr-x  2 root root          60 Feb  2 10:27 raw
crw-rw-r--+ 1 root root     10,  59 Feb  2 10:27 rfkill
lrwxrwxrwx  1 root root           4 Feb  2 10:27 rtc -> rtc0
crw-r--r--  1 root root    254,   0 Feb  2 10:27 rtc0
brw-rw----  1 root disk      8,   0 Feb  2 11:28 sda
crw-rw----  1 root disk     21,   0 Feb  2 10:27 sg0
crw-rw----+ 1 root cdrom    21,   1 Feb  2 10:27 sg1
drwxrwxrwt  2 root root          80 Feb  2 13:22 shm
crw-------  1 root root     10, 231 Feb  2 10:27 snapshot
drwxr-xr-x  3 root root         220 Feb  2 10:27 snd
brw-rw----+ 1 root cdrom    11,   0 Feb  2 10:27 sr0
lrwxrwxrwx  1 root root          15 Feb  2 10:27 stderr -> /proc/self/fd/2
lrwxrwxrwx  1 root root          15 Feb  2 10:27 stdin -> /proc/self/fd/0
lrwxrwxrwx  1 root root          15 Feb  2 10:27 stdout -> /proc/self/fd/1
crw-rw-rw-  1 root tty       5,   0 Feb  2 10:27 tty
crw-rw----  1 root tty       4,   0 Feb  2 10:27 tty0
crw-rw----  1 root tty       4,   1 Feb  2 10:27 tty1
crw--w----  1 root tty       4,  10 Feb  2 10:27 tty10
crw--w----  1 root tty       4,  11 Feb  2 10:27 tty11
crw--w----  1 root tty       4,  12 Feb  2 10:27 tty12
crw--w----  1 root tty       4,  13 Feb  2 10:27 tty13
crw--w----  1 root tty       4,  14 Feb  2 10:27 tty14
crw--w----  1 root tty       4,  15 Feb  2 10:27 tty15
crw--w----  1 root tty       4,  16 Feb  2 10:27 tty16
crw--w----  1 root tty       4,  17 Feb  2 10:27 tty17
crw--w----  1 root tty       4,  18 Feb  2 10:27 tty18
crw--w----  1 root tty       4,  19 Feb  2 10:27 tty19
crw-rw----  1 root tty       4,   2 Feb  2 10:29 tty2
crw--w----  1 root tty       4,  20 Feb  2 10:27 tty20
crw--w----  1 root tty       4,  21 Feb  2 10:27 tty21
crw--w----  1 root tty       4,  22 Feb  2 10:27 tty22
crw--w----  1 root tty       4,  23 Feb  2 10:27 tty23
crw--w----  1 root tty       4,  24 Feb  2 10:27 tty24
crw--w----  1 root tty       4,  25 Feb  2 10:27 tty25
crw--w----  1 root tty       4,  26 Feb  2 10:27 tty26
crw--w----  1 root tty       4,  27 Feb  2 10:27 tty27
crw--w----  1 root tty       4,  28 Feb  2 10:27 tty28
crw--w----  1 root tty       4,  29 Feb  2 10:27 tty29
crw-rw----  1 root tty       4,   3 Feb  2 10:27 tty3
crw--w----  1 root tty       4,  30 Feb  2 10:27 tty30
crw--w----  1 root tty       4,  31 Feb  2 10:27 tty31
crw--w----  1 root tty       4,  32 Feb  2 10:27 tty32
crw--w----  1 root tty       4,  33 Feb  2 10:27 tty33
crw--w----  1 root tty       4,  34 Feb  2 10:27 tty34
crw--w----  1 root tty       4,  35 Feb  2 10:27 tty35
crw--w----  1 root tty       4,  36 Feb  2 10:27 tty36
crw--w----  1 root tty       4,  37 Feb  2 10:27 tty37
crw--w----  1 root tty       4,  38 Feb  2 10:27 tty38
crw--w----  1 root tty       4,  39 Feb  2 10:27 tty39
crw-rw----  1 root tty       4,   4 Feb  2 10:27 tty4
crw--w----  1 root tty       4,  40 Feb  2 10:27 tty40
crw--w----  1 root tty       4,  41 Feb  2 10:27 tty41
crw--w----  1 root tty       4,  42 Feb  2 10:27 tty42
crw--w----  1 root tty       4,  43 Feb  2 10:27 tty43
crw--w----  1 root tty       4,  44 Feb  2 10:27 tty44
crw--w----  1 root tty       4,  45 Feb  2 10:27 tty45
crw--w----  1 root tty       4,  46 Feb  2 10:27 tty46
crw--w----  1 root tty       4,  47 Feb  2 10:27 tty47
crw--w----  1 root tty       4,  48 Feb  2 10:27 tty48
crw--w----  1 root tty       4,  49 Feb  2 10:27 tty49
crw-rw----  1 root tty       4,   5 Feb  2 10:27 tty5
crw--w----  1 root tty       4,  50 Feb  2 10:27 tty50
crw--w----  1 root tty       4,  51 Feb  2 10:27 tty51
crw--w----  1 root tty       4,  52 Feb  2 10:27 tty52
crw--w----  1 root tty       4,  53 Feb  2 10:27 tty53
crw--w----  1 root tty       4,  54 Feb  2 10:27 tty54
crw--w----  1 root tty       4,  55 Feb  2 10:27 tty55
crw--w----  1 root tty       4,  56 Feb  2 10:27 tty56
crw--w----  1 root tty       4,  57 Feb  2 10:27 tty57
crw--w----  1 root tty       4,  58 Feb  2 10:27 tty58
crw--w----  1 root tty       4,  59 Feb  2 10:27 tty59
crw-rw----  1 root tty       4,   6 Feb  2 10:27 tty6
crw--w----  1 root tty       4,  60 Feb  2 10:27 tty60
crw--w----  1 root tty       4,  61 Feb  2 10:27 tty61
crw--w----  1 root tty       4,  62 Feb  2 10:27 tty62
crw--w----  1 root tty       4,  63 Feb  2 10:27 tty63
crw-rw----  1 root tty       4,   7 Feb  2 10:27 tty7
crw-rw----  1 root tty       4,   8 Feb  2 10:27 tty8
crw-rw----  1 root tty       4,   9 Feb  2 10:27 tty9
crw-rw----  1 root dialout   4,  64 Feb  2 10:27 ttyS0
crw-rw----  1 root dialout   4,  65 Feb  2 10:27 ttyS1
crw-rw----  1 root dialout   4,  66 Feb  2 10:27 ttyS2
crw-rw----  1 root dialout   4,  67 Feb  2 10:27 ttyS3
crw-------  1 root root     10, 223 Feb  2 10:27 uinput
crw-rw-rw-  1 root root      1,   9 Feb  2 10:27 urandom
crw-------  1 root root    251,   0 Feb  2 10:27 usbmon0
crw-------  1 root root    251,   1 Feb  2 10:27 usbmon1
crw-------  1 root root    251,   2 Feb  2 10:27 usbmon2
crw-------  1 root root    251,   3 Feb  2 10:27 usbmon3
crw-------  1 root root    251,   4 Feb  2 10:27 usbmon4
crw-------  1 root root    251,   5 Feb  2 10:27 usbmon5
crw-------  1 root root    251,   6 Feb  2 10:27 usbmon6
crw-------  1 root root    251,   7 Feb  2 10:27 usbmon7
crw-------  1 root root    251,   8 Feb  2 10:27 usbmon8
drwxr-xr-x  4 root root          80 Feb  2 10:27 v4l
crw-rw----  1 root tty       7,   0 Feb  2 10:27 vcs
crw-rw----  1 root tty       7,   1 Feb  2 10:27 vcs1
crw-rw----  1 root tty       7,   2 Feb  2 10:27 vcs2
crw-rw----  1 root tty       7,   3 Feb  2 10:27 vcs3
crw-rw----  1 root tty       7,   4 Feb  2 10:27 vcs4
crw-rw----  1 root tty       7,   5 Feb  2 10:27 vcs5
crw-rw----  1 root tty       7,   6 Feb  2 10:27 vcs6
crw-rw----  1 root tty       7, 128 Feb  2 10:27 vcsa
crw-rw----  1 root tty       7, 129 Feb  2 10:27 vcsa1
crw-rw----  1 root tty       7, 130 Feb  2 10:27 vcsa2
crw-rw----  1 root tty       7, 131 Feb  2 10:27 vcsa3
crw-rw----  1 root tty       7, 132 Feb  2 10:27 vcsa4
crw-rw----  1 root tty       7, 133 Feb  2 10:27 vcsa5
crw-rw----  1 root tty       7, 134 Feb  2 10:27 vcsa6
crw-------  1 root root     10,  63 Feb  2 10:27 vga_arbiter
crw-------  1 root root     10, 238 Feb  2 10:27 vhost-net
crw-rw----+ 1 root video    81,   0 Feb  2 10:27 video0
drwxr-xr-x  2 root root          80 Feb  2 10:27 VolGroup
crw-rw-rw-  1 root root      1,   5 Feb  2 10:27 zero

Comment 2 Justin M. Forbes 2013-03-13 16:58:16 UTC
Are the 3.8.2 kernels working in this regard?

Comment 3 Justin M. Forbes 2013-03-27 19:11:09 UTC
Closing this bug as it has been more than 2 weeks without a response. I assume the issue is no longer occurring. Please feel free to reopen if this is not the case.


Note You need to log in before you can comment on or make changes to this bug.