Problem adding back volume after reinstalling FreeNAS

Status
Not open for further replies.

rman215

Cadet
Joined
Jul 13, 2015
Messages
4
Build FreeNAS-9.3-STABLE-201509022158

I'm having an issue re-importing my volumes after reinstalling FreeNAS on a new flash drive. I tried using "Import Volume" through the Web GUI and no volumes were recognized. The volume I'm trying to import is labeled "CYAS". I ran the following commands below to provide you guys with some information. Any help would be greatly appreciated. Thank you.

zpool status
Code:
		CYAS-VOLUME									 ONLINE	   0	 0	
 0																			
		 raidz1-0									  ONLINE	   0	 0	
 0																			
		   gptid/18033766-570b-11e5-bda7-d05099773b08  ONLINE	   0	 0	
 0																			
		   gptid/da0e6ec6-cf34-11e7-a6fb-d05099773b08  ONLINE	   0	 0	
 0																			
		   gptid/18fd8891-570b-11e5-bda7-d05099773b08  ONLINE	   0	 0	
 0																			
																			  
errors: No known data errors													
																			  
  pool: freenas-boot															
 state: ONLINE																
  scan: none requested														
config:																		
																			  
	   NAME		STATE	 READ WRITE CKSUM								
	   freenas-boot  ONLINE	   0	 0	 0								
		 da0p2	 ONLINE	   0	 0	 0								
																			  
errors: No known data errors


zpool list
Code:
  pool: freenas-boot															
 state: ONLINE																
  scan: none requested														
config:																		
																			  
	   NAME		STATE	 READ WRITE CKSUM								
	   freenas-boot  ONLINE	   0	 0	 0								
		 da0p2	 ONLINE	   0	 0	 0								
																			  
errors: No known data errors													
[root@freenas ~]# zpool list													
NAME		   SIZE  ALLOC   FREE  EXPANDSZ   FRAG	CAP  DEDUP  HEALTH  ALTROO
T																			  
CYAS-VOLUME   8.12T  7.87T   260G		 -	37%	96%  1.00x  ONLINE  -	
freenas-boot  7.31G   520M  6.80G		 -	  -	 6%  1.00x  ONLINE  -


zpool import
This returned nothing in the command shell
 
Last edited by a moderator:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
zpool status
This output shows the volume's already imported. Is it not showing in the web GUI? If not, do zpool export CYAS-VOLUME and then retry the import from the GUI.
 

rman215

Cadet
Joined
Jul 13, 2015
Messages
4
A new problem occurred after re importing the volumes. I noticed that my dataset had changed the share type to UNIX. When I tried to change it back to windows I received this error message:

Code:
Environment:

Software Version: FreeNAS-9.3-STABLE-201509022158
Request Method: POST
Request URL: http://192.168.32.55/storage/dataset/edit/CYAS-VOLUME/backups/


Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  105.					 response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
  157.		 return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  22.				 return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/storage/views.py" in dataset_edit
  466.							 dataset_name, val)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in change_dataset_share_type
  5280.			 self.dataset_init_windows_meta_file(dataset)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in dataset_init_windows_meta_file
  5241.		 with open("%s/.windows" % path, "w") as f:

Exception Type: IOError at /storage/dataset/edit/CYAS-VOLUME/backups/
Exception Value: [Errno 2] No such file or directory: u'/mnt/CYAS-VOLUME/backups/.windows'


I then accessed my jail settings and noticed that it was not looking at the jails directory, so I pointed it to the correct path. However, after doing so the jail still did not start. Any ideas on how to fix this?
 
Status
Not open for further replies.
Top