Hi all,
one of the ssds in my zfs mirror died tonight, and the mirror is now degraded, but still working. So far, so good, but somehow the disk names got screwed up, leading to the following:
NAME STATE READ WRITE CKSUM
ada0p3 ONLINE 0 0 0
ada0p3 FAULTED 0 0 0 corrupted data
The faulted ada0p3 should be ada1p3, but somehow got the wrong name assigned during the fault. Once I add a new disk, whats a safe way to tell zfs to replace the right disk? I'm worried that a zfs remove/replace ada0p3 will remove the working disk.
zdb fails with "cannot open /etc/zfs/zpool.cache": No such file or directory.
edit: The system boots from that pool.
Cheers
Sheep2045
one of the ssds in my zfs mirror died tonight, and the mirror is now degraded, but still working. So far, so good, but somehow the disk names got screwed up, leading to the following:
NAME STATE READ WRITE CKSUM
ada0p3 ONLINE 0 0 0
ada0p3 FAULTED 0 0 0 corrupted data
The faulted ada0p3 should be ada1p3, but somehow got the wrong name assigned during the fault. Once I add a new disk, whats a safe way to tell zfs to replace the right disk? I'm worried that a zfs remove/replace ada0p3 will remove the working disk.
zdb fails with "cannot open /etc/zfs/zpool.cache": No such file or directory.
edit: The system boots from that pool.
Cheers
Sheep2045