I had a 5 drive FreeNAS 11.0 and lost one drive. I detached the volume and now I can only see 4 HD. Can I recover the data.

manusamoa

Dabbler
Joined
Jul 23, 2019
Messages
15
I think I setup my volume to maximize storage and no hot spare. I had errors on a drive and detached the volume. The failed drive is not seen on boot up and only the other 4 drives are seen. When I try to do zpool import I get the error a drive is missing. I have tried everything to make the drive available but no good. Is there anyway to recover the data with only 4 drives? Any commands would be appreciated and I can get data from zfs or zpool or etc. needed.
 

blueether

Patron
Joined
Aug 6, 2018
Messages
259
can you post the output from 'zpool status' in [ code ] tags
 

manusamoa

Dabbler
Joined
Jul 23, 2019
Messages
15
blueether, thanks for the help.

Output of "zpool status -v"

pool: freenas-boot
state: ONLINE
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: scrub repaired 0 in 0 days 00:05:02 with 1 errors on Tue Oct 8 03:50:03
2019
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
da0p2 ONLINE 0 0 0

errors: Permanent errors have been detected in the following files:

freenas-boot/ROOT/11.1-U7@2018-02-23-16:30:01:/entropy
 

manusamoa

Dabbler
Joined
Jul 23, 2019
Messages
15
Output of "zpool import"

pool: FreeNAS
id: 18398469817395672173
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-3C
config:

FreeNAS UNAVAIL insufficient re
plicas
raidz1-0 UNAVAIL insufficient re
plicas
gptid/bdd4002c-0c53-11e8-9c52-c025e91dbf5a ONLINE
12724841250264648867 UNAVAIL cannot open
16676061112670962445 UNAVAIL cannot open

pool: FreeNAS
id: 12793393884223479532
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:

FreeNAS UNAVAIL missing device
gptid/847632cc-ba1f-11e9-bbb2-c025e91dbf5a ONLINE
gptid/599e60fc-b96c-11e9-b01c-c025e91dbf5a ONLINE
gptid/9b60a849-2fd4-11e9-8c09-c025e91dbf5a ONLINE
gptid/1f35f4ef-a1a4-11e9-bc2b-c025e91dbf5a ONLINE

Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,466
That looks all kinds of wrong. You had, perhaps at different times, two different pools, both called FreeNAS. The first was set up with three disks in RAIDZ1--you could import this with one disk missing, but not two. The second was set up with more than four disks striped--you'd need to be able to have all those disks online at the same time to be able to import the pool.
 

manusamoa

Dabbler
Joined
Jul 23, 2019
Messages
15
Since I am new to NAS, I originally setup my NAS with 3 disks, but added 2 more larger disk and upgraded to 11.x so that is why there are two pools. When I upgraded it setup the new pool. My problem is the missing disk will not boot nor will the OS show it. When I connect it anything on the SATA bus will not be seen on the OS. Something wrong with that disk. I am trying to get the data off the other disks if possible.
 

manusamoa

Dabbler
Joined
Jul 23, 2019
Messages
15
What I am looking for a way to recover the data with the 4 remaining drives if possible, or find out what drive is missing (I think I know, but not sure) and get it working. Right now the drive I think I need is not usable on the bus and when connected any other drive on the bus disappears. Ideally I would like to import the volume somehow and then make it a Raid5 or with a HotSpare.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,466
When you have a striped pool (as the second "FreeNAS" pool was), you must have all disks available. When any single disk fails, all your data is lost.
 
Top