3 ms·
And similarly, in ZFS it'd be % zpool replace <pool> <bad-drive> <new-drive> And you can also set up hot spares in both systems so that replacing the drive
by cyphar 6y ago
And similarly, in ZFS it'd be
% zpool replace <pool> <bad-drive> <new-drive>
And you can also set up hot spares in both systems so that replacing the drive happens automatically.
One thing I would suggest is that you use /dev/disk/by-id when configuring mdadm or ZFS. Device renumbering over reboots under Linux isn't an issue for either system (they look at the metadata on disk rather than the drive name in /dev), but as an admin it helps to be able to type out the actual serial number on the drive when you're doing reboots (especially if you have the serial numbers written on the hotswap bays).