One of my fileservers has a five-disk hotplug enclosure, which contains the following zpool:
The machine runs FreeBSD 8.1-stable:
Now I want to replace that failing disk (ad12).
Questions:
Code:
root@kg-f2# zpool status storage
pool: storage
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://www.sun.com/msg/ZFS-8000-9P
scrub: scrub in progress for 125h43m, 50.93% done, 121h8m to go
config:
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
raidz1 ONLINE 0 0 0
ad8 ONLINE 0 0 0
ad10 ONLINE 0 0 0
ad12 ONLINE 0 0 73 4.20G repaired
ad14 ONLINE 0 0 0
ada0 ONLINE 0 0 0
errors: No known data errors
Code:
root@kg-f2# uname -a
FreeBSD kg-f2.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #4: Fri Oct 29 12:11:48 CEST 2010
root@kg-f2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
Questions:
- Will I risk anything if I replace the disk when there is a scrub in progress?
- The handbook says that this is way to replace a disk:
- offline the disk from the pool
- physically replace the disk
- replace the disk in the pool
- Since the disks are in a hotplug enclosure can I just replace it, or do I have to run some command (atacontrol?) before removing it?