Replacing an EACS drive for an EADS
// February 12th, 2009 // No Comments » // Technology
So the shop somehow managed to deliver my custom PC with 2x EADS drives and 1x EACS drive. Normally, to rectify this kind of mishap would require backing up the data on the drive and restoring the data to the replacement disk.
Not so with ZFS. Because my three drives are in a raidz storage pool, ZFS automatically partitions and manages my data. This allows up to one device in the pool to fail (single parity).
Replacing the drive was a case of:
1. Pulling out the old disk.
2. Cabling up the new disk in the, now-empty slot.
3. Booting the OS as normal.
4. Resilvering the raidz zpool with a single command: zpool replace <name of device to replace>
5. Go get coffee, rebuilding the array will take some time. Once it’s done, check status with: zpool status
After the break I give some examples of what you may see:





