Installer warns "Could not stat device /dev/mapper/hostname-root - No such file or directory", works after retry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto-lvm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Installs using LVM can fail due to a race with the message "Could not stat device /dev/mapper/
[Test Case]
Do an LVM install using d-i - manual or preseeded and look for the above error message.
[Regression Potential]
This introduced a new call into the udev stack, so a bug there could trip us up - but, it seems like if any such bug existed, we'd hit it already w/ one of the other settle calls.
The fix that worked for me was to add:
sleep 1
after both of the "lv_create" commands in "/bin/perform_ recipe_ by_lvm" .
With that fix, the error goes away, and everything seems to work properly.