freebsd-dev/sbin/camcontrol
Warner Losh 53cce2e744 camcontrol: depop command
Implement and document the new depop command. This command manages drive elements
for drives that support it. Storage elements are typically heads. Element status
can be discovered. Elements may be removed or restored. And the status of any
current depop operation can be assessed.

depop -d elm will remove element elm and truncate available capacity.
depop -l will list the current drive elements and their current status.
depop -r elm will try to restore all retired elements and rebuild capacity.

Changing storage elements may reinitialize the drive. This operation will lose
data and may take hours to complete. Use the drive provided timeout for
operations by default.

Reviewed by:		gbe (manpages)
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D29018
2021-09-20 16:27:59 -06:00
..
attrib.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00
camcontrol.8 camcontrol: depop command 2021-09-20 16:27:59 -06:00
camcontrol.c camcontrol: depop command 2021-09-20 16:27:59 -06:00
camcontrol.h camcontrol: depop command 2021-09-20 16:27:59 -06:00
depop.c camcontrol: depop command 2021-09-20 16:27:59 -06:00
epc.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00
fwdownload.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00
Makefile camcontrol: depop command 2021-09-20 16:27:59 -06:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
modeedit.c sbin/camcontrol: use calloc/strlcpy where appropriate. 2021-01-03 22:52:28 -08:00
persist.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00
progress.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
progress.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
timestamp.c Use present now scsi_mode_sense_subpage(). 2019-07-29 20:41:11 +00:00
util.c sbin/camcontrol: use calloc/strlcpy where appropriate. 2021-01-03 22:52:28 -08:00
zone.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00