AddDiskPlan
devicestringrequired
modelstring
The target disk's own model, for the operator to recognise it by.
wwnstring
serialstring
sizeBytesinteger<int64>
currentFilesystemstring
The disk's filesystem before this operation, if any, cached from udev.
filesystemArrayDiskFilesystemrequired
Filesystem to format with, or to verify when adopt is true. Parity is always xfs.
Possible values: [xfs, ext4, btrfs]
adoptbooleanrequired
mountpointstringrequired
The next free /mnt/diskN this disk will be mounted at.
confirmationstringrequired
Exact typed confirmation addDisk requires for this plan: ERASE <device>, or ADOPT ONLY — NOTHING ERASED when adopt is true.
AddDiskPlan
{
"device": "string",
"model": "string",
"wwn": "string",
"serial": "string",
"sizeBytes": 0,
"currentFilesystem": "string",
"filesystem": "xfs",
"adopt": true,
"mountpoint": "string",
"confirmation": "string"
}