# qemu-img check xxxxxx.qcow2
RAID 10 에러로 인한 이미지 손상시 발생된 에러
ERROR OFLAG_COPIED: offset=800000079cd6b000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd6c000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd87000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd88000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd89000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd8a000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd8b000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd8c000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd8d000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd8e000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd8f000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd90000 refcount=0
ERROR OFLAG_COPIED: offset=800000079cd91000 refcount=0
정상백업된 데이타를 덮어씌울경우 (ex: truncate -s 100 xxxx.qcow2)
Warning: cluster offset=0x30000 is after the end of the image file, can't properly check refcounts.
Warning: cluster offset=0x10000 is after the end of the image file, can't properly check refcounts.
ERROR cluster 0 refcount=0 reference=1
1 errors were found on the image.
Data may be corrupted, or further writes to the image may corrupt it.
2 internal errors have occurred during the check.
An error has occurred during the check: Success
The check is not complete and may have missed error.
convert 도중 중단할 경우는 이미지 에러로 포함되지 않음
No errors were found on the image.
check [-f fmt] [-r [leaks | all]] filename
Parameters to check subcommand:
'-r' tries to repair any inconsistencies that are found during the check.
'-r leaks' repairs only cluster leaks, whereas '-r all' fixes all
kinds of errors, with a higher risk of choosing the wrong fix or
hiding corruption that has already occurred.