<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I have filed a bug "fdisk still shows the "/dev/sdb" partitions even
    after the removal of scsi disk" for the upstream kernel.<br>
    <br>
    Bug link:<br>
    <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/qemu/+bug/1190525">https://bugs.launchpad.net/qemu/+bug/1190525</a><br>
    <br>
    <div id="yui_3_9_1_1_1371116020046_189"
      class="yui3-editable_text-text">
      <p>RHEL guest shows the partittions even after the removal of scsi
        disk:<br>
        fdisk still shows the "/dev/sdb" partitions even after the
        removal of scsi disk.</p>
      <p>Guest details:<br>
        -------------------<br>
        Kernel : 2.6.32-358</p>
      <p>Host Details :</p>
      <p>Upstream Kernel, Qemu, Libvirt and virt-manager<br>
        -------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>------</p>
      <p>kernel version : 3.9.0+<br>
        qemu version : QEMU emulator version 1.5.0<br>
        libvirt version : 1.0.5<br>
        virt-install : 0.600.3</p>
      <p>Steps to reproduce the issue:</p>
      <p>I. Add the SCSI disk through the virt-manager.<br>
        2. Create the partition using fdisk (eg: /dev/sbb)<br>
        3. Create a filesystem and format using mkfs.ext3 or mkfs.ext4<br>
        4. Remove the scsi disk through the virt-manager.<br>
        5. Again run the fdisk /dev/sdb, the guests still shows the
        partition even after the removal of the disk.</p>
      <p>This issue is not seen with virt-io disk.</p>
      <p>This issue is also reproducible without even creating the
        partitions.</p>
      <p>Expected Result:</p>
      <p>The output of fdisk /dev/sd* should not show the enties after
        the removal of scsi disks</p>
    </div>
    Thanks,<br>
    Chandrashekar<br>
    <br>
    <br>
  </body>
</html>