From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un4d2-0000sm-NK for qemu-devel@nongnu.org; Thu, 13 Jun 2013 06:19:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un4cz-00043K-42 for qemu-devel@nongnu.org; Thu, 13 Jun 2013 06:19:40 -0400 Received: from e23smtp04.au.ibm.com ([202.81.31.146]:45035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un4cy-00042p-Gx for qemu-devel@nongnu.org; Thu, 13 Jun 2013 06:19:37 -0400 Received: from /spool/local by e23smtp04.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 13 Jun 2013 20:05:34 +1000 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [9.190.235.21]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 3A97E2CE804D for ; Thu, 13 Jun 2013 20:19:31 +1000 (EST) Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r5DAJLWH31588460 for ; Thu, 13 Jun 2013 20:19:22 +1000 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r5DAJUSw018352 for ; Thu, 13 Jun 2013 20:19:30 +1000 Message-ID: <51B99CAE.2040006@linux.vnet.ibm.com> Date: Thu, 13 Jun 2013 15:49:26 +0530 From: chandrashekar shastri MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010701090306080305030509" Subject: [Qemu-devel] fdisk still shows the "/dev/sdb" partitions even after the removal of scsi disk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, libvir-list@redhat.com, virt-tools-list@redhat.com This is a multi-part message in MIME format. --------------010701090306080305030509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I have filed a bug "fdisk still shows the "/dev/sdb" partitions even after the removal of scsi disk" for the upstream kernel. Bug link: https://bugs.launchpad.net/qemu/+bug/1190525 RHEL guest shows the partittions even after the removal of scsi disk: fdisk still shows the "/dev/sdb" partitions even after the removal of scsi disk. Guest details: ------------------- Kernel : 2.6.32-358 Host Details : Upstream Kernel, Qemu, Libvirt and virt-manager --------------------------------------------------------------------- kernel version : 3.9.0+ qemu version : QEMU emulator version 1.5.0 libvirt version : 1.0.5 virt-install : 0.600.3 Steps to reproduce the issue: I. Add the SCSI disk through the virt-manager. 2. Create the partition using fdisk (eg: /dev/sbb) 3. Create a filesystem and format using mkfs.ext3 or mkfs.ext4 4. Remove the scsi disk through the virt-manager. 5. Again run the fdisk /dev/sdb, the guests still shows the partition even after the removal of the disk. This issue is not seen with virt-io disk. This issue is also reproducible without even creating the partitions. Expected Result: The output of fdisk /dev/sd* should not show the enties after the removal of scsi disks Thanks, Chandrashekar --------------010701090306080305030509 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

I have filed a bug "fdisk still shows the "/dev/sdb" partitions even after the removal of scsi disk" for the upstream kernel.

Bug link:
https://bugs.launchpad.net/qemu/+bug/1190525

RHEL guest shows the partittions even after the removal of scsi disk:
fdisk still shows the "/dev/sdb" partitions even after the removal of scsi disk.

Guest details:
-------------------
Kernel : 2.6.32-358

Host Details :

Upstream Kernel, Qemu, Libvirt and virt-manager
---------------------------------------------------------------------

kernel version : 3.9.0+
qemu version : QEMU emulator version 1.5.0
libvirt version : 1.0.5
virt-install : 0.600.3

Steps to reproduce the issue:

I. Add the SCSI disk through the virt-manager.
2. Create the partition using fdisk (eg: /dev/sbb)
3. Create a filesystem and format using mkfs.ext3 or mkfs.ext4
4. Remove the scsi disk through the virt-manager.
5. Again run the fdisk /dev/sdb, the guests still shows the partition even after the removal of the disk.

This issue is not seen with virt-io disk.

This issue is also reproducible without even creating the partitions.

Expected Result:

The output of fdisk /dev/sd* should not show the enties after the removal of scsi disks

Thanks,
Chandrashekar


--------------010701090306080305030509--