Import ZFS pool from Nas4Free to Freenas?

Status
Not open for further replies.

oleost

Cadet
Joined
Aug 19, 2012
Messages
6
Hello, want to convert to Freenas again and try, currently I have a Nas4free setup with 3 ZFS disks, is there any easy way to convert to Freenas?
 
D

dlavigne

Guest
Depending upon the pool version and layout, you might be able to auto-import the pool. You will have to re-do all of the other configuration though. A quick test is to burn a stick with the latest release, boot into it, and see if it recognizes the existing pool in Storage -> Volumes -> Auto Import Volume.
 

robdeep

Dabbler
Joined
Oct 17, 2013
Messages
15
I'm in a similar situation with a client. Has anyone tried this? Existing system is Nas4Free 9.1.0.1 based. I believe the ZFS versions are the same between it and the current FreeNas release.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
I had to move to NAS4Free for one box (failed motherboard, didnt have anything to handle 8+gb of ram on hand). It worked fine going to NAS4Free. I can only imagine it will work fine coming back the other way. Make sure you backup first!
 

av_jui

Cadet
Joined
Nov 13, 2013
Messages
2
I have problems to do this.

I got one error.

Code:
Request Method:    POST
Request URL:    http://192.168.1.250/storage/auto-import/
Software Version:    FreeNAS-9.1.1-RELEASE-x64 (a752d35)
Exception Type:    ValueError
Exception Value:   
 
unsupported format character '"' (0x22) at index 13
 
Exception Location:    /usr/local/lib/python2.7/site-packages/django/utils/functional.py in __mod__, line 160
Server time:    Do, 14 Nov 2013 00:38:37 +0100

Traceback
Code:
Environment:
 
Software Version: FreeNAS-9.1.1-RELEASE-x64 (a752d35)
Request Method: POST
Request URL: http://192.168.1.250/storage/auto-import/
 
 
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  109.                        response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
  165.        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
  25.                return view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
  68.            return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools/wizard/views.py" in dispatch
  227.        response = super(WizardView, self).dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
  86.        return handler(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools/wizard/views.py" in post
  290.                return self.render_done(form, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools/wizard/views.py" in render_done
  332.        done_response = self.done(final_form_list, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/storage/forms.py" in done
  711.                        'for futher details check pool status') % vol['label'])
File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py" in __mod__
  160.                return six.text_type(self) % rhs
 
Exception Type: ValueError at /storage/auto-import/
Exception Value: unsupported format character '"' (0x22) at index 13


Any solution for this
 

av_jui

Cadet
Joined
Nov 13, 2013
Messages
2
Update:

First you must export your pool on nas4free. So it will success. :D

Type on your console
Code:
zpool export -f [poolname]
 
Status
Not open for further replies.
Top