Bug 754190

Summary: F16 - dracut warning no root device found - boot halts
Product: [Fedora] Fedora Reporter: Tony Camuso <tcamuso>
Component: dracutAssignee: dracut-maint
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 16CC: dracut-maint, harald, jonathan, nitishproxy, sbjmoore, slukasik, vezza
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-13 18:03:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
/etc/default/grub
none
/boot/grub2/grub.cfg
none
/etc/fstab
none
# ls /dev/mapper
none
# ls /dev/vg_hpoctane01
none
# pvdisplay
none
# lvdisplay
none
# blkid none

Description Tony Camuso 2011-11-15 16:36:40 UTC
Created attachment 533794 [details]
/etc/default/grub

Description of problem:

I recently upgraded a DL785 G6 from F14 x86_64 to F16 x86_64 using the
preupgrade procedure. 

However, after completing what appeared to be a successful upgrade to F16,
reboot after install procuces the following error and booting halts

    dracut warning no root device vg_hpoctane01-lv_root found

I've attached /etc/fstab, /etc/default/grub and /boot/grub2/grub.cfg

All the LVM and UUID information appears consistent.

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


How reproducible:

100%

Steps to Reproduce:
1. Use preupgrade to upgrade to F16
2. Reboot
3.
  
Actual results:
Boot hang

Expected results:
Successful boot

Additional info:
I have successfully completed upgrades to F16 on two VM guests, one a KVM guest on Linux and the other a Vbox guest on Windows.

Comment 1 Tony Camuso 2011-11-15 16:37:38 UTC
Created attachment 533795 [details]
/boot/grub2/grub.cfg

Comment 2 Tony Camuso 2011-11-15 16:39:46 UTC
Created attachment 533796 [details]
/etc/fstab

Comment 3 Tony Camuso 2011-11-15 16:42:53 UTC
Created attachment 533799 [details]
# ls /dev/mapper

Comment 4 Tony Camuso 2011-11-15 16:43:28 UTC
Created attachment 533800 [details]
# ls /dev/vg_hpoctane01

Comment 5 Tony Camuso 2011-11-15 16:46:44 UTC
Created attachment 533801 [details]
# pvdisplay

Comment 6 Tony Camuso 2011-11-15 16:47:27 UTC
Created attachment 533802 [details]
# lvdisplay

Comment 7 Tony Camuso 2011-11-15 16:47:54 UTC
Created attachment 533803 [details]
# blkid

Comment 8 Harald Hoyer 2011-11-15 17:30:06 UTC
Please follow:
http://people.redhat.com/harald/dracut.html#id316791

Comment 9 Tony Camuso 2011-11-15 18:10:51 UTC
Boot attempts drop me into the dracut shell. I can't seem to access any of these files from there, so I booted the install DVD in rescue mode, then chroot /mnt/sysimage in order to access this information.

dmesg contained information from booting the install dvd, so I had to retrieve some of the requested information from /var/log/messages

Command line:
Kernel command line: ro root=/dev/mapper/vg_hpoctane01-lv_root rd_LVM_LV=vg_hpoctane01/lv_root rd_LVM_LV=vg_hpoctane01/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us

# dmsetup ls --tree
vg_hpoctane01-lv_home (253:2)
 \u251c\u2500 (105:2)
 \u2514\u2500 (104:1)
vg_hpoctane01-lv_swap (253:3)
 \u2514\u2500 (105:2)
vg_hpoctane01-lv_root (253:1)
 \u2514\u2500 (105:2)
live-rw (253:0)
 \u251c\u2500 (7:2)
 \u2514\u2500 (7:1)

