I have a drive failing and it's a member of a zpool. Since I don't deal
with these things every day I thought I ask for some help... :-)

I've already ordered a new drive which will arrive shortly, but I was
wondering if someone could guide me through the process of taking out a
drive of the pool and replacing it with a new one and keep all the data
intact?

Ie.

- put drive in offline mode
- remove drive
- insert new drive
- whatever needs to set it up
- add it to the zpool
run

Btw, rebooting this server is not a problem if needed.

Here are some system details btw:

FreeBSD 8.2-STABLE #2: Fri Jun 17 21:00:35 CEST 2011
root@server:/usr/obj/usr/src/sys/SERVER
amd64

ad1: FAILURE - READ_DMA48 status=51<READY,DSC,ERROR>
error=40<UNCORRECTABLE> LBA=281451125
ad1: FAILURE - READ_DMA48 status=51<READY,DSC,ERROR>
error=40<UNCORRECTABLE> LBA=281453348
ad1: FAILURE - READ_DMA48 status=51<READY,DSC,ERROR>
error=40<UNCORRECTABLE> LBA=288837128

# zpool status -v
  pool: files
 state: ONLINE
 scan: scrub repaired 33.8M in 3h24m with 0 errors on Wed Feb 15 12:30:27
2012
config:

        NAME        STATE     READ WRITE CKSUM
        files       ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            ad0     ONLINE       0     0     0
            ad1     ONLINE       0     0     0
            ad2     ONLINE       0     0     0
            ad3     ONLINE       0     0     0

errors: No known data errors

Thanks for any help!!!

Best regards,
Andy
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to