table of contents
ZBC(8) | System Manager's Manual | ZBC(8) |
NAME¶
zbc_report_zones - Display zone information of a ZBC or ZAC device
SYNOPSIS¶
zbc_report_zones [options] device
DESCRIPTION¶
zbc_report_zones is used to display information on the zones of a ZBC or ZAC device.
The device argument must be the pathname to the target device block device file (e.g., /dev/sdb), or to the target device SG node file (e.g., /dev/sg3). On old kernels lacking ZBC and ZAC support, only the device SG node file will be available.
OPTIONS¶
The following options can be specified.
- -h, --help
- Display a usage help message and exit.
- -v
- Verbose mode (for debugging problems).
- -lba
- By default, zone information use 512B sector unit regardless of the device logical block size. This option forces displaying zone information using the device logical block size (LBA) as the unit.
- -start sector
- Display information on zones starting from the zone including the specified sector. If the option -lba is used, sector is interpreted as a logical block address. Otherwise, sector is assumed to be a 512B sector value.
- -n
- Only get the number of zones of a report instead of displaying all zones information.
- -nz num
- Display information on at most num zones
- -ro ro
- Specify a reporting option. ro can be one of the following value:
all Report all zones (default) empty Report empty zones imp_open Only report implicitly open zones exp_open Only report explicitly open zones closed Only report closed zones full Only report full zones rdonly Only report read-only zones offline Only report offline zones not_wp Only report zones that are not write pointer zones
AUTHOR¶
Damien Le Moal <damien.lemoal@wdc.com>
SEE ALSO¶
AVAILABILITY¶
The zbc_report_zones utility is part of the libzbc library available from https://github.com/westerndigitalcorporation/libzbc.