Skip to main content
Version: current

replace-device


disk/btrfs/filesystem/replace-device​

Conditions: !smips
Syscap: storage
Type: Command

ArgumentTypeDescription
device-to-removeenumDisk slot of the device to replace in the Btrfs file system.
device-to-remove-idnumNumeric 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-addenumDisk slot of the new device that takes over the data of the removed device.