New Restore Unable to Import Disks

peterocc

Cadet
Joined
Aug 27, 2015
Messages
7
Hello all. Recently was forced to rebuild my FreeNAS due to hardware failure (CPU & Single Disk failure). Prior to the failure I upgraded to the latest 11.3 stable release and was able to obtain a pair of backups prior to shutting down the old hardware and ordering replacement CPU, Motherboard and RAM.

Old Hardware
  • Asus PBH61-1 R2.0
  • Intel i3-2500
  • 8GB DDR3
  • Boot - Kingston DataTraveller 8GB USB
  • Zpool - Seagate IRONWOLF 3TB (6) [1 degraded/offline disk]
New Hardware
  • ASROCK H370M-ITX/ac
  • Intel i3-8100
  • 16GB DDR4-2666
  • Boot - Sandisk Cruzer 16GB (2x Boot pool)
  • Zpool - Seagate IRONWOLF 3TB (6)
I just rebuilt and installed the latest 11.3 stable release on my gear and restored my backup config. I am able to access the GUI & Shell and see the disks, but the install and subsequent restore did not auto import my zpool. I am not a FreeNAS expert and while I have fumbled my way through tutorials and FreeNAS since v9 I would consider myself a noob.

ZPool list shows the following... where are my drives?

1585745959378.png


Zpool Status shows the following

1585745971671.png


Zpool import shows the original Volume is there and potentially can be imported. Degraded because the original failed drive hasnt been resilvered yet.

1585745983410.png


Next steps...

How do I import the disks so that FreeNAS recognizes them? When I go through the GUI it shows the Pool as unknown, but status is gone completely.

1585746237256.png


1585746242306.png


What have I done wrong and how do I correct and restore my data (if possible)?

Appreciate any help you all can provide as I have movies, music, pictures and other data I'd prefer not to lose.

Thanks for coming to my Tedtalk.

-P
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Do a zpool import -F YakVol (-F since it wasn't exported properly from the old system and you're missing 2 disks)

To get it back in the GUI, zpool export YakVol then import from the GUI.

Ideally, do something about the missing disks before all that (check cabling?).
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Do a zpool import -F YakVol (-F since it wasn't exported properly from the old system and you're missing 2 disks)
No, this should use -f (lower-case). The -F flag is intended to repair damage.
 

peterocc

Cadet
Joined
Aug 27, 2015
Messages
7
Do a zpool import -F YakVol (-F since it wasn't exported properly from the old system and you're missing 2 disks)

To get it back in the GUI, zpool export YakVol then import from the GUI.

Ideally, do something about the missing disks before all that (check cabling?).

I'll try that now... thanks. Not sure about missing 2 drives though. When I run a GEOM list disk, it shows the 5 active drives. I haven't connected the 6th as I was waiting until the pool came before resilvering.
 

peterocc

Cadet
Joined
Aug 27, 2015
Messages
7
@sretalla @danb35

Do I need to bring the 6th drive online even though its not resilvered to the pool to get the import to work or am I FUBAR on this?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I'll wait for @danb35 to comment, but maybe you can get it to import with the -F in its current state.

Better would be to have 5/6 disks online and try with that.
 

meatservo80

Cadet
Joined
Feb 21, 2016
Messages
9
So looking at that motherboard, the specs have it showing only RAID0 not ACHI or JBOD mode.
B80D3AD9-8333-45CB-B23F-094DDDC64588.jpeg


So first you should verify that it’s configured correctly for JBOD or ACHI if possible. Otherwise per the link, you need to find a seperate data card that support its cause you don’t want to be stuck requiring a raid

 

peterocc

Cadet
Joined
Aug 27, 2015
Messages
7
I'll wait for @danb35 to comment, but maybe you can get it to import with the -F in its current state.

Better would be to have 5/6 disks online and try with that.
The pool should come online with two missing disks--it's a RAIDZ2 pool. But the I/O error looks bad.

So I ran the following command:

zpool import -FfmX YakVol

Andit looks like the pool came back. I just have to resilver the replaced drive.

1585759881267.png


But now I need to set a mountpoint for my iocage as it seems the restore didnt bring along the jails...

1585759949822.png



So looking at that motherboard, the specs have it showing only RAID0 not ACHI or JBOD mode.

So first you should verify that it’s configured correctly for JBOD or ACHI if possible. Otherwise per the link, you need to find a separate data card that support its cause you don’t want to be stuck requiring a raid


Josh - Actually it does support AHCI as long as I dont use the m.2 drive.
 

peterocc

Cadet
Joined
Aug 27, 2015
Messages
7
Update...

Resilver of drives completed but encountered another degraded drive and now the pool only shows 7.83 TiB Free out of the (6) 3TB drives installed.

1585780673602.png


Shouldn't this be at/around 11ish TB of usable space? Or is FreeNAS removing the degraded drive from the pool and reducing capacity? I thought that was what the 2 spares were for?

Also, SMB service isnt starting which is preventing me from creating mountpoints for Plex and creating datashares to Windows clients.
 

peterocc

Cadet
Joined
Aug 27, 2015
Messages
7
Update 2

This morning I deleted my restored configuration and configured Freenas 11.3 from scratch. Exported my "degraded" volume, and reimported and now it is showing Healthy. o_O

Reconfigured/added my SMB shares and configured Plex.

Closing out. Thanks everyone for the assist.
 
Top