Still Degraded after replacing drive
Posted: 27 Feb 2014 13:23
My Nas4Free box has been running 9.1.0.1 Sandstorm happily for some time now with 5 2TB drives in a raidz1 array. But a few days ago I had a drive die and a few of my other drives don't look healthy so I decided to start replacing them 1 by 1. It's been a while since I dealt with the box so I did a lot of Googling, reading through the wiki and these forums, then I took these steps...
I shutdown and physically removed the 'dead' drive from my case, replacing it with a similar drive. The replacement drive was previously used in a Freenas box, but I deleted all partitions using GParted.
In the Disks/Management tab, I clicked 'Import Disks' to get the new drive to show up, then I deleted the old drive from the listing.
I logged in via SSH and issued the command
This began resilvering, but once the resilvering completed my ZFS pool still shows as degraded...
I thought a scrub might help, but it still showed as Degraded after scrubbing. I restarted the box and when Nas4Free came up again, it was resilvering all over again, resulting in the same state as above.
Any ideas where I went wrong and how to remedy? Thanks!
I shutdown and physically removed the 'dead' drive from my case, replacing it with a similar drive. The replacement drive was previously used in a Freenas box, but I deleted all partitions using GParted.
In the Disks/Management tab, I clicked 'Import Disks' to get the new drive to show up, then I deleted the old drive from the listing.
I logged in via SSH and issued the command
Code: Select all
zpool replace terraid 3305624593698899328 /dev/ada1Code: Select all
pool: terraid
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 1.64T in 14h2m with 4 errors on Thu Feb 27 02:02:55 2014
config:
NAME STATE READ WRITE CKSUM
terraid DEGRADED 0 0 4
raidz1-0 DEGRADED 0 0 8
ada0 ONLINE 0 0 0
replacing-1 DEGRADED 0 0 0
3305624593698899328 UNAVAIL 0 0 0 was /dev/gptid/26971116-5d0b-11e2-ac5a-b8975a2730dc
ada1 ONLINE 0 0 0
gptid/26fa2600-5d0b-11e2-ac5a-b8975a2730dc ONLINE 0 0 0
gptid/27b1c2b5-5d0b-11e2-ac5a-b8975a2730dc ONLINE 0 0 0
gptid/282b425b-5d0b-11e2-ac5a-b8975a2730dc ONLINE 0 0 0
errors: Permanent errors have been detected in the following files:
/mnt/terraid/1gbfile1.dat
/mnt/terraid/1gbfile2.dat
/mnt/terraid/12gbfile.dat
/mnt/terraid/8gbfile.datAny ideas where I went wrong and how to remedy? Thanks!