[natty] LVM sometimes fails to mount /home at boot

Bug #796755 reported by Christian Juner on 2011-06-13
This bug affects 4 people
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)

Bug Description

Binary package hint: lvm2

I have recently upgraded to natty. Since then every few reboots plymouth displays (not word by word accurate) "Waiting for /home, You can wait, skip the mount or run a maintenance shell". Choosing the maintenance shell and running "mount -a" fixes the problem, but I have to do that every boot that fails like this.

Some LVM processes seem to hang:
root 282 75 0 11:01 ? 00:00:00 /lib/udev/watershed sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y
root 283 282 0 11:01 ? 00:00:00 sh -c /sbin/lvm vgscan; /sbin/lvm vgchange -a y
I see those from the maintenance shell and also after the system has fully booted.

Bug #561390 seems to describe the same symptoms but is allegedly fixed. However, I experience this problem with the current version of natty. Given the similarity to this bug, the cause might also be mountall or udev (or possibly something else entirely).

Also in all the cases I have to do the mount manually, /dev/shm is mounted with incorrect permissions (described as well in Bug #561390) preventing ecryptfs and chromium from running.

I have never encountered this problem before natty (system was running fine for 2+ years).

I will gladly submit any logs I am asked to (whenever this happens again, usually around every third boot).

Description: Ubuntu 11.04
Release: 11.04

Package: lvm2
Version: 2.02.66-4ubuntu2

tags: added: breaks-boot broken-boot cannot-boot regression-release
Changed in lvm2 (Ubuntu):
status: New → Confirmed
Jerry Rapp (rapp-jerry) wrote :

Does anyone have a quick fix, im trying to set up a headless system and this is a showstopper

ClaesBas (ubuntu-clabbe) wrote :

I've also have had this problem since I upgraded to 11.04 on a server with lvm on a software raid5 on 4 disks.
Boot halts and if I hit "i" for ignore everything seems ok, but the problem is this is a server that I administrate remotely...

ClaesBas (ubuntu-clabbe) wrote :

I think this bug is like the one 10.04 had in the "lvm2/mountall-area"

This appears to be no longer an issue in precise.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers