Skip to main content
Version: 7.25

remove-device


disk/btrfs/filesystem/remove-device​

Conditions: !smips
Syscap: storage
Type: Command

ArgumentTypeDescription
deviceenumDisk slot of the device to remove from the file system, for example nvme9. The data on the device is first migrated to the remaining devices; removal fails if the current profiles cannot be kept with fewer devices (for example data,raid1 cannot be kept when the device count drops below two).
device-idnumNumeric device ID of the device to remove (see dev-ids in filesystem); needed when the device is missing and has no slot anymore.