2013-08-30 16:34:31 +04:00
|
|
|
QA output created by 060
|
|
|
|
|
|
|
|
=== Testing L2 reference into L1 ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-08-30 16:34:31 +04:00
|
|
|
ERROR cluster 3 refcount=1 reference=3
|
|
|
|
|
|
|
|
1 errors were found on the image.
|
|
|
|
Data may be corrupted, or further writes to the image may corrupt it.
|
|
|
|
incompatible_features 0x0
|
2014-09-05 18:07:17 +04:00
|
|
|
qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L1 table); further corruption events will be suppressed
|
2013-08-30 16:34:31 +04:00
|
|
|
write failed: Input/output error
|
|
|
|
incompatible_features 0x2
|
2014-11-27 17:03:53 +03:00
|
|
|
image: TEST_DIR/t.IMGFMT
|
|
|
|
file format: IMGFMT
|
2014-09-30 23:31:29 +04:00
|
|
|
virtual size: 64M (67108864 bytes)
|
|
|
|
cluster_size: 65536
|
|
|
|
Format specific information:
|
|
|
|
compat: 1.1
|
|
|
|
lazy refcounts: false
|
2015-02-10 23:28:44 +03:00
|
|
|
refcount bits: 16
|
2014-09-30 23:31:29 +04:00
|
|
|
corrupt: true
|
2015-12-18 18:35:18 +03:00
|
|
|
can't open device TEST_DIR/t.IMGFMT: IMGFMT: Image is corrupt; cannot be opened read/write
|
2013-08-30 16:34:31 +04:00
|
|
|
read 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
|
|
|
|
=== Testing cluster data reference into refcount block ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-08-30 16:34:31 +04:00
|
|
|
ERROR refcount block 0 refcount=2
|
|
|
|
ERROR cluster 2 refcount=1 reference=2
|
|
|
|
|
|
|
|
2 errors were found on the image.
|
|
|
|
Data may be corrupted, or further writes to the image may corrupt it.
|
|
|
|
incompatible_features 0x0
|
2014-09-05 18:07:17 +04:00
|
|
|
qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount block); further corruption events will be suppressed
|
2013-08-30 16:34:31 +04:00
|
|
|
write failed: Input/output error
|
|
|
|
incompatible_features 0x2
|
2014-10-22 16:09:42 +04:00
|
|
|
ERROR refcount block 0 refcount=2
|
|
|
|
ERROR cluster 2 refcount=1 reference=2
|
|
|
|
Rebuilding refcount structure
|
|
|
|
Repairing cluster 1 refcount=1 reference=0
|
|
|
|
Repairing cluster 2 refcount=2 reference=1
|
2013-08-30 16:34:31 +04:00
|
|
|
The following inconsistencies were found and repaired:
|
|
|
|
|
|
|
|
0 leaked clusters
|
2014-10-22 16:09:42 +04:00
|
|
|
2 corruptions
|
2013-08-30 16:34:31 +04:00
|
|
|
|
|
|
|
Double checking the fixed image now...
|
|
|
|
No errors were found on the image.
|
|
|
|
incompatible_features 0x0
|
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
incompatible_features 0x0
|
2013-10-11 16:02:11 +04:00
|
|
|
|
|
|
|
=== Testing cluster data reference into inactive L2 table ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-10-11 16:02:11 +04:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
ERROR cluster 4 refcount=1 reference=2
|
|
|
|
Leaked cluster 9 refcount=1 reference=0
|
|
|
|
|
|
|
|
1 errors were found on the image.
|
|
|
|
Data may be corrupted, or further writes to the image may corrupt it.
|
|
|
|
|
|
|
|
1 leaked clusters were found on the image.
|
|
|
|
This means waste of disk space, but no harm to data.
|
|
|
|
incompatible_features 0x0
|
2014-09-05 18:07:17 +04:00
|
|
|
qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with inactive L2 table); further corruption events will be suppressed
|
2013-10-11 16:02:11 +04:00
|
|
|
write failed: Input/output error
|
|
|
|
incompatible_features 0x2
|
2014-10-22 16:09:42 +04:00
|
|
|
ERROR cluster 4 refcount=1 reference=2
|
|
|
|
Leaked cluster 9 refcount=1 reference=0
|
2013-10-11 16:02:11 +04:00
|
|
|
Repairing cluster 4 refcount=1 reference=2
|
|
|
|
Repairing cluster 9 refcount=1 reference=0
|
|
|
|
Repairing OFLAG_COPIED data cluster: l2_entry=8000000000040000 refcount=2
|
|
|
|
The following inconsistencies were found and repaired:
|
|
|
|
|
|
|
|
1 leaked clusters
|
|
|
|
2 corruptions
|
|
|
|
|
|
|
|
Double checking the fixed image now...
|
|
|
|
No errors were found on the image.
|
|
|
|
incompatible_features 0x0
|
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
incompatible_features 0x0
|
|
|
|
read 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2014-03-11 02:44:09 +04:00
|
|
|
|
|
|
|
=== Testing overlap while COW is in flight ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
|
2014-03-11 02:44:09 +04:00
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 65536/65536 bytes at offset 536870912
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
discard 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2014-09-05 18:07:17 +04:00
|
|
|
qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L2 table); further corruption events will be suppressed
|
2014-03-11 02:44:09 +04:00
|
|
|
blkdebug: Suspended request '0'
|
|
|
|
write failed: Input/output error
|
|
|
|
blkdebug: Resuming request '0'
|
|
|
|
aio_write failed: No medium found
|
2014-08-08 00:47:54 +04:00
|
|
|
|
|
|
|
=== Testing unallocated image header ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2014-08-08 00:47:54 +04:00
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2014-09-05 18:07:17 +04:00
|
|
|
qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with qcow2_header); further corruption events will be suppressed
|
2014-08-08 00:47:54 +04:00
|
|
|
write failed: Input/output error
|
2014-09-05 18:07:19 +04:00
|
|
|
|
|
|
|
=== Testing unaligned L1 entry ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2014-09-05 18:07:19 +04:00
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
|
|
|
|
read failed: Input/output error
|
2015-01-19 23:49:04 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
|
|
|
|
qemu-img: Error while amending options: Input/output error
|
2014-09-05 18:07:19 +04:00
|
|
|
|
|
|
|
=== Testing unaligned L2 entry ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2014-09-05 18:07:19 +04:00
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2017-05-07 03:05:46 +03:00
|
|
|
qcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
|
2014-09-05 18:07:19 +04:00
|
|
|
read failed: Input/output error
|
|
|
|
|
2015-01-19 23:49:04 +03:00
|
|
|
=== Testing unaligned pre-allocated zero cluster ===
|
|
|
|
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2017-05-08 20:13:02 +03:00
|
|
|
qcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
|
2015-01-19 23:49:04 +03:00
|
|
|
qemu-img: Error while amending options: Input/output error
|
|
|
|
|
2014-09-05 18:07:19 +04:00
|
|
|
=== Testing unaligned reftable entry ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2014-09-05 18:07:19 +04:00
|
|
|
qcow2: Marking image as corrupt: Refblock offset 0x22a00 unaligned (reftable index: 0); further corruption events will be suppressed
|
|
|
|
write failed: Input/output error
|
|
|
|
|
|
|
|
=== Testing non-fatal corruption on freeing ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2014-09-05 18:07:19 +04:00
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
|
|
|
|
discard 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
|
|
|
|
=== Testing read-only corruption report ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2014-09-05 18:07:19 +04:00
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2017-05-07 03:05:46 +03:00
|
|
|
qcow2: Image is corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further non-fatal corruption events will be suppressed
|
2014-09-05 18:07:19 +04:00
|
|
|
read failed: Input/output error
|
|
|
|
read failed: Input/output error
|
|
|
|
|
|
|
|
=== Testing non-fatal and then fatal corruption report ===
|
|
|
|
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2014-09-05 18:07:19 +04:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
|
2017-05-07 03:05:46 +03:00
|
|
|
qcow2: Marking image as corrupt: Cluster allocation offset 0x62a00 unaligned (L2 offset: 0x40000, L2 index: 0x1); further corruption events will be suppressed
|
2014-09-05 18:07:19 +04:00
|
|
|
discard 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
read failed: Input/output error
|
2013-08-30 16:34:31 +04:00
|
|
|
*** done
|