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 zeros.
  • FULL_RANDOM: Write whole disk with random bytes.
Must be one of:
  • "QUICK"
  • "FULL"
  • "FULL_RANDOM"
Parameter 3: synccache

synccache

Type: boolean Default: true

Synchronize the device with the database.

Result

Type: null


Required roles: DISK_WRITE