disk.wipe

Performs a wipe of a disk dev.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: dev

dev

Type: string

The device to perform the disk wipe operation on.
May be passed as /dev/sda or just sda.

Must be at least 1 characters long

Parameter 2: mode

mode

Type: enum (of string)

QUICK: write zeros to the first and last 32MB of device
FULL: write whole disk with zero's
FULL_RANDOM: write whole disk with random bytes

Must be one of:
  • "QUICK"
  • "FULL"
  • "FULL_RANDOM"
Parameter 3: synccache

synccache

Type: boolean Default: true

If True, will synchronize the device with the database

Result

Type: null


Required roles: DISK_WRITE