ndctl
ndctl copied to clipboard
[Feature] sanitize-dimm should filter on Region
On multi-socket systems where we can potentially have a lot of regions, where each region could be assigned to one or more virtual machines, it would be nice to have the ability to sanitize dimms per region. Currently, we can sanitize all dimms or specify each dimm one by one. For a region, we have to manually match the dimms.
usage: ndctl sanitize-dimm <nmem0> [<nmem1>..<nmemN>] [<options>]
-b, --bus <bus-id> <nmem> must be on a bus with an id/provider of <bus-id>
-v, --verbose turn on debug
-c, --crypto-erase crypto erase a dimm
-o, --overwrite overwrite a dimm
-z, --zero-key pass in a zero key
-m, --master-passphrase
use master passphrase
Other commands such as destroy-namespace and create-namespace allow the -r,--region option as a filter.
Yes, good catch.