summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/2798.toml
blob: 23214f0aa203b57341b926f790b052e3c7c20aeb (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
id = 2798
title = "Cannot disconnect Split VMDK"
state = "opened"
created_at = "2025-01-30T20:18:27.314Z"
closed_at = "n/a"
labels = ["block:vmdk"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/2798"
host-os = "Mint 21.3 based on Ubuntu 22.04"
host-arch = "x64"
qemu-version = "original 6.2.0, also with upgraded 9.0.2"
guest-os = "n/a"
guest-arch = "n/a"
description = """I used to mount VDI with qemu-nbd and it worked, I could mount/unmount many times. Since VDI was 400 GB, I converted to Split2G VMDK.
In addition to file.vmdk, there are file-s001.vmdk, file-s002.vmdk..file-s201.vmdk 
With that, I can mount, but disconnect does not work. Tried also with `blockdev`, did not help, not sure if that is needed.
I know that with LV deactivation of volume group is needed before disconnect. Not aware if there is equivalent with Split VMDK.
Cannot say if issue in qemu-nbd or qemu vmdk driver.
Experienced in qemu 6.2.0 and also when upgraded to 9.0.2. May try later with master that seems to build 9.2.50."""
reproduce = """1. sudo modprobe nbd max_part=4 && sudo qemu-nbd -f vmdk -c /dev/nbd1 file.vmdk && sudo mount /dev/nbd1p1 /mnt/vmdk
2. sudo umount -l /mnt/vmdk && sleep 2 && sudo blockdev --flushbufs /dev/nbd1  && sleep 2 && sudo qemu-nbd -dv /dev/nbd1 
3. lsblk # see still nbd1"""
additional = """```
[  424.020397] block nbd1: NBD_DISCONNECT
[  424.020417] block nbd1: Disconnected due to user request.
[  424.020420] block nbd1: shutting down sockets
[  424.024278] I/O error, dev nbd1, sector 842468736 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[  424.024318] I/O error, dev nbd1, sector 842468736 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  424.024327] Buffer I/O error on dev nbd1, logical block 105308592, async page read
[  424.028202] I/O error, dev nbd1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[  424.028229] I/O error, dev nbd1, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  424.028233] Buffer I/O error on dev nbd1, logical block 0, async page read
[  424.028249] I/O error, dev nbd1, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  424.028252] Buffer I/O error on dev nbd1, logical block 0, async page read
--
[  548.931610] block nbd1: NBD_DISCONNECT
[  548.931620] block nbd1: Send disconnect failed -32
[  548.935594] blk_print_req_error: 6 callbacks suppressed
[  548.935598] I/O error, dev nbd1, sector 842468736 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[  548.935634] I/O error, dev nbd1, sector 842468736 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  548.935642] buffer_io_error: 2 callbacks suppressed
[  548.935644] Buffer I/O error on dev nbd1, logical block 105308592, async page read
[  548.940187] I/O error, dev nbd1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[  548.940211] I/O error, dev nbd1, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  548.940215] Buffer I/O error on dev nbd1, logical block 0, async page read
[  548.940230] I/O error, dev nbd1, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
```"""