# man thin_check
thin_check 檢查驗證設備或文件的精簡配置元數據。
thin_check checks thin provisioning metadata created by the device-mapper thin provisioning target on a device or file.
This tool cannot be run on live metadata.
# thin_check -V
0.7.0-0.1.rc6.el7_4.1
# thin_check -h
Usage: thin_check [options] {device|file}
Options:
{-q|--quiet}
{-h|--help}
{-V|--version}
{--clear-needs-check-flag} //如果精簡池元數據檢查成功,請清除需求檢查標志。 如果元數據檢查失敗,則不會清除該標志,並且需要運行thin_repair來修復所有問題。 在thin_repair成功之后,可以再次運行thin_check。
{--ignore-non-fatal-errors} //thin_check僅在發現致命錯誤時才返回非零退出代碼。非致命錯誤的一個示例是錯誤的數據塊引用計數,導致實際上沒有分配的塊被視為已分配。 不建議長時間忽略錯誤,應該使用thin_repair修復它們。
{--skip-mappings} //跳過對構成大量元數據的塊映射的檢查。
{--super-block-only} //僅檢查超級塊是否存在。
相關命令 thin_dump(8) thin_repair(8) thin_restore(8) thin_rmap(8) thin_metadata_size(8)
man手冊
https://www.systutorials.com/docs/linux/man/8-thin_check/
Thin Provision介紹:不知道誰抄的誰
https://blog.csdn.net/helloanthea/article/details/51701771
https://blog.51cto.com/jettcai/2149842