1SG_ZONE(8)                         SG3_UTILS                        SG_ZONE(8)
2
3
4

NAME

6       sg_zone - send SCSI OPEN, CLOSE or FINISH ZONE command
7

SYNOPSIS

9       sg_zone  [--all]  [--close]  [--finish]  [--help]  [--open] [--verbose]
10       [--version] [--zone=ID] DEVICE
11

DESCRIPTION

13       Sends a SCSI OPEN ZONE, CLOSE  ZONE  or  FINISH  ZONE  command  to  the
14       DEVICE.  These commands are found in the ZBC draft standard revision 4c
15       (zbc-r04c.pdf).
16
17       One and only one of the --open, --close and  --finish  options  can  be
18       chosen.
19

OPTIONS

21       Arguments to long options are mandatory for short options as well.
22
23       -a, --all
24              sets the ALL field in the cdb.
25
26       -c, --close
27              causes the CLOSE ZONE command to be sent to the DEVICE.
28
29       -f, --finish
30              causes the FINISH ZONE command to be sent to the DEVICE.
31
32       -h, --help
33              output the usage message then exit.
34
35       -o, --open
36              causes the OPEN ZONE command to be sent to the DEVICE.
37
38       -v, --verbose
39              increase the level of verbosity, (i.e. debug output).
40
41       -V, --version
42              print the version string and then exit.
43
44       -z, --zone=ID
45              where  ID  is  placed in the cdb's ZONE ID field. A zone id is a
46              zone start logical block address (LBA). The default value is  0.
47              ID  is assumed to be in decimal unless prefixed with '0x' or has
48              a trailing 'h' which indicate hexadecimal.
49

EXIT STATUS

51       The exit status of sg_zone is 0 when it is  successful.  Otherwise  see
52       the sg3_utils(8) man page.
53

AUTHORS

55       Written by Douglas Gilbert.
56

REPORTING BUGS

58       Report bugs to <dgilbert at interlog dot com>.
59
61       Copyright © 2014-2015 Douglas Gilbert
62       This  software is distributed under a FreeBSD license. There is NO war‐
63       ranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR  PUR‐
64       POSE.
65

SEE ALSO

67       sg_rep_zones,sg_reset_wp(sg3_utils)
68
69
70
71sg3_utils-1.42                   November 2015                      SG_ZONE(8)
Impressum