# grep dracut /var/log/messages
Nov 14 21:02:25 hp-octane-01 kernel: [    5.160864] dracut: dracut-006-6.fc14
Nov 14 21:02:25 hp-octane-01 kernel: [    5.170688] dracut: rd_NO_LUKS: removing cryptoluks activation
Nov 14 21:02:25 hp-octane-01 kernel: [    5.611227] dracut: Starting plymouth daemon
Nov 14 21:02:25 hp-octane-01 kernel: [    5.696859] dracut: rd_NO_DM: removing DM RAID activation
Nov 14 21:02:25 hp-octane-01 kernel: [    5.698311] dracut: rd_NO_MD: removing MD RAID activation
Nov 14 21:02:25 hp-octane-01 kernel: [   13.833090] dracut: Scanning devices  for LVM logical volumes vg_hpoctane01/lv_root vg_hpoctane01/lv_swap 
Nov 14 21:02:25 hp-octane-01 kernel: [   13.856448] dracut: inactive '/dev/vg_hpoctane01/lv_root' [50.00 GiB] inherit
Nov 14 21:02:25 hp-octane-01 kernel: [   13.860305] dracut: inactive '/dev/vg_hpoctane01/lv_swap' [64.00 GiB] inherit
Nov 14 21:02:25 hp-octane-01 kernel: [   13.864015] dracut: inactive '/dev/vg_hpoctane01/lv_home' [910.50 GiB] inherit
Nov 14 21:02:25 hp-octane-01 kernel: [   14.068027] dracut: Mounted root filesystem /dev/mapper/vg_hpoctane01-lv_root
Nov 14 21:02:25 hp-octane-01 kernel: [   14.125734] dracut: Loading SELinux policy
Nov 14 21:02:25 hp-octane-01 kernel: [   14.322449] dracut: /sbin/load_policy: Can't load policy: No such file or directory
Nov 14 21:02:25 hp-octane-01 kernel: [   14.541223] dracut: Switching root

# cat fstab

#
# /etc/fstab
# Created by anaconda on Thu Oct 21 14:43:02 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_hpoctane01-lv_root /                       ext4    defaults        1 1
UUID=7e12217c-db53-4985-b64e-24b6b188bf83 /boot                   ext4    defaults        1 2
/dev/mapper/vg_hpoctane01-lv_home /home                   ext4    defaults        1 2
/dev/mapper/vg_hpoctane01-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
curly.devel.redhat.com:/vol/engineering/devarchive/redhat /mnt/curly/redhat nfs defaults 0 0

Comment 10 Tony Camuso 2011-11-15 18:15:20 UTC
# pvdisplay
  --- Physical volume ---
  PV Name               /dev/cciss/c0d0p1
  VG Name               vg_hpoctane01
  PV Size               478.34 GiB / not usable 32.00 MiB
  Allocatable           yes (but full)
  PE Size               32.00 MiB
  Total PE              15306
  Free PE               0
  Allocated PE          15306
  PV UUID               7hX7Cs-FIea-OkEB-tus6-zmj9-9pJV-BmpJNm
   
  --- Physical volume ---
  PV Name               /dev/cciss/c1d0p2
  VG Name               vg_hpoctane01
  PV Size               546.19 GiB / not usable 3.00 MiB
  Allocatable           yes (but full)
  PE Size               32.00 MiB
  Total PE              17478
  Free PE               0
  Allocated PE          17478
  PV UUID               KW44y8-VWMc-8giu-sRNF-tsMa-VVg2-HIzPTH
   
# vgdisplay
 --- Volume group ---
  VG Name               vg_hpoctane01
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               1.00 TiB
  PE Size               32.00 MiB
  Total PE              32784
  Alloc PE / Size       32784 / 1.00 TiB
  Free  PE / Size       0 / 0   
  VG UUID               rOZnwQ-kqBl-WIg2-oxEc-ilWd-3gjQ-Bb0v7J
   
# lvdisplay
  --- Logical volume ---
  LV Name                /dev/vg_hpoctane01/lv_root
  VG Name                vg_hpoctane01
  LV UUID                1xZ8YI-PITi-1UmQ-6YAc-cAHG-QU3I-0J2rPW
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                50.00 GiB
  Current LE             1600
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
   
  --- Logical volume ---
  LV Name                /dev/vg_hpoctane01/lv_swap
  VG Name                vg_hpoctane01
  LV UUID                IUIyBS-8EI3-w65P-qV1W-Bl6X-Vi3t-o9BtgZ
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                64.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:3
   
  --- Logical volume ---
  LV Name                /dev/vg_hpoctane01/lv_home
  VG Name                vg_hpoctane01
  LV UUID                2fED8g-ljA1-hfNA-ItUI-4U5f-9ffj-dgTsTT
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                910.50 GiB
  Current LE             29136
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2

Comment 12 Stephen Moore 2012-01-27 10:11:33 UTC
I had the same error appear when I used a USB stick to boot Fedora 16. I happened on my atom powered netbook and my i5 powered PC. The fix for me was to run the program "Live usb Creator" as Administrator. I was using Windows 7 64 bit to create the bootable usb. Even though I was logged in as a account with administrative rights I needed to right click the program and select "run as administrator". Worked perfectly after that. Hope this helps or provides a clue.

Comment 13 Tony Camuso 2012-06-13 18:03:14 UTC
Closing this, since the problem has gone away with updates and does not seem to be present in F17.