Rescue mode does not create /run/lock, so LVM tools won't run
Asked by
Sgifford
When booting Oneiric or Precise in Rescue Mode, the LVM tools give a locking error. For example, if I run "lvscan", it only outputs:
/var/lock/lvm: mkdir failed: No such file or directory
File-based locking initialisation failed
This makes it impossible to use the LVM tools, which can be very important for recovery.
The problem seems to be the absence of a "/run/lock" directory. If I run this command:
mkdir /run/lock
Then the LVM tools don't give this error, and "lvscan" works properly.
Any advice here? Or should I open up a bug for this?
Thanks!
------Scott.
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu rescue Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Sgifford for more information if necessary.
To post a message you must log in.