Comment 104 for bug 527666

Revision history for this message
Mathieu Alorent (kumy) wrote : Re: Waiting for /some/partition [SM]

Upon debugging further, it seems mountall is waiting for /dev/HEBEX/WOO_BASE, and rightly so. After skipping with 'S' during boot, here is what we see:

root@malorent:~# lvscan
  ACTIVE '/dev/HEBEX/WOO_BASE' [1.00 GiB] inherit
  ACTIVE '/dev/HEBEX/WOO_LOG' [1.00 GiB] inherit
  ACTIVE '/dev/HEBEX/WOO' [5.00 GiB] inherit
  ACTIVE '/dev/HEBEX/WOO_PROG' [2.00 GiB] inherit
  ACTIVE '/dev/HEBEX/VAR_LOG' [3.00 GiB] inherit

root@malorent:~# ls -l /dev/mapper/
total 0
brw-rw---- 1 root disk 251, 4 Apr 23 14:57 HEBEX-VAR_LOG
brw-rw---- 1 root disk 251, 2 Apr 23 14:57 HEBEX-WOO
brw-rw---- 1 root disk 251, 1 Apr 23 14:57 HEBEX-WOO_LOG
brw-rw---- 1 root disk 251, 3 Apr 23 14:57 HEBEX-WOO_PROG
crw-rw---- 1 root root 10, 59 Apr 23 14:57 control

root@malorent:~# ls -l /dev/HEBEX/
total 0
lrwxrwxrwx 1 root root 23 Apr 23 14:57 VAR_LOG -> ../mapper/HEBEX-VAR_LOG
lrwxrwxrwx 1 root root 19 Apr 23 14:57 WOO -> ../mapper/HEBEX-WOO
lrwxrwxrwx 1 root root 23 Apr 23 14:57 WOO_LOG -> ../mapper/HEBEX-WOO_LOG
lrwxrwxrwx 1 root root 24 Apr 23 14:57 WOO_PROG -> ../mapper/HEBEX-WOO_PROG

root@malorent:~# lvdisplay /dev/HEBEX/WOO_BASE
  /dev/mapper/HEBEX-WOO_BASE: open failed: No such file or directory
  /dev/mapper/HEBEX-WOO_BASE: open failed: No such file or directory
  --- Logical volume ---
  LV Name /dev/HEBEX/WOO_BASE
  VG Name HEBEX
  LV UUID 1an8Zg-aYse-AkF3-NGs2-0BGF-4mfO-1m3wUA
  LV Write Access read/write
  LV Status NOT available
  LV Size 1.00 GiB
  Current LE 256
  Segments 1
  Allocation inherit
  Read ahead sectors auto

So LVM finds the missing device internally, but the device is not created by udev.