summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/device/1866792
blob: a51e2c3ce1f26f1e80604945ea56bda20c799b45 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
device: 0.951
kernel: 0.931
performance: 0.908
peripherals: 0.900
vnc: 0.878
assembly: 0.867
ppc: 0.843
graphic: 0.839
architecture: 0.838
user-level: 0.824
PID: 0.819
files: 0.810
permissions: 0.800
risc-v: 0.784
debug: 0.783
socket: 0.771
VMM: 0.750
x86: 0.735
mistranslation: 0.726
semantic: 0.712
register: 0.682
network: 0.640
boot: 0.632
hypervisor: 0.589
TCG: 0.581
arm: 0.533
i386: 0.497
virtual: 0.468
KVM: 0.449

formating vdi-disk over nbd fails

Hi,
after creating a vdi-image with qemu-vdi and attaching it with qemu-nbd partitioning works fine, but the system hangs up during formating with mkfs.ext4.

Same procedure with qcow2-image works fine 
Tested on Fedora 31 kernel  5.5.7-200.fc31.x86_64


-----------------
#! /bin/sh

qemu-img create -f qcow2 ~/test.qcow2 32G
#qemu-img version 4.1.1 (qemu-4.1.1-1.fc31)

modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd2 ~/test.qcow2
#qemu-nbd 4.1.1 (qemu-4.1.1-1.fc31)

parted -s /dev/nbd2 "mklabel gpt"
parted -s -a optimal /dev/nbd2 "mkpart test ext4 2048 32G "
parted  -s -a optimal /dev/nbd2 "p"

mkfs.ext4 /dev/nbd2p1
#Format hangs up due to IO errors.
#Tested on Fedora 31, kernel 5.5.7-200.fc31.x86_64

mkdir /mnt/test_qcow2

mount /dev/nbd2p1 /mnt/test_qcow2
df -H

-------------------
#! /bin/sh

qemu-img create -f vdi ~/test.vdi 32G

modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd4 ~/test.vdi

parted -s /dev/nbd4 "mklabel gpt"
parted -s -a optimal /dev/nbd4 "mkpart test ext4 2048 32G "
parted  -s -a optimal /dev/nbd4 "p"

mkfs.ext4 /dev/nbd4p1
#Format hangs up due to IO errors 
#Tested on Fedora 31 kernel  5.5.7-200.fc31.x86_64

mkdir /mnt/test_vdi

mount /dev/nbd4p1 /mnt/test_vdi
df -H
----------------------


Kind regards
  Eilert

PS.: There may be a connection to this bug:
​ 	
#1661758 qemu-nbd causes data corruption in VDI-format disk images



The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting older bugs to "Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.


[Expired for QEMU because there has been no activity for 60 days.]