Skip to main content

DiskRemovalState

The disk-removal state machine: evacuating from before an evacuation's first copy until its post-check passes — every pool mount marks this disk no-create for the whole time; evacuated once that copy and post-check finish, but the disk is still in every mergerfs branch list, SnapRAID layout and mount table (still no-create); unpooled once finishDiskRemoval's job has taken it out of every pool mount — still in snapraid.conf and mounted; unlisted once a sync has recorded it empty and it is out of snapraid.conf too — only its unmount and removal from the array are left. A disk that finished leaves the pool and the array altogether.

stringDiskRemovalState

The disk-removal state machine: evacuating from before an evacuation's first copy until its post-check passes — every pool mount marks this disk no-create for the whole time; evacuated once that copy and post-check finish, but the disk is still in every mergerfs branch list, SnapRAID layout and mount table (still no-create); unpooled once finishDiskRemoval's job has taken it out of every pool mount — still in snapraid.conf and mounted; unlisted once a sync has recorded it empty and it is out of snapraid.conf too — only its unmount and removal from the array are left. A disk that finished leaves the pool and the array altogether.

Possible values: [evacuating, evacuated, unpooled, unlisted]

DiskRemovalState
"evacuating"