]> Git Repo - qemu.git/blame - tests/qemu-iotests/060.out
qcow2: Prevent allocating refcount blocks at offset 0
[qemu.git] / tests / qemu-iotests / 060.out
CommitLineData
ca0eca91
HR
1QA output created by 060
2
3=== Testing L2 reference into L1 ===
4
7486458c 5Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
ca0eca91
HR
6ERROR cluster 3 refcount=1 reference=3
7
81 errors were found on the image.
9Data may be corrupted, or further writes to the image may corrupt it.
10incompatible_features 0x0
adb43552 11qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L1 table); further corruption events will be suppressed
ca0eca91
HR
12write failed: Input/output error
13incompatible_features 0x2
e800e5d4
KW
14image: TEST_DIR/t.IMGFMT
15file format: IMGFMT
f383611a 16virtual size: 64M (67108864 bytes)
f383611a
HR
17cluster_size: 65536
18Format specific information:
19 compat: 1.1
20 lazy refcounts: false
0709c5a1 21 refcount bits: 16
f383611a 22 corrupt: true
b9884681 23can't open device TEST_DIR/t.IMGFMT: IMGFMT: Image is corrupt; cannot be opened read/write
64ebf556 24no file open, try 'help open'
ca0eca91
HR
25read 512/512 bytes at offset 0
26512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
27
28=== Testing cluster data reference into refcount block ===
29
7486458c 30Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
ca0eca91
HR
31ERROR refcount block 0 refcount=2
32ERROR cluster 2 refcount=1 reference=2
33
342 errors were found on the image.
35Data may be corrupted, or further writes to the image may corrupt it.
36incompatible_features 0x0
adb43552 37qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount block); further corruption events will be suppressed
ca0eca91
HR
38write failed: Input/output error
39incompatible_features 0x2
d26e6ec0
HR
40ERROR refcount block 0 refcount=2
41ERROR cluster 2 refcount=1 reference=2
42Rebuilding refcount structure
43Repairing cluster 1 refcount=1 reference=0
44Repairing cluster 2 refcount=2 reference=1
ca0eca91
HR
45The following inconsistencies were found and repaired:
46
47 0 leaked clusters
d26e6ec0 48 2 corruptions
ca0eca91
HR
49
50Double checking the fixed image now...
51No errors were found on the image.
52incompatible_features 0x0
53wrote 512/512 bytes at offset 0
54512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
55incompatible_features 0x0
34eeb82d
HR
56
57=== Testing cluster data reference into inactive L2 table ===
58
7486458c 59Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
34eeb82d
HR
60wrote 512/512 bytes at offset 0
61512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62wrote 512/512 bytes at offset 0
63512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
64ERROR cluster 4 refcount=1 reference=2
65Leaked cluster 9 refcount=1 reference=0
66
671 errors were found on the image.
68Data may be corrupted, or further writes to the image may corrupt it.
69
701 leaked clusters were found on the image.
71This means waste of disk space, but no harm to data.
72incompatible_features 0x0
adb43552 73qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with inactive L2 table); further corruption events will be suppressed
34eeb82d
HR
74write failed: Input/output error
75incompatible_features 0x2
d26e6ec0
HR
76ERROR cluster 4 refcount=1 reference=2
77Leaked cluster 9 refcount=1 reference=0
34eeb82d
HR
78Repairing cluster 4 refcount=1 reference=2
79Repairing cluster 9 refcount=1 reference=0
80Repairing OFLAG_COPIED data cluster: l2_entry=8000000000040000 refcount=2
81The following inconsistencies were found and repaired:
82
83 1 leaked clusters
84 2 corruptions
85
86Double checking the fixed image now...
87No errors were found on the image.
88incompatible_features 0x0
89wrote 512/512 bytes at offset 0
90512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
91incompatible_features 0x0
92read 512/512 bytes at offset 0
93512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
94No errors were found on the image.
95read 512/512 bytes at offset 0
96512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
98d39e34
HR
97
98=== Testing overlap while COW is in flight ===
99
7486458c 100Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
98d39e34
HR
101wrote 65536/65536 bytes at offset 0
10264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
103wrote 65536/65536 bytes at offset 536870912
10464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
105discard 65536/65536 bytes at offset 0
10664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
adb43552 107qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L2 table); further corruption events will be suppressed
98d39e34
HR
108blkdebug: Suspended request '0'
109write failed: Input/output error
110blkdebug: Resuming request '0'
111aio_write failed: No medium found
a42f8a3d
HR
112
113=== Testing unallocated image header ===
114
7486458c 115Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
a42f8a3d
HR
116wrote 65536/65536 bytes at offset 0
11764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
adb43552 118qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with qcow2_header); further corruption events will be suppressed
a42f8a3d 119write failed: Input/output error
5b0ed2be
HR
120
121=== Testing unaligned L1 entry ===
122
7486458c 123Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
124wrote 65536/65536 bytes at offset 0
12564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
126qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
127read failed: Input/output error
f30136b3
HR
128Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
129wrote 65536/65536 bytes at offset 0
13064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
131qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
132qemu-img: Error while amending options: Input/output error
5b0ed2be
HR
133
134=== Testing unaligned L2 entry ===
135
7486458c 136Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
137wrote 65536/65536 bytes at offset 0
13864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
fdfab37d 139qcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
5b0ed2be
HR
140read failed: Input/output error
141
f30136b3
HR
142=== Testing unaligned pre-allocated zero cluster ===
143
144Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
145wrote 65536/65536 bytes at offset 0
14664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
bcb07dba 147qcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
f30136b3
HR
148qemu-img: Error while amending options: Input/output error
149
5b0ed2be
HR
150=== Testing unaligned reftable entry ===
151
7486458c 152Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
153qcow2: Marking image as corrupt: Refblock offset 0x22a00 unaligned (reftable index: 0); further corruption events will be suppressed
154write failed: Input/output error
155
156=== Testing non-fatal corruption on freeing ===
157
7486458c 158Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
159wrote 65536/65536 bytes at offset 0
16064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
161qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
162discard 65536/65536 bytes at offset 0
16364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
164
165=== Testing read-only corruption report ===
166
7486458c 167Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
168wrote 65536/65536 bytes at offset 0
16964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
fdfab37d 170qcow2: Image is corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further non-fatal corruption events will be suppressed
5b0ed2be
HR
171read failed: Input/output error
172read failed: Input/output error
173
174=== Testing non-fatal and then fatal corruption report ===
175
7486458c 176Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
177wrote 131072/131072 bytes at offset 0
178128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
179qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
fdfab37d 180qcow2: Marking image as corrupt: Cluster allocation offset 0x62a00 unaligned (L2 offset: 0x40000, L2 index: 0x1); further corruption events will be suppressed
5b0ed2be
HR
181discard 65536/65536 bytes at offset 0
18264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
183read failed: Input/output error
6bf45d59
AG
184
185=== Testing empty refcount table with valid L1 and L2 tables ===
186
187Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
188wrote 65536/65536 bytes at offset 0
18964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
190qcow2: Marking image as corrupt: Preventing invalid allocation of refcount block at offset 0; further corruption events will be suppressed
191write failed: Input/output error
ca0eca91 192*** done
This page took 0.283762 seconds and 4 git commands to generate.