Hi. I'm having some difficulty getting FreeNAS to auto-import my RAIDZ2. First, some background info...about a year and a half ago, I built (what I thought was) a solid FreeNAS server, with 6 SATA drives, a Pentium 4 CPU and 4GB of RAM, in a normal desktop PC case. It ran fine for a couple of months, then one day I logged on and saw it was degraded. I was able to isolate the degradation to one drive, so I shut things down, removed the drive, and tested it with SeaTools (it was a Seagate drive). After some time, SeaTools said the drive was fine, but when I went to put it back in, it turned out that SeaTools had destroyed the contents of the drive. I didn't know how to deal with this situation, and I came here looking for help. In the process of troubleshooting, it came to light that my server had tremendous heat problems, due to my inexperience with server construction, and I was advised to shutdown the server immediately until I was able to resolve the heat problems. So, I did so; the server got shut off and went into a corner for the better part of a year. During that time, I was able to save some money and purchase a proper server case (with eight fans!), as well as a new motherboard and processor. About a month ago, when I was finally ready and had all the pieces together, I assembled the new motherboard, processor and RAM (now it's a C2D E6300 with 8GB of non-ECC DDR2), ran memtest on it for several days (no errors). Somehow during the time the server was down, the USB drive that had FreeNAS on it before was destroyed (I think it got kicked, as I found it in pieces beside the server on the floor), so I downloaded 8.3.1-p2 (which was the current version when this all started...I'm leery about a newer version trying to upgrade the zpool before I get it running properly), wrote it to a flash drive, and booted off of it. It booted up OK, but when I went to auto-import my existing pool, it went for about 10 minutes, then stopped, popping up the incredibly helpful "An error occurred" at the top. At this point, I necroed my old thread from a year ago, but nobody has responded after two weeks, so I thought I'd make a new one here. During this time, I felt (for no reason whatsoever) that the drive that got wiped by SeaTools was cursed, so I bought a new 3TB WD Red drive to take it's place.
So here's where I am at now. 5 of the 6 drives in my RAIDz2 are listed as ONLINE, and one is UNAVAIL. I have a fresh drive ready to be resilvered in, but I can't get the GUI to auto-import. I'm somewhat outside of my comfort zone here, so I am scared to do much of anything without some advice. Any thoughts would be greatly appreciated.
Here's some info that might be useful:
ada3 is the new drive. I threw it into a Windows system when it arrived so I could test functionality and capacity before I put it into service, which is probably why it is still listed as Microsoft in here.
Many thanks for all your help!
So here's where I am at now. 5 of the 6 drives in my RAIDz2 are listed as ONLINE, and one is UNAVAIL. I have a fresh drive ready to be resilvered in, but I can't get the GUI to auto-import. I'm somewhat outside of my comfort zone here, so I am scared to do much of anything without some advice. Any thoughts would be greatly appreciated.
Here's some info that might be useful:
Code:
[root@freenas] ~# zpool import pool: MAIN id: 2316280524828094423 state: DEGRADED status: One or more devices are missing from the system. action: The pool can be imported despite missing or damaged devices. The fault tolerance of the pool may be compromised if imported. see: http://www.sun.com/msg/ZFS-8000-2Q config: MAIN DEGRADED raidz2-0 DEGRADED gptid/3e54ea70-1e5d-11e2-b155-00261889a36e ONLINE gptid/3f04f9e9-1e5d-11e2-b155-00261889a36e ONLINE 13589355565508211589 UNAVAIL cannot open gptid/feb27aa0-3f54-11e2-8fb8-00261889a36e ONLINE gptid/40ca2b7b-1e5d-11e2-b155-00261889a36e ONLINE gptid/0c4307e2-21f7-11e2-95fd-00261889a36e ONLINE
Code:
[root@freenas] ~# camcontrol devlist <ST2000DM001-9YN164 CC4B> at scbus0 target 0 lun 0 (pass0,ada0) <ST3000DM001-1CH166 CC24> at scbus1 target 0 lun 0 (pass1,ada1) <WDC WD30EZRX-00MMMB0 80.00A80> at scbus3 target 0 lun 0 (pass2,ada2) <WDC WD30EFRX-68EUZN0 80.00A80> at scbus4 target 0 lun 0 (pass3,ada3) <WDC WD15EADS-00P8B0 01.00A01> at scbus5 target 0 lun 0 (pass4,ada4) <ST3000DM001-9YN166 CC4H> at scbus6 target 0 lun 0 (pass5,ada5) <Memorex Micro PMAP> at scbus10 target 0 lun 0 (pass7,da1)
Code:
[root@freenas] ~# glabel status Name Status Components gptid/3f04f9e9-1e5d-11e2-b155-00261889a36e N/A ada0p2 gptid/feb27aa0-3f54-11e2-8fb8-00261889a36e N/A ada1p2 gptid/0c4307e2-21f7-11e2-95fd-00261889a36e N/A ada2p2 gpt/Microsoft reserved partition N/A ada3p1 gptid/360e0dbb-a4f9-40d2-8593-7a87ec9bba5b N/A ada3p1 gpt/Basic data partition N/A ada3p2 gptid/9a121d4f-f39b-4322-ad10-fea1fda016e5 N/A ada3p2 gptid/40ca2b7b-1e5d-11e2-b155-00261889a36e N/A ada4p2 gptid/3e3e2c3d-1e5d-11e2-b155-00261889a36e N/A ada5p1 gptid/3e54ea70-1e5d-11e2-b155-00261889a36e N/A ada5p2 ufs/FreeNASs3 N/A da1s3 ufs/FreeNASs4 N/A da1s4 ufs/FreeNASs1a N/A da1s1a
ada3 is the new drive. I threw it into a Windows system when it arrived so I could test functionality and capacity before I put it into service, which is probably why it is still listed as Microsoft in here.
Code:
[root@freenas] ~# gpart show => 34 3907029101 ada0 GPT (1.8T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834696 2 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5k) => 34 5860533101 ada1 GPT (2.7T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 5856338696 2 freebsd-zfs (2.7T) 5860533128 7 - free - (3.5k) => 34 5860533101 ada2 GPT (2.7T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 5856338696 2 freebsd-zfs (2.7T) 5860533128 7 - free - (3.5k) => 34 5860533101 ada3 GPT (2.7T) 34 262144 1 ms-reserved (128M) 262178 2014 - free - (1M) 264192 5860268032 2 linux-data (2.7T) 5860532224 911 - free - (455k) => 34 2930277101 ada4 GPT (1.4T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 2926082703 2 freebsd-zfs (1.4T) => 34 5860533101 ada5 GPT (2.7T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 5856338696 2 freebsd-zfs (2.7T) 5860533128 7 - free - (3.5k) => 63 7570689 da1 MBR (3.6G) 63 1930257 1 freebsd [active] (942M) 1930320 63 - free - (31k) 1930383 1930257 2 freebsd (942M) 3860640 3024 3 freebsd (1.5M) 3863664 41328 4 freebsd (20M) 3904992 3665760 - free - (1.8G) => 0 1930257 da1s1 BSD (942M) 0 16 - free - (8.0k) 16 1930241 1 !0 (942M)
Many thanks for all your help!