From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnRto-0006vz-Fp for qemu-devel@nongnu.org; Fri, 14 Jun 2013 07:10:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnRtn-00034B-Dt for qemu-devel@nongnu.org; Fri, 14 Jun 2013 07:10:32 -0400 Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:37621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnRtn-000345-6J for qemu-devel@nongnu.org; Fri, 14 Jun 2013 07:10:31 -0400 Received: by mail-wg0-f50.google.com with SMTP id k14so380824wgh.5 for ; Fri, 14 Jun 2013 04:10:30 -0700 (PDT) Date: Fri, 14 Jun 2013 13:10:27 +0200 From: Stefan Hajnoczi Message-ID: <20130614111027.GE26780@stefanha-thinkpad.redhat.com> References: <20130613093337.13816.43323.malonedeb@soybean.canonical.com> <20130613093337.13816.43323.malonedeb@soybean.canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130613093337.13816.43323.malonedeb@soybean.canonical.com> Subject: Re: [Qemu-devel] [Bug 1190525] [NEW] 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: Bug 1190525 <1190525@bugs.launchpad.net> Cc: qemu-devel@nongnu.org On Thu, Jun 13, 2013 at 09:33:37AM -0000, chandrashekar shastri wrote: > 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. Which emulated SCSI controller are you using? Recent virtio-scsi gets notified when LUNs are removed but you may have old guest drivers. If you want to report this as a QEMU bug, please give QEMU commands, not virt-manager commands. If you cannot use QEMU directly, please work with the virt-manager or libvirt community before filing a QEMU bug so the necessary QEMU-level details can be provided by them. Stefan