[Bug 588953] [NEW] Unable to add /dev/md0 as storage pool
Rusty Burchfield
GICodeWarrior at gmail.com
Wed Jun 2 23:37:16 BST 2010
Public bug reported:
This is the mirror set I want to use as vm storage.
$ ls /dev/md0*
/dev/md0 /dev/md0p1
However, when I try to add it as a storage pool using virt-manager, I receive this error message.
Error creating pool: Could not start storage pool: cannot open volume '/dev/md01': No such file or directory
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/createpool.py", line 433, in _async_pool_create
poolobj = self._pool.install(create=True, meter=meter, build=build)
File "/usr/lib/pymodules/python2.6/virtinst/Storage.py", line 791, in install
build=build)
File "/usr/lib/pymodules/python2.6/virtinst/Storage.py", line 474, in install
raise RuntimeError(errmsg)
RuntimeError: Could not start storage pool: cannot open volume '/dev/md01': No such file or directory
I receive this same error even if I reference the mirror device as
/dev/disk/by-uuid/259b1953-86c5-4d98-994e-79bb80491d8d instead of
/dev/md0.
I /am/ able to start the storage pool if I fdisk the mirror and remove
the partition on it. It is pretty clear that there is something hard-
coded to expect bland partition numbering which is not guaranteed.
This command is a workaround. However, I don't expect it to persist across reboots (without some /etc/rc.local action) and it is pretty lame. :(
$ sudo ln -s md0p1 /dev/md01
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
--
Unable to add /dev/md0 as storage pool
https://bugs.launchpad.net/bugs/588953
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
More information about the Ubuntu-server-bugs
mailing list