1ca0eca91SMax ReitzQA output created by 060 2ca0eca91SMax Reitz 3ca0eca91SMax Reitz=== Testing L2 reference into L1 === 4ca0eca91SMax Reitz 5ca0eca91SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 6ca0eca91SMax ReitzERROR cluster 3 refcount=1 reference=3 7ca0eca91SMax Reitz 8ca0eca91SMax Reitz1 errors were found on the image. 9ca0eca91SMax ReitzData may be corrupted, or further writes to the image may corrupt it. 10ca0eca91SMax Reitzincompatible_features 0x0 11adb43552SMax Reitzqcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L1 table); further corruption events will be suppressed 12ca0eca91SMax Reitzwrite failed: Input/output error 13ca0eca91SMax Reitzincompatible_features 0x2 14e800e5d4SKevin Wolfimage: TEST_DIR/t.IMGFMT 15e800e5d4SKevin Wolffile format: IMGFMT 16f383611aSMax Reitzvirtual size: 64M (67108864 bytes) 17f383611aSMax Reitzcluster_size: 65536 18f383611aSMax ReitzFormat specific information: 19f383611aSMax Reitz compat: 1.1 20f383611aSMax Reitz lazy refcounts: false 210709c5a1SMax Reitz refcount bits: 16 22f383611aSMax Reitz corrupt: true 23b9884681SMarkus Armbrustercan't open device TEST_DIR/t.IMGFMT: IMGFMT: Image is corrupt; cannot be opened read/write 24ca0eca91SMax Reitzread 512/512 bytes at offset 0 25ca0eca91SMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 26ca0eca91SMax Reitz 27ca0eca91SMax Reitz=== Testing cluster data reference into refcount block === 28ca0eca91SMax Reitz 29ca0eca91SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 30ca0eca91SMax ReitzERROR refcount block 0 refcount=2 31ca0eca91SMax ReitzERROR cluster 2 refcount=1 reference=2 32ca0eca91SMax Reitz 33ca0eca91SMax Reitz2 errors were found on the image. 34ca0eca91SMax ReitzData may be corrupted, or further writes to the image may corrupt it. 35ca0eca91SMax Reitzincompatible_features 0x0 36adb43552SMax Reitzqcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount block); further corruption events will be suppressed 37ca0eca91SMax Reitzwrite failed: Input/output error 38ca0eca91SMax Reitzincompatible_features 0x2 39d26e6ec0SMax ReitzERROR refcount block 0 refcount=2 40d26e6ec0SMax ReitzERROR cluster 2 refcount=1 reference=2 41d26e6ec0SMax ReitzRebuilding refcount structure 42d26e6ec0SMax ReitzRepairing cluster 1 refcount=1 reference=0 43d26e6ec0SMax ReitzRepairing cluster 2 refcount=2 reference=1 44ca0eca91SMax ReitzThe following inconsistencies were found and repaired: 45ca0eca91SMax Reitz 46ca0eca91SMax Reitz 0 leaked clusters 47d26e6ec0SMax Reitz 2 corruptions 48ca0eca91SMax Reitz 49ca0eca91SMax ReitzDouble checking the fixed image now... 50ca0eca91SMax ReitzNo errors were found on the image. 51ca0eca91SMax Reitzincompatible_features 0x0 52ca0eca91SMax Reitzwrote 512/512 bytes at offset 0 53ca0eca91SMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 54ca0eca91SMax Reitzincompatible_features 0x0 5534eeb82dSMax Reitz 5634eeb82dSMax Reitz=== Testing cluster data reference into inactive L2 table === 5734eeb82dSMax Reitz 5834eeb82dSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 5934eeb82dSMax Reitzwrote 512/512 bytes at offset 0 6034eeb82dSMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 6134eeb82dSMax Reitzwrote 512/512 bytes at offset 0 6234eeb82dSMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 6334eeb82dSMax ReitzERROR cluster 4 refcount=1 reference=2 6434eeb82dSMax ReitzLeaked cluster 9 refcount=1 reference=0 6534eeb82dSMax Reitz 6634eeb82dSMax Reitz1 errors were found on the image. 6734eeb82dSMax ReitzData may be corrupted, or further writes to the image may corrupt it. 6834eeb82dSMax Reitz 6934eeb82dSMax Reitz1 leaked clusters were found on the image. 7034eeb82dSMax ReitzThis means waste of disk space, but no harm to data. 7134eeb82dSMax Reitzincompatible_features 0x0 72adb43552SMax Reitzqcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with inactive L2 table); further corruption events will be suppressed 7334eeb82dSMax Reitzwrite failed: Input/output error 7434eeb82dSMax Reitzincompatible_features 0x2 75d26e6ec0SMax ReitzERROR cluster 4 refcount=1 reference=2 76d26e6ec0SMax ReitzLeaked cluster 9 refcount=1 reference=0 7734eeb82dSMax ReitzRepairing cluster 4 refcount=1 reference=2 7834eeb82dSMax ReitzRepairing cluster 9 refcount=1 reference=0 7934eeb82dSMax ReitzRepairing OFLAG_COPIED data cluster: l2_entry=8000000000040000 refcount=2 8034eeb82dSMax ReitzThe following inconsistencies were found and repaired: 8134eeb82dSMax Reitz 8234eeb82dSMax Reitz 1 leaked clusters 8334eeb82dSMax Reitz 2 corruptions 8434eeb82dSMax Reitz 8534eeb82dSMax ReitzDouble checking the fixed image now... 8634eeb82dSMax ReitzNo errors were found on the image. 8734eeb82dSMax Reitzincompatible_features 0x0 8834eeb82dSMax Reitzwrote 512/512 bytes at offset 0 8934eeb82dSMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 9034eeb82dSMax Reitzincompatible_features 0x0 9134eeb82dSMax Reitzread 512/512 bytes at offset 0 9234eeb82dSMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 9334eeb82dSMax ReitzNo errors were found on the image. 9434eeb82dSMax Reitzread 512/512 bytes at offset 0 9534eeb82dSMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 9698d39e34SMax Reitz 9798d39e34SMax Reitz=== Testing overlap while COW is in flight === 9898d39e34SMax Reitz 9998d39e34SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 10098d39e34SMax Reitzwrote 65536/65536 bytes at offset 0 10198d39e34SMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 10298d39e34SMax Reitzwrote 65536/65536 bytes at offset 536870912 10398d39e34SMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 10498d39e34SMax Reitzdiscard 65536/65536 bytes at offset 0 10598d39e34SMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 106adb43552SMax Reitzqcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L2 table); further corruption events will be suppressed 10798d39e34SMax Reitzblkdebug: Suspended request '0' 10898d39e34SMax Reitzwrite failed: Input/output error 10998d39e34SMax Reitzblkdebug: Resuming request '0' 11098d39e34SMax Reitzaio_write failed: No medium found 111a42f8a3dSMax Reitz 112a42f8a3dSMax Reitz=== Testing unallocated image header === 113a42f8a3dSMax Reitz 114a42f8a3dSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 115a42f8a3dSMax Reitzwrote 65536/65536 bytes at offset 0 116a42f8a3dSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 117adb43552SMax Reitzqcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with qcow2_header); further corruption events will be suppressed 118a42f8a3dSMax Reitzwrite failed: Input/output error 1195b0ed2beSMax Reitz 1205b0ed2beSMax Reitz=== Testing unaligned L1 entry === 1215b0ed2beSMax Reitz 1225b0ed2beSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 1235b0ed2beSMax Reitzwrote 65536/65536 bytes at offset 0 1245b0ed2beSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 1255b0ed2beSMax Reitzqcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed 1265b0ed2beSMax Reitzread failed: Input/output error 127f30136b3SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 128f30136b3SMax Reitzwrote 65536/65536 bytes at offset 0 129f30136b3SMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 130f30136b3SMax Reitzqcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed 131f30136b3SMax Reitzqemu-img: Error while amending options: Input/output error 1325b0ed2beSMax Reitz 1335b0ed2beSMax Reitz=== Testing unaligned L2 entry === 1345b0ed2beSMax Reitz 1355b0ed2beSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 1365b0ed2beSMax Reitzwrote 65536/65536 bytes at offset 0 1375b0ed2beSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 138fdfab37dSEric Blakeqcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed 1395b0ed2beSMax Reitzread failed: Input/output error 1405b0ed2beSMax Reitz 141f30136b3SMax Reitz=== Testing unaligned pre-allocated zero cluster === 142f30136b3SMax Reitz 143f30136b3SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 144f30136b3SMax Reitzwrote 65536/65536 bytes at offset 0 145f30136b3SMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 146*bcb07dbaSEric Blakeqcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed 147f30136b3SMax Reitzqemu-img: Error while amending options: Input/output error 148f30136b3SMax Reitz 1495b0ed2beSMax Reitz=== Testing unaligned reftable entry === 1505b0ed2beSMax Reitz 1515b0ed2beSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 1525b0ed2beSMax Reitzqcow2: Marking image as corrupt: Refblock offset 0x22a00 unaligned (reftable index: 0); further corruption events will be suppressed 1535b0ed2beSMax Reitzwrite failed: Input/output error 1545b0ed2beSMax Reitz 1555b0ed2beSMax Reitz=== Testing non-fatal corruption on freeing === 1565b0ed2beSMax Reitz 1575b0ed2beSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 1585b0ed2beSMax Reitzwrote 65536/65536 bytes at offset 0 1595b0ed2beSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 1605b0ed2beSMax Reitzqcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed 1615b0ed2beSMax Reitzdiscard 65536/65536 bytes at offset 0 1625b0ed2beSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 1635b0ed2beSMax Reitz 1645b0ed2beSMax Reitz=== Testing read-only corruption report === 1655b0ed2beSMax Reitz 1665b0ed2beSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 1675b0ed2beSMax Reitzwrote 65536/65536 bytes at offset 0 1685b0ed2beSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 169fdfab37dSEric Blakeqcow2: Image is corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further non-fatal corruption events will be suppressed 1705b0ed2beSMax Reitzread failed: Input/output error 1715b0ed2beSMax Reitzread failed: Input/output error 1725b0ed2beSMax Reitz 1735b0ed2beSMax Reitz=== Testing non-fatal and then fatal corruption report === 1745b0ed2beSMax Reitz 1755b0ed2beSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 1765b0ed2beSMax Reitzwrote 131072/131072 bytes at offset 0 1775b0ed2beSMax Reitz128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 1785b0ed2beSMax Reitzqcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed 179fdfab37dSEric Blakeqcow2: Marking image as corrupt: Cluster allocation offset 0x62a00 unaligned (L2 offset: 0x40000, L2 index: 0x1); further corruption events will be suppressed 1805b0ed2beSMax Reitzdiscard 65536/65536 bytes at offset 0 1815b0ed2beSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 1825b0ed2beSMax Reitzread failed: Input/output error 183ca0eca91SMax Reitz*** done 184