nvme-write-zeroes(1) ==================== NAME ---- nvme-write-zeroes - Send an NVMe write zeroes command, return results SYNOPSIS -------- [verse] 'nvme-write-zeroes' [--start-block= | -s ] [--block-count= | -c ] [--ref-tag= | -r ] [--prinfo= | -p ] [--app-tag-mask= | -m ] [--app-tag= | -a ] [--deac | -d] [--limited-retry | -l] [--force-unit-access | -f] [--namespace-id= | -n ] [--storage-tag | -S ] [--storage-tag-check | -C ] [--dir-type= | -T ] [--dir-spec= | -D ] [--output-format= | -o ] [--verbose | -v] DESCRIPTION ----------- The Write Zeroes command is used to set a range of logical blocks to 0. OPTIONS ------- -s :: --start-block=:: Start block. -c :: --block-count=:: Number of logical blocks to write zeroes. -p :: --prinfo=:: Protection Information field definition. + [] |================= |Bit|Description |3|PRACT: Protection Information Action. When set to 1, PI is stripped/inserted on read/write when the block format's metadata size is 8. When set to 0, metadata is passes. |2:0|PRCHK: Protection Information Check: |2|Set to 1 enables checking the guard tag |1|Set to 1 enables checking the application tag |0|Set to 1 enables checking the reference tag |================= -r :: --ref-tag=:: Optional reftag when used with protection information. -m :: --app-tag-mask=:: Optional application tag mask when used with protection information. -a :: --app-tag=:: Optional application tag when used with protection information. -l:: --limited-retry:: Sets the limited retry flag. -d:: --deac:: Sets the DEAC bit, requesting controller deallocate the logical blocks. -f:: --force-unit-access:: Set the force-unit access flag. -n :: --namespace-id=:: Namespace ID use in the command. -S :: --storage-tag=:: Variable Sized Logical Block Storage Tag(LBST). -C :: --storage-tag-check=:: This bit specifies the Storage Tag field shall be checked as part of end-to-end data protection processing. -T :: --dir-type=:: Directive type -D :: --dir-spec=:: Directive specific -o :: --output-format=:: Set the reporting format to 'normal', 'json' or 'binary'. Only one output format can be used at a time. -v:: --verbose:: Increase the information detail in the output. EXAMPLES -------- No examples yet. NVME ---- Part of the nvme-user suite