Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2012 12:23:05 +0100
From:      Andy Wodfer <wodfer@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Help! Drive failing in zpool
Message-ID:  <CABgB0xQWWs6O3Zf4gSS%2BEGY95L3f_%2BtEq1hDt2f-R9Zp8nJsWw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABgB0xQWWs6O3Zf4gSS%2BEGY95L3f_%2BtEq1hDt2f-R9Zp8nJsWw>