I have a ZFS volume that was created under FreeNAS 7. This has been migrated to FreeNAS and and now to NAS4Free. The pool contains a single dataset. However the pool is imported into the root directory and not under the mnt directory.
The CIFS/Samba documentation strongly suggests that shares should be located in mnt. Up to now there have been no problems, but in upgrading to the current nightly of NAS4Free I can no longer see the share. Nothing else has changed.
Any suggestions?
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
[HOWTO] Importing ZFS volumes from FreeNAS 8 to Nas4Free
-
slaycock
- experienced User

- Posts: 93
- Joined: 24 Jun 2012 17:15
- Status: Offline
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Importing ZFS volumes
you need to impor from shell adding desired mount point because the mount point originally in FreeNAS 8 Do not work on FreeNAS 7 = Nas4Free.
or
PD: if your pool is actually imported, first need to export.
When done and works, go to ZFS WEBGUI and syncronize to reflect changes you do in shell.
Code: Select all
zpool import -R /mnt -f poolnameCode: Select all
zpool import -o mountpoint=/mnt -f poolnameWhen done and works, go to ZFS WEBGUI and syncronize to reflect changes you do in shell.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
slaycock
- experienced User

- Posts: 93
- Joined: 24 Jun 2012 17:15
- Status: Offline
Re: [HOWTO] Importing ZFS volumes from FreeNAS 8 to Nas4Free
Thanks for the prompt response. Unfortunately the two shell commands above do not work.
The command
zpool import -R /mnt -f poolname
Works for the current session but dissappears when NAS4FREE is rebooted.
The command
zpool import -o mountpoint=/mnt -f poolname
gave the response that 'mountpoint' is not a valid zpool option but your command agrees with those I've googled.
Do I need to create a directory in /mnt to be able to mount my pool.
The command
zpool import -R /mnt -f poolname
Works for the current session but dissappears when NAS4FREE is rebooted.
The command
zpool import -o mountpoint=/mnt -f poolname
gave the response that 'mountpoint' is not a valid zpool option but your command agrees with those I've googled.
Do I need to create a directory in /mnt to be able to mount my pool.
-
slaycock
- experienced User

- Posts: 93
- Joined: 24 Jun 2012 17:15
- Status: Offline
Re: [HOWTO] Importing ZFS volumes from FreeNAS 8 to Nas4Free
A. Found the answer. zfs set mountpoint=/mnt/poolname poolname
Moves the pool 'poolname' also mounted as 'poolname' to a new mountpoint. Don't use just '/mnt'. Checked and it does survive a reboot.
Please also note that you will need to reimport in the GUI as synchronisation doesn't detect this change. So BEFORE you delete the pool in the GUI please export it from the command line. Then delete from the GUI. The you won't inadvertently delete the filepool as I did. If you do accidently delete the file pool then you can get it back using
zpool import -D -f poolname
However I did note that using the GUI to import a pool already imported from the command line still doesn't set the mountpoint field in the GUI ZFS configuration screen.
REgards
Steve
Moves the pool 'poolname' also mounted as 'poolname' to a new mountpoint. Don't use just '/mnt'. Checked and it does survive a reboot.
Please also note that you will need to reimport in the GUI as synchronisation doesn't detect this change. So BEFORE you delete the pool in the GUI please export it from the command line. Then delete from the GUI. The you won't inadvertently delete the filepool as I did. If you do accidently delete the file pool then you can get it back using
zpool import -D -f poolname
However I did note that using the GUI to import a pool already imported from the command line still doesn't set the mountpoint field in the GUI ZFS configuration screen.
REgards
Steve
-
robo1
- Status: Offline
Re: [HOWTO] Importing ZFS volumes from FreeNAS 8 to Nas4Free
Hi :
Please help I am migrating my pool form 8.3 to nas4free i run the command zpool import -R /mnt/poolname -f poolname i can see the pool and thing look good but it does not show in the gui nor hold upon reboot can some please walk me through the proper steps to setup this pool many thanks
Robert
Please help I am migrating my pool form 8.3 to nas4free i run the command zpool import -R /mnt/poolname -f poolname i can see the pool and thing look good but it does not show in the gui nor hold upon reboot can some please walk me through the proper steps to setup this pool many thanks
Robert
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: [HOWTO] Importing ZFS volumes from FreeNAS 8 to Nas4Free
to see in the GUI you need to go to ZFS | Configuration | Synchronize,
And synchronize your Pool to web GUI:
http://wiki.nas4free.org/doku.php?id=do ... n_detected
http://wiki.nas4free.org/doku.php?id=do ... ynchronize
And synchronize your Pool to web GUI:
http://wiki.nas4free.org/doku.php?id=do ... n_detected
http://wiki.nas4free.org/doku.php?id=do ... ynchronize
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510