GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SG_ZONE(8) SG3_UTILS SG_ZONE(8)

sg_zone - send SCSI OPEN, CLOSE, FINISH or SEQUENTIALIZE ZONE command

sg_zone [--all] [--close] [--count=ZC] [--finish] [--help] [--open] [--sequentialize] [--verbose] [--version] [--zone=ID] DEVICE

Sends a SCSI OPEN ZONE, CLOSE ZONE, FINISH ZONE or SEQUENTIALIZE ZONE command to the DEVICE. All but the last are found in the soon to be released ZBC standard (close to draft ZBC BSR INCITS 536 revision 05). The SEQUENTIALIZE ZONE command was added in zbc2r01b.

One and only one of the --open, --close, --finish and --sequentialize options can be chosen.

Arguments to long options are mandatory for short options as well.
-a, --all
sets the ALL field in the cdb.
-c, --close
causes the CLOSE ZONE command to be sent to the DEVICE.
-C, --count=ZC
ZC is placed in the Zone Count field in the cdb of all four commands supported by this utility. ZC should be a value from 0 to 65535 (0xffff) inclusive.
-f, --finish
causes the FINISH ZONE command to be sent to the DEVICE.
-h, --help
output the usage message then exit.
-o, --open
causes the OPEN ZONE command to be sent to the DEVICE.
-S, --sequentialize
causes the SEQUENTIALIZE ZONE command to be sent to the DEVICE.
-v, --verbose
increase the level of verbosity, (i.e. debug output).
-V, --version
print the version string and then exit.
-z, --zone=ID
where ID is placed in the cdb's ZONE ID field. A zone id is a zone start logical block address (LBA). The default value is 0. ID is assumed to be in decimal unless prefixed with '0x' or has a trailing 'h' which indicate hexadecimal.

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

Written by Douglas Gilbert.

Report bugs to <dgilbert at interlog dot com>.

Copyright © 2014-2018 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

sg_rep_zones,sg_reset_wp(sg3_utils)
May 2018 sg3_utils-1.43

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.