Help with pool and files transfer after fresh install

Status
Not open for further replies.

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
Hi. I am new to freenas, and searched the web as much as i could to fix my issue, need help please

USB flash drive failed with error 5
got new usb installed fresh freenas (same version as before 9.10)
did zpool import (name of pool) it did something.
I can see the disks but nothing on them?? In gui if i click on volume there is no volumes there
I did not save config file.
https://forums.freenas.org/index.php?threads/recover-freenas-configuration-from-os-drive.15426/
tried this my old usb on da5 when i do the command with da5s4 it says invalid
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Grab some screenshots of this and open a shell window and type in zpool status too
(Change it to 132x50 down the bottom so you can see the results clearly)
 

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
Code:
[root@freenas ~]# zpool status                                                                                                    
  pool: freenas-boot                                                                                                              
state: ONLINE                                                                                                                    
  scan: none requested                                                                                                            
config:                                                                                                                            
                                                                                                                                  
        NAME                                          STATE     READ WRITE CKSUM                                                  
        freenas-boot                                  ONLINE       0     0     0                                                  
          gptid/938df3f6-7adf-11e6-b7e3-003048f1eb6e  ONLINE       0     0     0                                                  
                                                                                                                                  
errors: No known data errors                                                                                                      
                                                                                                                                  
  pool: new1                                                                                                                      
state: ONLINE                                                                                                                    
  scan: scrub repaired 0 in 0h1m with 0 errors on Sat Sep 10 22:01:29 2016                                                        
config:                                                                                                                            
                                                                                                                                  
        NAME                                            STATE     READ WRITE CKSUM                                                
        new1                                            ONLINE       0     0     0                                                
          mirror-0                                      ONLINE       0     0     0                                                
            gptid/ae81566b-a9e2-11e5-a3a0-003048f1eb6e  ONLINE       0     0     0                                                
            gptid/af5af84a-a9e2-11e5-a3a0-003048f1eb6e  ONLINE       0     0     0                                                
          mirror-1                                      ONLINE       0     0     0                                                
            gptid/b0341d3e-a9e2-11e5-a3a0-003048f1eb6e  ONLINE       0     0     0                                                
            gptid/b1093fc1-a9e2-11e5-a3a0-003048f1eb6e  ONLINE       0     0     0                                                
                                                                                                                                  
errors: No known data errors                                                                                                      
[root@freenas ~]#
 
Last edited by a moderator:

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
Code:
[root@freenas ~]# camcontrol devlist                                                                                              
<ATA ST1000DM003-1ER1 CC46>        at scbus0 target 0 lun 0 (pass0,da0)                                                            
<ATA ST1000DM003-1ER1 CC46>        at scbus0 target 1 lun 0 (pass1,da1)                                                            
<ATA ST1000DM003-1ER1 CC46>        at scbus0 target 2 lun 0 (pass2,da2)                                                            
<ATA ST1000DM003-1ER1 CC46>        at scbus0 target 3 lun 0 (pass3,da3)                                                            
<Isilon GP_MAIN VSC7154C 0c99>     at scbus0 target 4 lun 0 (pass4,ses0)                                                          
<PQI IDE DiskOnModule 060729DA>    at scbus1 target 0 lun 0 (pass5,ada0)                                                          
< USB DISK 2.0 PMAP>               at scbus3 target 0 lun 0 (pass6,da4)                                                            
<SanDisk Cruzer 1.00>              at scbus4 target 0 lun 0 (pass7,da5)                                                            
[root@freenas ~]#
 
Last edited by a moderator:

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Reboot

When you import via cli, freenas doesn't know about it so nothing gets mounted. But it will figure it out while booting.

Alternatively, use the cli to detach the pool and then use the GUI to import.

Sent from my Nexus 9 using Tapatalk
 

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
I did reboot after several times, even tried old usb again(got error 5)
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
I assume the name is correct? You always had named it new1 and that was the layout?
 

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
image.jpeg
 

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
Code:
[root@freenas ~]# zfs list                                                                                                         
NAME                                                    USED  AVAIL  REFER  MOUNTPOINT                                             
freenas-boot                                            624M  6.60G    31K  none                                                   
freenas-boot/ROOT                                       617M  6.60G    25K  none                                                   
freenas-boot/ROOT/Initial-Install                         1K  6.60G   613M  legacy                                                 
freenas-boot/ROOT/default                               617M  6.60G   614M  legacy                                                 
freenas-boot/grub                                      6.33M  6.60G  6.33M  legacy                                                 
new1                                                   10.4G  1.75T   184K  /new1                                                   
new1/.system                                           31.6M  1.75T   104K  legacy                                                 
new1/.system/configs-5ece5c906a8f4df886779fae5cade8a5  18.1M  1.75T  17.8M  legacy                                                 
new1/.system/cores                                     2.14M  1.75T  2.08M  legacy                                                 
new1/.system/rrd-5ece5c906a8f4df886779fae5cade8a5        96K  1.75T    96K  legacy                                                 
new1/.system/samba4                                    5.71M  1.75T  3.16M  legacy                                                 
new1/.system/syslog-5ece5c906a8f4df886779fae5cade8a5   5.11M  1.75T  1.80M  legacy                                                 
new1/all                                               6.25G  1.75T  5.21G  /new1/all                                               
new1/all/a1                                            1.03G  1.75T    64K  -                                                       
new1/jails                                              772M  1.75T   124K  /new1/jails                                             
new1/jails/.warden-template-pluginjail                  456M  1.75T   449M  /new1/jails/.warden-template-pluginjail                 
new1/jails/crashplan_1                                  316M  1.75T   759M  /new1/jails/crashplan_1                                 
new1/users                                             3.34G  1.75T  3.27G  /new1/users                                             
[root@freenas ~]#
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
its seems to be all there but how do i gain access to it again
Did you try "Import Volume" on the GUI's Storage menu?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Hardware specs like rules say to provide.

Can you list the contents of your pool from the cli?

Sent from my Nexus 5X using Tapatalk
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
ls /mnt/new1 and ls /mnt/new1/all

Sent from my Nexus 5X using Tapatalk
 

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
no
its like that zfs is not mounted
Code:
[root@freenas ~]# ls new1/users                                                                                                    
ls: new1/users: No such file or directory                                                                                          
[root@freenas ~]# ls /new1/users                                                                                                  
ls: /new1/users: No such file or directory                                                                                        
[root@freenas ~]# ls /mnt/new1                                                                                                    
ls: /mnt/new1: No such file or directory                                                                                          
[root@freenas ~]# ls /mnt/new1                                                                                                    
ls: /mnt/new1: No such file or directory                                                                                          
[root@freenas ~]# ls new1                                                                                                          
ls: new1: No such file or directory                                                                                                
[root@freenas ~]#
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
What happens when you do the auto import in the GUI?

Sent from my Nexus 5X using Tapatalk
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
no
Code:
[root@freenas ~]# ls new1/users                                                                                                    
ls: new1/users: No such file or directory                                                                                          
[root@freenas ~]# ls /new1/users                                                                                                  
ls: /new1/users: No such file or directory                                                                                        
[root@freenas ~]# ls /mnt/new1                                                                                                    
ls: /mnt/new1: No such file or directory                                                                                          
[root@freenas ~]# ls /mnt/new1                                                                                                    
ls: /mnt/new1: No such file or directory                                                                                          
[root@freenas ~]# ls new1                                                                                                          
ls: new1: No such file or directory                                                                                                
[root@freenas ~]#
What do you see when you run this?
Code:
ls /mnt
 
Status
Not open for further replies.
Top