[Bug 964957] Re: Installer warns "Could not stat device /dev/mapper/hostname-root - No such file or directory", works after retry

Sgifford 964957 at bugs.launchpad.net
Mon Mar 26 04:07:17 UTC 2012


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-auto-lvm in Ubuntu.
https://bugs.launchpad.net/bugs/964957

Title:
  Installer warns "Could not stat device /dev/mapper/hostname-root - No
  such file or directory", works after retry

Status in “partman-auto-lvm” package in Ubuntu:
  New

Bug description:
  When I try to install Ubuntu Precise Pangolin using LVM for my
  filesystems, it gives me this warning:

    Could not stat device /dev/mapper/hostname-root - No such file or
  directory.

  If I select "Retry", everything works.

  It appears that the LVs are created, but their entries in
  "/dev/mapper" don't exist yet when the rest of the system tries to use
  them.

  I will attach a short video with some more information, along with the
  fix that worked for me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto-lvm/+bug/964957/+subscriptions




More information about the foundations-bugs mailing list