<div dir="ltr"><div><div><div><div>Which "reboot" do you mean:<br></div>1. run "reboot" command in Linux instance.<br></div>2. OpenStack software reboot operation<br></div>3. OpenStack hard reboot operation<br>
<br></div>Also, check instance's libvirt domain xml (use "nova show" to get instace's nova-compute host and "virsh dumpxml <domain_name>" to see domain's configuration), see if it has been changed after reboot.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-26 15:34 GMT+08:00 ¸ð¾¢ËÉ <span dir="ltr"><<a href="mailto:jingsong.ge@gmail.com" target="_blank">jingsong.ge@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><br></div><div>i hava same problem and i have another problem, when a reboot VM £¨ubuntu£©, the bind between volume and device number chengged¡£</div><div><br></div><div><br></div><div> 1¡¢create 6 volume ,size: 1¡¢2¡¢3¡¢4¡¢5¡¢6 £¨G£©</div>
<div> 2¡¢use "nova volume-attach" respectively attach to a vm(ubuntu 12.04) </div><div> 3¡¢inner VM use "fdisk -l " i can see /dev/cdb¡¢c¡¢d¡¢e¡¢f¡¢g with size :1 ¡¢2¡¢3¡¢4¡¢5¡¢6</div><div> 4¡¢detach the volume with the size : 2¡¢4¡¢6</div>
<div> inner VM use "fdisk -l " i can see that :</div><div> </div><div> before reboot after reboot</div><div> /dev/vdb 1 /dev/vdb 1</div><div> /dev/vdd 3 /dev/vdc 3</div>
<div> /dev/vdf 5 /dev/vdd 5</div><div> 5¡¢then i detached volume with the size 1. create a new volume with the size 7,and then attach to VM. i can see that:</div><div> before reboot after reboot </div>
<div> /dev/vdb 7 /dev/vdb 3</div><div> /dev/vdd 3 /dev/vdc 5</div><div> /dev/vdf 5 /dev/vdd 7</div><div>How should I do to Repair it.<br></div><div>
<span style="font-family:arial,sans-serif;font-size:14px">Thanks for help!</span><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-26 14:34 GMT+08:00 Zuo Changqian <span dir="ltr"><<a href="mailto:dummyhacker85@gmail.com" target="_blank">dummyhacker85@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Hi<br><br>Currently we use Cpeh RBD as cinder volume. According to <a href="http://www.linux-kvm.org/page/Hotadd_pci_devices" target="_blank">http://www.linux-kvm.org/page/Hotadd_pci_devices</a>, we have Linux KVM guest (both CentOS 6.x and Ubuntu 12.04) support disk hot plugging, it works well.<br>
<br></div>But there is problem with Windows 2008 guest (2003 not tested). Described below:<br><br>1) Launch an Windows 2008 instance (with RedHat Virtio Driver installed), and attach a volume (newly created with nothing inside) to it, the volume would be successfully attached to /dev/vdb.<br>
<br></div>2) In Windows (guest machine), format this newly added disk. After formatting, it will show up in "My Computer" windows. Create any file (readme.txt with some text in it for example) inside the new disk. Then deatch the volume.<br>
<br>After about one or two minute, a message box would show up in Windows, saying that the device not properly removed, and the newly added disk would still show in "My Computer" window. But with "cinder list" command, we can see that the volume was successfully detached.<br>
<br>3) Now reattach to volume to instance, it would failed.<br></div><br></div>Libvirt log shows: <br><br><div><div><div><div>error : qemuMonitorJSONCheckError:357 : internal error unable to execute QEMU command '__com.redhat_drive_add': Duplicate ID 'drive-virtio-disk1' for drive<br>
<br><br></div><div>I googled yesterday afternoon, didn't find useful information. Would any one tell me whether Windows 2003/2008 as kvm fully virtualized guest supports disk hot plugging and removing or not? Or any possibility I have got something wrong?<br>
</div><div><br>Thanks for help!<br></div></div></div></div></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>