Ask Your Question
0

What's needed for disk hotplug in the guest?

asked 2010-07-21 00:35:24 -0500

justin-fathomdb gravatar image

I'm trying to get iSCSI volumes working; I think it's almost there, I can attach the disk using virsh attach-disk on e.g. vdb, but I can't get the disk to show up in the guest without a reboot (but then it does show up!)

I'm running my own ubuntu guest image that I've built using vmbuilder; I've tried "modprobe acpiphp"; udev is running.

Anyone know what I'm missing to get this to work?

edit retag flag offensive close merge delete

6 answers

Sort by ยป oldest newest most voted
0

answered 2010-07-21 03:46:07 -0500

vishvananda gravatar image

it is usually acpiphp. Do you get any messages relating to acpiphp in the logs on the guest when you run the attach? Also check /proc/partitions to see if vdb is there but doesn't have a corresponding dev node.

edit flag offensive delete link more
0

answered 2010-07-21 05:46:38 -0500

justin-fathomdb gravatar image

Thanks for the advice: I started again with a clean VM, and it works. I may have hosed the previous VM when I was trying to get iSCSI attach to work at all. I've added acpiphp to /etc/modules as part of the disk preparation process.

edit flag offensive delete link more
0

answered 2010-07-21 13:01:57 -0500

vishvananda gravatar image

If you are attaching to vd*, you have to make sure you have the various virtio modules installed as well, especially virtio_blk

edit flag offensive delete link more
0

answered 2010-07-26 23:30:43 -0500

Hi, I am very interested in this. justinsb can you provide some info on how you set this up? Are you doing this manually or programatically? This is functionality I would like to see directly in the OpenStack API somewhere..

Regards,

Aimon

edit flag offensive delete link more
0

answered 2010-07-26 23:39:36 -0500

justin-fathomdb gravatar image

Hi Aimon: iSCSI is still in development right now... you can see the code in my branch: https://code.launchpad.net/~justin-fathomdb/nova/iscsi-volumes (https://code.launchpad.net/~justin-fa...)

And we're working on the general iSCSI design here - feel free to contribute to the discussion: https://blueprints.launchpad.net/nova/+spec/iscsi-support (https://blueprints.launchpad.net/nova...)

I believe that this is supposed to work currently using the normal code, using ATA-over-Ethernet (AoE), but I haven't tried it myself yet.

edit flag offensive delete link more
0

answered 2010-07-27 00:05:34 -0500

Thanks justinb. I will read the spec and pitch in where I can.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2010-07-21 00:35:24 -0500

Seen: 153 times

Last updated: Jul 27 '10