Skip to main content

ConfigImportDisk

One array disk the archive records, and what it matched.

namestringrequired

What a user calls it: the role and index, its mountpoint and the identity it was recorded with.

roleArrayDiskRolerequired

A role the array-setup wizard assigns. Ignore is omitted — those disks never appear in the plan.

Possible values: [parity, data, cache]

roleIndexinteger<int64>required

Possible values: >= 1

mountpointstringrequired
fsUuidstringrequired

The filesystem UUID the archive records for the slot.

wwnstring
serialstring
byIdNamestring
weakIdentitybooleanrequired
sizeBytesinteger<int64>
stateConfigImportDiskStaterequired

matched: exactly one attached disk carries the recorded identity (WWN, else serial; a weak-identity disk by filesystem UUID and size) and its filesystem is the recorded one. absent: no attached disk is it. replaced: the identity or the filesystem differs, either an attached disk holds the recorded filesystem with another identity or the disk with the recorded identity holds another filesystem. ambiguous: more than one attached disk matches, a disk and its clone. A disk that is not matched stays a row of the restored array with its recorded filesystem, is never mounted or adopted by the restore, and leaves the array degraded.

Possible values: [matched, absent, replaced, ambiguous]

devicestring

The attached disk it matched, or the disk holding its filesystem when replaced; absent for absent and ambiguous.

ConfigImportDisk
{
"name": "string",
"role": "parity",
"roleIndex": 0,
"mountpoint": "string",
"fsUuid": "string",
"wwn": "string",
"serial": "string",
"byIdName": "string",
"weakIdentity": true,
"sizeBytes": 0,
"state": "matched",
"device": "string"
}