LVM - /var failed to mount during boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Fix Released
|
High
|
Scott James Remnant (Canonical) | ||
Lucid |
Fix Released
|
High
|
Scott James Remnant (Canonical) | ||
mountall (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: mountall
I am running the system off LVM:
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
and occasionally system fails to boot displaying the message "/(var|opt|home) failed to mount" - wait/skip/ go to maintenance shell.
This looks awfully like bug #527666 but it claims to be fixed while I am still experiencing this issue.
It is possible to mount the partitions with mount -a, and the system continues to boot after maintenance shell is exited. However ~/Private ecryptfs becomes unavailable due to:
rtg@buzz:~$ ecryptfs-
Enter your login passphrase:
Inserted auth tok with sig [ae9ed25cb6615b05] into the user session keyring
open: Permission denied
Error locking counter
The problem with ecryptfs happens every time some partition fails to mount and it is mounted manually.
I am adding the info about ~/Private problem in order to show that mount -a is not a proper workaround for mountall failure.
Here's the content of /dev/mapper:
rtg@buzz:~$ ls -la /dev/mapper/
total 0
drwxr-xr-x 2 root root 160 2010-04-12 13:49 .
drwxr-xr-x 19 root root 3940 2010-04-12 13:50 ..
crw-rw---- 1 root root 10, 59 2010-04-12 13:49 control
brw-rw---- 1 root disk 252, 4 2010-04-12 13:49 vg00-home
brw-rw---- 1 root disk 252, 2 2010-04-12 13:49 vg00-opt
brw-rw---- 1 root disk 252, 0 2010-04-12 13:49 vg00-root
brw-rw---- 1 root root 252, 1 2010-04-12 13:49 vg00-usr
brw-rw---- 1 root disk 252, 3 2010-04-12 13:49 vg00-var
I am attaching syslog and debug logs that were written during this boot.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mountall 2.11
ProcVersionSign
Uname: Linux 2.6.32-20-generic i686
Architecture: i386
CheckboxSubmission: b16b943d4712f46
CheckboxSystem: 1fd1d69a420d766
Date: Mon Apr 12 13:56:50 2010
EcryptfsInUse: Yes
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: mountall
Changed in mountall (Ubuntu): | |
status: | Incomplete → Fix Committed |
Changed in lvm2 (Ubuntu Lucid): | |
milestone: | none → ubuntu-10.04 |
status: | Triaged → Fix Released |
status: | Fix Released → Fix Committed |
Same here for /home on LVM, here is the mountall --debug log