1 .TH BLKZONE 8 "February 2017" "util-linux" "System Administration"
3 blkzone \- run zone command on a device
11 is used to run zone command on device that support the Zoned Block Commands
12 (ZBC) or Zoned-device ATA Commands (ZAC). The zones to operate on can be
13 specified using the offset, count and length options.
17 argument is the pathname of the block device.
20 The command \fBblkzone report\fP is used to report device zone information.
22 By default, the command will report all zones from the start of the
23 block device. Options may be used to modify this behavior, changing the
24 starting zone or the size of the report, as explained below.
30 start:Zone start sector
31 len:Zone length in number of sectors
32 wptr:Zone write pointer position
33 reset:Reset write pointer recommended
34 non-seq:Non-sequential write resources active
51 x?:Reserved conditions (should not be reported)
55 The command \fBblkzone reset\fP is used to reset one or more zones. Unlike
57 this command operates from the block layer and can reset a range of zones.
59 By default, the command will operate from the zone at device
60 sector 0 and reset all zones. Options may be used to modify this behavior
61 as well as specify the operation to be performed on the zone, as explained below.
68 option arguments may be followed by the multiplicative suffixes KiB (=1024),
69 MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB (the "iB" is
70 optional, e.g., "K" has the same meaning as "KiB") or the suffixes
71 KB (=1000), MB (=1000*1000), and so on for GB, TB, PB, EB, ZB and YB.
72 Additionally, the 0x prefix can be used to specify \fIoffset\fR and
75 .BR \-o , " \-\-offset "\fIsector\fP
76 The starting zone specified as a sector offset. The provided offset in sector
77 units (512 bytes) should match the start of a zone. The default value is zero.
79 .BR \-l , " \-\-length "\fIsectors\fP
80 The maximum number of sectors the command should operate on. The default value
81 is the number of sectors remaining after \fIoffset\fR. This option cannot be
82 used together with the option \fB\-\-count\fP.
84 .BR \-c , " \-\-count "\fIcount\fP
85 The maximum number of zones the command should operate on. The default value
86 is the number of zones starting from \fIoffset\fR. This option cannot be
87 used together with the option \fB\-\-length\fP.
89 .BR \-v , " \-\-verbose"
90 Display the number of zones returned in the report or the range of sectors
93 .BR \-V , " \-\-version"
94 Display version information and exit.
97 Display help text and exit.
100 Shaun Tancheff <shaun@tancheff.com>
101 Karel Zak <kzak@redhat.com>
106 The blkzone command is part of the util-linux package and is available from
107 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/