table of contents
ZBC(8) | System Manager's Manual | ZBC(8) |
NAME¶
zbc_finish_zone - Finish zones of a ZBC or ZAC device
SYNOPSIS¶
zbc_finish_zone [options] device [zone]
DESCRIPTION¶
zbc_finish_zone is used to finish (transition to full state) 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.
The zone argument specifies the zone to be finished. This argument is ignored if the -all option is used. By default, the zone argument specifies a zone number, starting from 0 for the first zone of the device. If the option -lba is specified, the zone argument is interpreted as the start LBA of the zone to finish. If the option -sector is specified, then the zone argument is interpreted as the start sector (512B unit) of the zone to finish.
OPTIONS¶
The following options can be specified.
- -h, --help
- Display a usage help message and exit.
- -v
- Verbose mode (for debugging problems).
- -sector
- Interpret the zone argument as the start sector (512B unit) of the zone to finish.
- -lba
- Interpret the zone argument as the start LBA of the zone to finish.
- -all
- Ignore the zone argument and finish all non empty zones of the device.
AUTHOR¶
Damien Le Moal <damien.lemoal@wdc.com>
SEE ALSO¶
AVAILABILITY¶
The zbc_finish_zone utility is part of the libzbc library available from https://github.com/westerndigitalcorporation/libzbc.