Skip to main content

MigrationDisk

One row of the disk mapping table: a disk the capture names, an Unraid boot device, or a disk of this machine the capture does not name. A field that is absent is unknown, never zero, none or strong.

slotstring

The capture's slot or pool (disk1, parity, pool cache), or boot for a boot device. Absent for a disk the capture does not name.

diskNumberinteger

The Unraid disk number of a data slot.

unraidIdstring

The identity Unraid recorded for the slot.

unraidRoleMigrationUnraidRole

The role the capture records for a disk. unassigned is a disk of this machine the capture does not name, and is given only when the capture's disks.ini could be read.

Possible values: [parity, data, cache, boot, unassigned]

proposedRoleMigrationProposedRole

The Hoserva role the import pre-fills. Absent when nothing is proposed: no disk of this machine matched the slot, the disk is refused, or the capture has no disks.ini. A disk that is an Unraid boot device, or a parity or data slot's disk that is one, is only ever ignore, except that the cache pool's row of an internal boot that shares its disk with the cache (unraidBoot) is cache. The disk this machine boots from is never proposed a role as a parity or data slot's disk; as the cache pool's disk (the shared NVMe) it is cache.

Possible values: [parity, data, cache, ignore]

unraidBootboolean

True when this row's disk is also an Unraid boot device, whatever the row's slot: the cache pool of an internal boot that shares its disk with the cache (proposed cache), or a parity or data slot that names a boot device (refused as boot_device and proposed ignore). The disk is this one row, never a second boot row beside it. Absent otherwise.

hostBootboolean

True when this row's disk is the disk this machine boots from, which is the scan's own boot-disk detection, not a second one: Debian is installed on it. False when a disk of this machine matched the row and is not that disk. Absent when no disk of this machine matched, and in a report made before the field existed; absent means unknown, never false. On the cache pool's row, true is the shared NVMe.

devicestring

This machine's device for the disk. Absent when none matched.

serialstring
wwnstring
byIdstring

The disk's /dev/disk/by-id name.

modelstring
sizeinteger<int64>

Bytes: this machine's disk, or the size Unraid recorded when none matched.

filesystemstring

The filesystem this machine's disk reports.

weakIdentityboolean

True when only a weak identity identifies the disk. Absent when no disk of this machine matched.

problemstring

Why no disk of this machine matched the slot.

refusedbooleanrequired

Whether the scan refused the disk, as its report rows say.

refusalCodeMigrationRefusalCode

Why the scan refused a disk, as a code beside the row's prose. boot_device is an Unraid boot device given a data or parity slot; host_boot the disk this machine boots from, given a parity or data slot (the cache pool may share it); failed a disk reported failed; encrypted, zfs, unsupported_filesystem, filesystem_mismatch and no_filesystem the disk's filesystem; no_filesystem_node and duplicate_uuid a disk Hoserva cannot mount by filesystem UUID; multi_device_btrfs a btrfs filesystem spanning several devices; filesystem_unverified a btrfs or ext4 disk whose superblock could not be read; pending_log a log that was never replayed; integrity_check a failed read-only filesystem check; unreadable a disk that passed its checks but could not be read completely; weak_identity_parity a parity disk with only a weak identity.

Possible values: [boot_device, host_boot, failed, encrypted, zfs, unsupported_filesystem, filesystem_mismatch, no_filesystem, no_filesystem_node, duplicate_uuid, multi_device_btrfs, filesystem_unverified, pending_log, integrity_check, unreadable, weak_identity_parity]

refusalstring

The refusal in words, as the report's row says it.

MigrationDisk
{
"slot": "string",
"diskNumber": 0,
"unraidId": "string",
"unraidRole": "parity",
"proposedRole": "parity",
"unraidBoot": true,
"hostBoot": true,
"device": "string",
"serial": "string",
"wwn": "string",
"byId": "string",
"model": "string",
"size": 0,
"filesystem": "string",
"weakIdentity": true,
"problem": "string",
"refused": true,
"refusalCode": "boot_device",
"refusal": "string"
}