Scroll to navigation

ZBC(8) System Manager's Manual ZBC(8)

NAME

zbc_open_zone - Explicitly open zones of a ZBC or ZAC device

SYNOPSIS

zbc_open_zone [options] device [zone]

DESCRIPTION

zbc_open_zone is used to explicitly open one or all 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 open. 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 explicitly open. If the option -sector is specified, then the zone argument is interpreted as the start sector (512B unit) of the zone to open.

OPTIONS

The following options can be specified.

Display a usage help message and exit.
Verbose mode (for debugging problems).
Interpret the zone argument as the start sector (512B unit) of the zone to open.
Interpret the zone argument as the start LBA of the zone to open.
Ignore the zone argument and open all zones of the device.

AUTHOR

Damien Le Moal <damien.lemoal@wdc.com>

SEE ALSO

blkzone(8)

AVAILABILITY

The zbc_open_zone utility is part of the libzbc library available from https://github.com/westerndigitalcorporation/libzbc.