padc: Pass an admin-command#
xnvme padc --help
Usage: xnvme padc <uri> [<args>]
Pass a user-defined ADmin Command through
Where <args> include:
uri ; Device URI e.g. '/dev/nvme0n1', '0000:01:00.1', '10.9.8.1.8888', '\\.\PhysicalDrive1'
[ --nsid 0xNUM ] ; Namespace Identifier for Command Construction
--cmd-input FILE ; Path to command input-file
[ --data-input FILE ] ; Path to data input-file
[ --data-output FILE ] ; Path to data output-file
[ --data-nbytes NUM ] ; Data size in bytes
[ --meta-input FILE ] ; Path to meta input-file
[ --meta-output FILE ] ; Path to meta output-file
[ --meta-nbytes NUM ] ; Meta size in bytes
[ --dev-nsid 0xNUM ] ; Namespace Identifier for Device Handle
[ --be STRING ] ; xNVMe backend, e.g. 'linux', 'spdk', 'fbsd', 'posix', 'windows'
[ --admin STRING ] ; xNVMe admin. command-interface, e.g. 'nvme', 'block'
[ --help ] ; Show usage / help
See 'xnvme --help' for other commands
xNVMe - Cross-platform NVMe utility -- ver: {major: 0, minor: 4, patch: 0}
Note
For a usage example, see pioc: Pass an IO-command, the command-line argument construction is the same for I/O and Admin commands.