Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Check mode basics

Darren Ldl edited this page Apr 6, 2019 · 5 revisions

Typical command invocation

blkar check CONTAINER

You may find the verbose flag especially useful in this mode, as it will display the exact locations of the blocks that failed the check.

Sample run with verbose flag

$ blkar check test.sbx -v
Press Ctrl-C to interrupt
Reference block scanning progress
Time elapsed : 00:00:00  Average rate :      2K bytes/s

Using metadata block as reference block, SBX version 17, located at byte 0 (0x0)

SBX block checking progress
Block failed check, version : 17, block size : 512, at byte 512 (0x200)
Block failed check, version : 17, block size : 512, at byte 1536 (0x600)
Block failed check, version : 17, block size : 512, at byte 2048 (0x800)
Block failed check, version : 17, block size : 512, at byte 2560 (0xA00)
Block failed check, version : 17, block size : 512, at byte 220160 (0x35C00)
Block failed check, version : 17, block size : 512, at byte 507904 (0x7C000)
Block failed check, version : 17, block size : 512, at byte 625664 (0x98C00)
Block failed check, version : 17, block size : 512, at byte 955392 (0xE9400)

Time elapsed : 00:00:00  Average rate :     25K bytes/s
SBX version                              : 17
Block size used in checking              : 512
Number of blocks processed               : 2547
Number of blocks passed check (metadata) : 2
Number of blocks passed check (data)     : 2537
Number of blocks failed check            : 8
Time elapsed                             : 00:00:00