sg_reset_wp
send SCSI RESET WRITE POINTER command
- Provided by: sg3-utils (Version: 1.48-3ubuntu3)
- Report a bug
send SCSI RESET WRITE POINTER command
sg_reset_wp [--all] [--count=ZC] [--help] [--verbose] [--version] [--zone=ID] DEVICE
Sends a SCSI RESET WRITE POINTER command to the DEVICE. This command is described in ZBC standard (INCITS 536-2016) and the draft ZBC-2 documents at T10 (e.g. zbc2r12.pdf).
Arguments to long options are mandatory for short options as well.
The Zones Emptied log parameter in the Zoned Block Device Statistics log page counts the number of times the RESET WRITE POINTER command has been (successfully) invoked.
The exit status of sg_reset_wp 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-2022 Douglas Gilbert
This software is distributed under a BSD-2-Clause license. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
sg_rep_zones,sg_zone(sg3_utils)