Yes, I have had this bug on a system without any RAID (neither hardware nor mdraid) running Lucid amd64. And I can reproduce it on that particular box.
root@lxbsc02:~# lvcreate -s -L 2G -n kvm-winxp-fresh wdc750g/kvm-winxp
Logical volume "kvm-winxp-fresh" created
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:~# lvremove wdc750g/kvm-winxp-fresh
Do you really want to remove active logical volume kvm-winxp-fresh? [y/n]: y
Logical volume "kvm-winxp-fresh" successfully removed
root@lxbsc02:~# grub-install /dev/sda
Installation finished. No error reported.
Oddly enough I cannot reproduce it on my system at home, which is also running Lucid.
root@pest:~# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
btrfs wdc -wi-a- 32,00g
home wdc -wi-ao 16,00g
karmic wdc -wi-ao 16,00g
karmicold wdc -wi-a- 16,00g
swap wdc -wi-ao 2,00g
videos wdc -wi-a- 100,00g
vm-winxp wdc -wi-a- 21,00g
root@pest:~# lvcreate -s -L 2G -n kvm-winxp-fresh wdc750g/vm-winxp
Volume group "wdc750g" not found
root@pest:~# grub-install /dev/sda
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
Installation finished. No error reported.
Yes, the VG/LV names are a bit different. I tried making the snapshot LV name very long, did not change anything.
Yes, I have had this bug on a system without any RAID (neither hardware nor mdraid) running Lucid amd64. And I can reproduce it on that particular box.
root@lxbsc02:~# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
azureus wdc750g -wi-ao 300,00g
home wdc750g -wi-ao 40,00g
kvm-winxp wdc750g -wi-a- 20,00g
root wdc750g -wi-ao 20,00g
swap wdc750g -wi-ao 4,00g
torrent wdc750g -wi-ao 200,00g
root@lxbsc02:~# lvcreate -s -L 2G -n kvm-winxp-fresh wdc750g/kvm-winxp grub-probe: error: no mapping exists for `wdc750g-root'. kvm-winxp- fresh
Logical volume "kvm-winxp-fresh" created
root@lxbsc02:~# grub-install /dev/sda
/usr/sbin/
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
root@lxbsc02:~# lvremove wdc750g/
Do you really want to remove active logical volume kvm-winxp-fresh? [y/n]: y
Logical volume "kvm-winxp-fresh" successfully removed
root@lxbsc02:~# grub-install /dev/sda
Installation finished. No error reported.
Oddly enough I cannot reproduce it on my system at home, which is also running Lucid.
root@pest:~# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
btrfs wdc -wi-a- 32,00g
home wdc -wi-ao 16,00g
karmic wdc -wi-ao 16,00g
karmicold wdc -wi-a- 16,00g
swap wdc -wi-ao 2,00g
videos wdc -wi-a- 100,00g
vm-winxp wdc -wi-a- 21,00g
root@pest:~# lvcreate -s -L 2G -n kvm-winxp-fresh wdc750g/vm-winxp
Volume group "wdc750g" not found
root@pest:~# grub-install /dev/sda
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
Installation finished. No error reported.
Yes, the VG/LV names are a bit different. I tried making the snapshot LV name very long, did not change anything.