Ubuntu 9.04 does not run vgchange before mounting filesystems

Bug #368551 reported by Stephen Gallagher
8
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I manually created my partitions before installing Mythbuntu in the following pattern:
/dev/sda1 100MiB ext3 /boot
/dev/sda2 2048MiB swap swap
/dev/sda3 extended
/dev/sda5 10GiB ext4 /
/dev/sda6 140GiB lvm2

/dev/sdd1 730GiB lvm2

Created a volume group data_archive from both /dev/sda6 and /dev/sdd1.
/dev/mapper/data_archive-home 870GiB ext3 /home

During installation, I experienced Bug 368318 on the first attempt, but my second attempt succeeded. (I will note the difference in the other bug)

After installation completed successfully, I rebooted the machine. It did not boot completely because the checkfs.sh failed, noting an inability to locate the lvm2 partition.

At the maintenance prompt, I am able to perform "mount -a" correctly.

Further, once I disabled the checkfs.sh (to see if I could get it to boot completely without it), the mountall command failed to locate the /home partition, giving the error:
 "* Mounting local filesystems... mount: special device /dev/disk/by-uuid/<...> does not exist"
<...> is the correct UUID of the lvm partition, but it's too long to type by hand.

This appears to be a failure of the boot process to perform vgchange -a before attempting to check or mount the drives.

Hardware Information:
Dell Studio Hybrid
1 GB RAM
160GB HD
Intel GMA3100 Graphics

Software Information:
Mythbuntu 9.04 installed from the LiveCD, no patches applied at first, tried with an apt-get upgrade and received the same results.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Yup, same here. I have to manually do a sudo lvmchange -ay before any LVM partitions can be mounted.

Revision history for this message
Javier López (javier-lopez) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in 'initramfs-tools'. If you believe that I have chosen the wrong package, please change the bug to the correct one. Good luck on getting it fixed

affects: ubuntu → initramfs-tools (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.