replace-device
disk/btrfs/filesystem/replace-device
Conditions: !smips
Syscap: storage
Type: Command
| Argument | Type | Description |
|---|---|---|
| device-to-remove | enum | Disk slot of the device to replace in the Btrfs file system. |
| device-to-remove-id | num | Numeric device ID of the device to replace; use this instead of device-to-remove when the device is missing from the system (the I - MISSING-DEVS flag), as the slot is then no longer available. |
| device-to-add | enum | Disk slot of the new device that takes over the data of the removed device. |