1*b41ad73aSMax ReitzQA output created by 217 2*b41ad73aSMax Reitz 3*b41ad73aSMax Reitz=== Simulating an I/O error during snapshot deletion === 4*b41ad73aSMax Reitz 5*b41ad73aSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 6*b41ad73aSMax Reitzwrote 65536/65536 bytes at offset 0 7*b41ad73aSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 8*b41ad73aSMax Reitz 9*b41ad73aSMax ReitzSnapshot list: 10*b41ad73aSMax Reitz(Snapshot filtered) 11*b41ad73aSMax Reitz 12*b41ad73aSMax Reitzqcow2_free_clusters failed: Input/output error 13*b41ad73aSMax Reitzqemu-img: Could not delete snapshot 'foo': Failed to free the cluster and L1 table: Input/output error 14*b41ad73aSMax Reitz 15*b41ad73aSMax Reitz--- Checking test image --- 16*b41ad73aSMax ReitzLeaked cluster 4 refcount=2 reference=1 17*b41ad73aSMax ReitzLeaked cluster 5 refcount=2 reference=1 18*b41ad73aSMax ReitzLeaked cluster 6 refcount=1 reference=0 19*b41ad73aSMax ReitzLeaked cluster 7 refcount=1 reference=0 20*b41ad73aSMax Reitz 21*b41ad73aSMax Reitz4 leaked clusters were found on the image. 22*b41ad73aSMax ReitzThis means waste of disk space, but no harm to data. 23*b41ad73aSMax Reitz 24*b41ad73aSMax Reitz--- Repairing test image --- 25*b41ad73aSMax ReitzLeaked cluster 4 refcount=2 reference=1 26*b41ad73aSMax ReitzLeaked cluster 5 refcount=2 reference=1 27*b41ad73aSMax ReitzLeaked cluster 6 refcount=1 reference=0 28*b41ad73aSMax ReitzLeaked cluster 7 refcount=1 reference=0 29*b41ad73aSMax ReitzRepairing cluster 4 refcount=2 reference=1 30*b41ad73aSMax ReitzRepairing cluster 5 refcount=2 reference=1 31*b41ad73aSMax ReitzRepairing cluster 6 refcount=1 reference=0 32*b41ad73aSMax ReitzRepairing cluster 7 refcount=1 reference=0 33*b41ad73aSMax ReitzRepairing OFLAG_COPIED L2 cluster: l1_index=0 l1_entry=40000 refcount=1 34*b41ad73aSMax ReitzRepairing OFLAG_COPIED data cluster: l2_entry=50000 refcount=1 35*b41ad73aSMax ReitzThe following inconsistencies were found and repaired: 36*b41ad73aSMax Reitz 37*b41ad73aSMax Reitz 4 leaked clusters 38*b41ad73aSMax Reitz 2 corruptions 39*b41ad73aSMax Reitz 40*b41ad73aSMax ReitzDouble checking the fixed image now... 41*b41ad73aSMax ReitzNo errors were found on the image. 42*b41ad73aSMax Reitz*** done 43