[one-users] Disk Hotplug Problem

chenxiang at aquala-tech.com chenxiang at aquala-tech.com
Thu Apr 18 02:27:54 PDT 2013


Hi all,

I am having problem trying to hotplug a second disk to my VM's. I have a
three-server setup, one running the front end, and the other two as the
nodes. I am able to create VM's, doing live migrations, as well as other
VM life cycle management tasks with CentOS 6.3 and Ubuntu 12.04 guests.
Howver, when I try to hot plug a second disk for a VM, SunStone says that
the operation is successful, but the second disk can not be found within
the VM. (Disk availability verified by fdisk -l command.)

The datablock was created from SunStone, in RAW format. If I add the
datablock image to a VM template, the VM would boot with the second disk
just fine. So, that datablock is working.

/etc/libvirt/libvirtd.conf

unix_sock_group = "cloud"

/etc/libvirt/qemu.conf

vnc_listen = "0.0.0.0"
user = "root"
group = "root"
dynamic_ownership = 0

Yes I do change the ownership of /var/run/libvirt/libvirt-sock to group
cloud.

The log for the hot plug operation:

Thu Apr 18 17:26:24 2013 [VMM][I]: clone: Cloning
/srv/cloud/one/var/datastores/1/b5e9aa35fbcb4ecf07f64e5d08852144 in
192.168.100.113:/srv/cloud/one/var//datastores/0/6/disk.2
Thu Apr 18 17:26:24 2013 [VMM][I]: ExitCode: 0
Thu Apr 18 17:26:24 2013 [VMM][I]: Successfully execute transfer manager
driver operation: tm_attach.
Thu Apr 18 17:26:25 2013 [VMM][I]: ExitCode: 0
Thu Apr 18 17:26:25 2013 [VMM][I]: Successfully execute virtualization
driver operation: attach_disk.
Thu Apr 18 17:26:25 2013 [VMM][I]: VM Disk successfully attached.

Then I look inside the VM via fdisk -l, the second disk is not there.

I try the same operation on 3.6, 3.8.3, and 3.9.80, all failed. What else
can be wrong?

Thanks a lot.

Chen Xiang





More information about the Users mailing list