Hi,
I had a disk that was throwing a bunch of SMART errors, so I figured I'd replace it. I shutdown my NAS and popped in a new disk. Unfortunately I got a bit confused as I did that and added the disk in as striped disk instead of replacing the disk I had taken out.
In an attempt to get things "back to normal" I put my original disk back in again. After doing so, I'm still having issues importing the pool back. FreeNAS sees my disks OK and are not reporting anything wrong with the disks. As you can see below, it shows my RAIDZ2-2TB pool as UNAVAILABLE with missing devices.
I've run a bunch of zpool commands to try to figure out how to get it back, but to no avail. If anyone has any suggestions, I'd greatly appreciate it.
Build: FreeNAS-9.2.0-RELEASE-x64 with 8GB RAM.
Here is the output from some of the commands:
Thanks in advance!
I had a disk that was throwing a bunch of SMART errors, so I figured I'd replace it. I shutdown my NAS and popped in a new disk. Unfortunately I got a bit confused as I did that and added the disk in as striped disk instead of replacing the disk I had taken out.
In an attempt to get things "back to normal" I put my original disk back in again. After doing so, I'm still having issues importing the pool back. FreeNAS sees my disks OK and are not reporting anything wrong with the disks. As you can see below, it shows my RAIDZ2-2TB pool as UNAVAILABLE with missing devices.
I've run a bunch of zpool commands to try to figure out how to get it back, but to no avail. If anyone has any suggestions, I'd greatly appreciate it.
Build: FreeNAS-9.2.0-RELEASE-x64 with 8GB RAM.
Here is the output from some of the commands:
Code:
[root@filer01] ~# zpool import pool: RAIDZ2-2TB id: 10263045930313125735 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: http://illumos.org/msg/ZFS-8000-6X config: RAIDZ2-2TB UNAVAIL missing device raidz2-0 ONLINE gptid/4f5caad6-f186-11e2-a755-c8cbb8c7c733 ONLINE gptid/4fba2cc0-f186-11e2-a755-c8cbb8c7c733 ONLINE gptid/501812fa-f186-11e2-a755-c8cbb8c7c733 ONLINE gptid/50743a3c-f186-11e2-a755-c8cbb8c7c733 ONLINE Additional devices are known to be part of this pool, though their exact configuration cannot be determined.
Code:
[root@filer01] ~# camcontrol devlist <WDC WD1003FBYX-01Y7B1 01.01V02> at scbus0 target 0 lun 0 (ada0,pass0) <WDC WD1003FBYX-01Y7B1 01.01V02> at scbus1 target 0 lun 0 (ada1,pass1) <WDC WD1003FBYX-01Y7B1 01.01V02> at scbus2 target 0 lun 0 (ada2,pass2) <WDC WD1003FBYX-01Y7B1 01.01V02> at scbus3 target 0 lun 0 (ada3,pass3) <SanDisk Cruzer Fit 1.22> at scbus7 target 0 lun 0 (da0,pass4)
Code:
[root@filer01] ~# gpart show => 34 1953525101 ada0 GPT (931G) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 1949330703 2 freebsd-zfs (929G) => 34 1953525101 ada1 GPT (931G) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 1949330703 2 freebsd-zfs (929G) => 34 1953525101 ada2 GPT (931G) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 1949330703 2 freebsd-zfs (929G) => 34 1953525101 ada3 GPT (931G) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 1949330703 2 freebsd-zfs (929G) => 63 15633345 da0 MBR (7.5G) 63 3590433 1 freebsd [active] (1.7G) 3590496 63 - free - (31k) 3590559 3590433 2 freebsd (1.7G) 7180992 3024 3 freebsd (1.5M) 7184016 41328 4 freebsd (20M) 7225344 8408064 - free - (4.0G) => 0 3590433 da0s1 BSD (1.7G) 0 16 - free - (8.0k) 16 1930241 1 !0 (942M) 1930257 1660176 - free - (810M) => 0 3590433 da0s2 BSD (1.7G) 0 16 - free - (8.0k) 16 1930241 1 !0 (942M) 1930257 1660176 - free - (810M)
Code:
[root@filer01] ~# glabel status Name Status Components gptid/4fba2cc0-f186-11e2-a755-c8cbb8c7c733 N/A ada0p2 gptid/501812fa-f186-11e2-a755-c8cbb8c7c733 N/A ada1p2 gptid/50743a3c-f186-11e2-a755-c8cbb8c7c733 N/A ada2p2 gptid/4f5caad6-f186-11e2-a755-c8cbb8c7c733 N/A ada3p2 ufs/FreeNASs3 N/A da0s3 ufs/FreeNASs4 N/A da0s4 ufs/FreeNASs1a N/A da0s1a ufsid/521c684590455604 N/A da0s2a ufs/FreeNASs2a N/A da0s2a
Code:
[root@filer01] ~# dmesg | grep ada0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <WDC WD1003FBYX-01Y7B1 01.01V02> ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 GEOM_ELI: Device ada0p1.eli created. [root@filer01] ~# dmesg | grep ada1 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: <WDC WD1003FBYX-01Y7B1 01.01V02> ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 GEOM_ELI: Device ada1p1.eli created. [root@filer01] ~# dmesg | grep ada2 ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 ada2: <WDC WD1003FBYX-01Y7B1 01.01V02> ATA-8 SATA 2.x device ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada2: Previously was known as ad8 GEOM_ELI: Device ada2p1.eli created. [root@filer01] ~# dmesg | grep ada3 ada3 at ahcich3 bus 0 scbus3 target 0 lun 0 ada3: <WDC WD1003FBYX-01Y7B1 01.01V02> ATA-8 SATA 2.x device ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada3: Command Queueing enabled ada3: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada3: Previously was known as ad10 GEOM_ELI: Device ada3p1.eli created.
Thanks in advance!