14.12.2. Deleting Storage Volumes
The
vol-delete --pool pool-or-uuid
vol-name-or-key-or-path
command deletes a given volume. The command requires a specific --pool pool-or-uuid
which is the name or UUID of the storage pool the volume is in. The vol-name-or-key-or-path
option specifies the name or key or path of the volume to delete.
The
vol-wipe --pool pool-or-uuid
--algorithm algorithm
vol-name-or-key-or-path
command wipes a volume, to ensure data previously on the volume is not accessible to future reads. The command requires a --pool pool-or-uuid
, which is the name or UUID of the storage pool the volume is in. The vol-name-or-key-or-path contains the name or key or path of the volume to wipe. Note it is possible to choose different wiping algorithms instead of the default (where every sector of the storage volume is written with value "0"). To specify a wiping algorithm, use the --algorithm
option with one of the following supported algorithm types:
- 1-pass all zeroeszero
- 4-pass NNSA Policy Letter NAP-14.1-C (XVI-8) for sanitizing removable and non-removable hard disks: random x2, 0x00, verify.nnsa
- 4-pass DoD 5220.22-M section 8-306 procedure for sanitizing removable and non-removable rigid disks: random, 0x00, 0xff, verify.dod
- 9-pass method recommended by the German Center of Security in Information Technologies (http://www.bsi.bund.de): 0xff, 0xfe, 0xfd, 0xfb, 0xf7, 0xef, 0xdf, 0xbf, 0x7f.bsi
- The canonical 35-pass sequence described in Gutmann’s paper.gutmann
- 7-pass method described by Bruce Schneier in "Applied Cryptography" (1996): 0x00, 0xff, random x5.schneier
- Roy Pfitzner’s 7-random-pass method: random x7pfitzner7
- Roy Pfitzner’s 33-random-pass method: random x33.pfitzner33
- 1-pass pattern: random.random
Note
The version of the scrub binary installed on the host will limit the algorithms that are available.