Cannot boot server using mdadm RAID1 after creating LVM snapshot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm running a test server on Precise to act as a KVM host. The virtual machines are using LVM logical volumes as backing stores. I have created several virtual machines by taking an LVM snapshot of a base image. When I rebooted the server, it no longer boots.
After switching grub to use the console I get messages similar to the ones reported here: http://
The server has 2 2TB SATA drives - partitioned into a smallish sdX1 and a large sdX5. sda1/sdb1 make a mdadm RAID 1 array md0, sda2/sdb2 make md1. Both md devices are clean. md0 contains vgSystem with logical volumes for root, boot and swap. md1 contains vgVMs with logical volumes for all the virtual machines.
I can boot the server of a USB stick and then assemble the md arrays and enable the volume groups and everything seems intact
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: grub-pc 1.99-17ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Sun Mar 11 11:16:44 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120130)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
This appears to be a bug in lvm, not grub.