blob: 7443ef0d22c4cf84545d63b1767e3e450ef1c630 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
device: 0.498
mistranslation: 0.409
architecture: 0.395
kernel: 0.369
PID: 0.349
performance: 0.336
semantic: 0.312
graphic: 0.295
hypervisor: 0.277
socket: 0.275
ppc: 0.269
peripherals: 0.251
arm: 0.249
register: 0.234
boot: 0.233
permissions: 0.210
network: 0.210
files: 0.205
user-level: 0.200
assembly: 0.189
vnc: 0.186
i386: 0.184
risc-v: 0.181
x86: 0.154
virtual: 0.148
TCG: 0.145
VMM: 0.128
KVM: 0.124
debug: 0.114
fdisk still shows the "/dev/sdb" partitions even after the removal of scsi disk
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
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
[Expired for QEMU because there has been no activity for 60 days.]
|