I ended up deleting disk ada5 in Disks -> Management and it gave some warning about the drive being removed from all configuration. I accepted and after doing so I realized ada5 still could not be selected with the 'replace' command in Disks -> ZFS -> Pools -> Tools because as far as the system was concerned there was no ada5 disk to replace.
I tried adding the new disk as a hot spare, but it was not picked up automatically, contrary to what I had expected. Anyway, I deleted the hotspare vDev on the new ada5 disk and issued the following command via SSH session, where 3197540925103661344 is the label the old ada5 was showing before I physically removed it:
Code: Select all
zpool replace zPool1 3197540925103661344 /dev/ada5.nopCode: Select all
zpool replace zPool1 3197540925103661344 /dev/ada5Code: Select all
pool: zPool1
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Mon Mar 25 15:57:40 2013
210G scanned out of 400G at 212M/s, 0h15m to go
35.0G resilvered, 52.46% done
config:
NAME STATE READ WRITE CKSUM
zPool1 DEGRADED 0 0 1
raidz2-0 DEGRADED 0 0 2
ada0.nop ONLINE 0 0 3 (resilvering)
ada1.nop ONLINE 0 0 1 (resilvering)
ada2.nop ONLINE 0 0 0
ada3.nop ONLINE 0 0 2 (resilvering)
ada4.nop ONLINE 0 0 0
replacing-5 OFFLINE 0 0 0
3197540925103661344 OFFLINE 0 0 0 was /dev/ada5.nop
ada5 ONLINE 0 0 0 (resilvering)In case it is of any value, here is my zpool history output:
Code: Select all
History for 'zPool1':
2013-03-21.16:47:23 zpool create -f -m /mnt/zPool1 zPool1 raidz2 /dev/ada0.nop /dev/ada1.nop /dev/ada2.nop /dev/ada3.nop /dev/ada4.nop /dev/ada5.nop
2013-03-21.16:50:28 zfs create -o compression=off -o dedup=off -o sync=standard -o atime=on zPool1/VMware
2013-03-21.16:58:56 zfs create -o compression=off -o dedup=off -o sync=standard -o atime=on zPool1/FileShare
2013-03-21.17:34:27 zpool offline zPool1 ada5.nop
2013-03-21.18:16:09 zfs set sync=disabled zPool1/VMware
2013-03-25.15:57:49 zpool replace zPool1 3197540925103661344 /dev/ada5Now I am seeing the following under Disks -> ZFS -> Pools -> Information
Code: Select all
pool: zPool1
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://illumos.org/msg/ZFS-8000-8A
scan: resilvered 66.6G in 0h33m with 2 errors on Mon Mar 25 16:31:14 2013
config:
NAME STATE READ WRITE CKSUM
zPool1 DEGRADED 0 0 1
raidz2-0 DEGRADED 0 0 2
ada0.nop ONLINE 0 0 4
ada1.nop ONLINE 0 0 1
ada2.nop ONLINE 0 0 1
ada3.nop ONLINE 0 0 0
ada4.nop ONLINE 0 0 0
replacing-5 DEGRADED 0 0 0
3197540925103661344 OFFLINE 0 0 0 was /dev/ada5.nop
ada5 ONLINE 0 0 0
errors: Permanent errors have been detected in the following files:
/mnt/zPool1/VMware/TESTBED-VIR/TESTBED-VIR_1-flat.vmdk
/mnt/zPool1/VMware/WEBDEV8/WEBDEV8-flat.vmdkAnd here is the details of the system:
Code: Select all
System information
Version 9.1.0.1 - Sandstorm (revision 636)
Build date Tue Feb 5 01:22:23 CET 2013
Platform OS FreeBSD 9.1-RELEASE (reldate 901000)
Platform x64-embedded on Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
System Gigabyte Technology Co., Ltd. Z68X-UD3H-B3