Comment 6 for bug 563895

Revision history for this message
Bernhard Schmidt (berni) wrote : Re: Disk not found when booting mdadm RAID1 with snapshotted lvm volume

The installation of grub2 fails when _any_ snapshot is present. Not only on the root filesystem (or boot), not even mounted. In my system it was a snapshot of a WinXP volume used by KVM. Deleting it worked just fine.

root@lxbsc02:/# grub-install /dev/sda
/usr/sbin/grub-probe: error: no mapping exists for `wdc750g-root'.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.

root@lxbsc02:~# lvs
  LV VG Attr LSize Origin Snap% Move Log Copy% Convert
  home wdc750g -wi-ao 40,00g
  kvm-winxp wdc750g owi-a- 20,00g
  kvm-winxp-snap wdc750g swi-a- 8,00g kvm-winxp 10,81
  root wdc750g -wi-ao 20,00g
  swap wdc750g -wi-ao 4,00g
  torrent wdc750g -wi-ao 200,00g

root@lxbsc02:~# lvremove wdc750g/kvm-winxp-snap
Do you really want to remove active logical volume kvm-winxp-snap? [y/n]: y
  Logical volume "kvm-winxp-snap" successfully removed
root@lxbsc02:~# grub-install /dev/sda
Installation finished. No error reported.

This is a clusterf*ck of a bug.