Pool Missing

daftfool

Cadet
Joined
Nov 14, 2018
Messages
4
Originated as a missing pool on startup, read a few posts about similar but cannot find anything that directly relates.

zpool list

Code:
[root@freenas ~]# zpool list                                                                                                        
NAME           SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT                                          
FREENAS       8.12T  2.74T  5.38T        -         -     0%    33%  1.00x  ONLINE  -                                                
freenas-boot  7.50G  1.51G  5.99G        -         -      -    20%  1.00x  ONLINE  -                                                
[root@freenas ~]# ^C                                                                                                                
[root@freenas ~]#  


zpool status -xv

Code:
[root@freenas ~]# zpool status -xv                                                                                                 
  pool: FREENAS                                                                                                                     
 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 03:42:50 with 9 errors on Wed Nov 27 06:02:07 2019                                               
config:                                                                                                                             
                                                                                                                                    
        NAME                                          STATE     READ WRITE CKSUM                                                   
        FREENAS                                       ONLINE       0     0     0                                                   
          gptid/514cd7dd-d91c-11e8-9d18-000c290b2ac7  ONLINE       0     0     0                                                   
                                                                                                                                    
errors: Permanent errors have been detected in the following files:                                                                 
                                                                                                                                    
        FREENAS/.system/rrd-2272cbf872134cd4ab2b960f79d0a321:/localhost/df-mnt-FREENAS/df_complex-reserved.rrd                     
        FREENAS/.system/rrd-2272cbf872134cd4ab2b960f79d0a321:/localhost/zfs_arc_v2/gauge_arcstats_raw_counts-mutex_miss.rrd         
        FREENAS/.system/rrd-2272cbf872134cd4ab2b960f79d0a321:/localhost/zfs_arc_v2/gauge_arcstats_raw_size-size.rrd                 
        FREENAS/.system/rrd-2272cbf872134cd4ab2b960f79d0a321:/localhost/zfs_arc/io_octets-L2.rrd                                   
        FREENAS/.system/rrd-2272cbf872134cd4ab2b960f79d0a321:/localhost/zfs_arc_v2/gauge_arcstats_raw_l2writes-l2_writes_error.rrd 
        FREENAS/.system/rrd-2272cbf872134cd4ab2b960f79d0a321:/localhost/zfs_arc_v2/gauge_arcstats_raw_l2write-l2_write_buffer_bytes_
scanned.rrd                                                                                                                         
        FREENAS/.system/rrd-2272cbf872134cd4ab2b960f79d0a321:/localhost/cpu-0/cpu-user.rrd                                         
        FREENAS/.system/rrd-2272cbf872134cd4ab2b960f79d0a321:/localhost/cpu-0/cpu-nice.rrd                                         
        FREENAS/.system/rrd-2272cbf872134cd4ab2b960f79d0a321:/localhost/aggregation-cpu-max/cpu-interrupt.rrd                       
[root@freenas ~]#   


glabel status
Code:
[root@freenas ~]# glabel status                                                 
                                      Name  Status  Components                 
gptid/2b680521-d921-11e8-bb7a-000c290b2ac7     N/A  da0p1                       
gptid/514cd7dd-d91c-11e8-9d18-000c290b2ac7     N/A  da1p2                       
[root@freenas ~]#  


smartctl -a /dev/da1 (Guess this highlights a different issue!)
Code:
[root@freenas ~]# smartctl -a /dev/da1                                         
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.2-STABLE amd64] (local build)         
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org     
                                                                                
=== START OF INFORMATION SECTION ===                                           
Vendor:               Adaptec                                                   
Product:              Array                                                     
Revision:             V1.0                                                     
User Capacity:        8,987,208,581,120 bytes [8.98 TB]                         
Logical block size:   512 bytes                                                 
Serial number:        598CE7B200                                               
Device type:          disk                                                     
Local Time is:        Wed Nov 27 09:18:28 2019 PST                             
SMART support is:     Unavailable - device lacks SMART capability.             
                                                                                
=== START OF READ SMART DATA SECTION ===                                       
Current Drive Temperature:     0 C                                             
Drive Trip Temperature:        0 C                                             
                                                                                
Read defect list: asked for grown list but didn't get it                       
Error Counter logging not supported                                             
                                                                                
Device does not support Self Test logging                                       
[root@freenas ~]#  


Amateur but I don't think I have a backup of the pool information, anything relating to creating a new pool wipes the disks which I would obviously like to avoid.

Can anyone offer some advice on anything else to check next?

Virtual FreeNas 11.2-RC2 running on ESXI server
Adaptec raid controller for 4 x 3tb disks (showing as 8tb drive)
(not sure what other information is useful or relevant).
 
Joined
Jan 7, 2015
Messages
1,155
So you are missing your main pool? Run zpool import from a FN host terminal see if that grabs it.

As far as the corrupt files, id grab a config backup from the GUI, then you might think about a reinstall to fix the errors current version is 11.2-U7, you are running a pretty old RC version.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Adaptec raid controller for 4 x 3tb disks (showing as 8tb drive)
You shouldn't do that with FreeNAS whether it is bare metal or virtual. FreeNAS needs direct access to the physical disks.
 

Matt_G

Explorer
Joined
Jan 24, 2016
Messages
65
^^
What Chris said.
Looks to me like the Adaptec has the four drives in a RAID array and then presented that single virtual drive to FreeNAS.
FreeNAS thinks it has a pool consisting of just one drive; therefore, you lose almost all the benefits of ZFS.
 

daftfool

Cadet
Joined
Nov 14, 2018
Messages
4
^^
What Chris said.
Looks to me like the Adaptec has the four drives in a RAID array and then presented that single virtual drive to FreeNAS.
FreeNAS thinks it has a pool consisting of just one drive; therefore, you lose almost all the benefits of ZFS.

Yes, I will look to change it after, but for not I just wish to attempt to restore what I had.

zpool import FREENAS advises
'cannot import 'FREENAS': a pool with that name is already created/imported, and no additional pools with that name were found.

However, via the GUI I still have no pools.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Based on the content of your post, the pool is there it may simply be the network share that's not working right
 

daftfool

Cadet
Joined
Nov 14, 2018
Messages
4
Thanks again I will investigate this. However first check doesn't look promising as there doesn't appear to be any network sharing set up :S

Looks like the pool and network share configuration has been wiped, but I don't know how to restore that without wiping the disks. I will continue looking.
 

daftfool

Cadet
Joined
Nov 14, 2018
Messages
4
Update *All Fixed*

Re-read insturctions from previously and reapplied after a night sleep thinking about it.

Exported from CLI, imported via WEB GUI, which made the volume available to import.

Imported the volume, and then set up a new network share.

Now to backup the backup and get rid of the hardware raid.

Thanks for the help.
 
Top