Hi all,
First post, reading for a while now. I just migrated from FN8 to the current build.
When imported my ZFS pool, it mounted it in /MyDrive rather /mnt/MyDrive.
Reading the wiki, it is recommended to use the /mnt/ for security and stability.
How do I move my ZFS mount point, without redoing/rebuilding the ZFS pool?
Question 2: do I need to move it at all?
Thanks!
FE
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!
Move /MyZFSdrive to /mnt/MyZFSdrive [Solved]
-
fisheater
- NewUser

- Posts: 7
- Joined: 27 Jul 2012 10:18
- Status: Offline
Move /MyZFSdrive to /mnt/MyZFSdrive [Solved]
Last edited by fisheater on 27 Aug 2012 23:43, edited 1 time in total.
-
kernow
- experienced User

- Posts: 92
- Joined: 23 Jun 2012 01:28
- Status: Offline
Re: Move /MyZFSdrive to /mnt/MyZFSdrive
Code: Select all
zfs set mountpoint=/mnt/MyDrive /MyDrive
HP Microserver N36L / 6GB ECC RAM / 2 x 2TB WD20EARS, N4F9.1.x
-
fisheater
- NewUser

- Posts: 7
- Joined: 27 Jul 2012 10:18
- Status: Offline
Re: Move /MyZFSdrive to /mnt/MyZFSdrive
thanks heaps.
1. I tried via GUI, it did no seem to work. It did not change the mount point.
2. I tried the CLI, confirmed where the current mount point is located with with 'zfs list'. zfs set mountpoint=/mnt/FreeNAS /FreeNAS. It returned the error, 'cannot open '/FreeNAS': invalid dataset name.
Suggestions?
Kind regards,
FE
1. I tried via GUI, it did no seem to work. It did not change the mount point.
2. I tried the CLI, confirmed where the current mount point is located with with 'zfs list'. zfs set mountpoint=/mnt/FreeNAS /FreeNAS. It returned the error, 'cannot open '/FreeNAS': invalid dataset name.
Suggestions?
Kind regards,
FE
-
kernow
- experienced User

- Posts: 92
- Joined: 23 Jun 2012 01:28
- Status: Offline
Re: Move /MyZFSdrive to /mnt/MyZFSdrive
is your mountpoint MyDrive or FreeNAS?
Both are a pretty nondescript and poor choice for a mountpoint name. I use /mnt/data.
Both are a pretty nondescript and poor choice for a mountpoint name. I use /mnt/data.
HP Microserver N36L / 6GB ECC RAM / 2 x 2TB WD20EARS, N4F9.1.x
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: Move /MyZFSdrive to /mnt/MyZFSdrive
Copied from other post: viewtopic.php?f=66&t=193&start=10
Hey, your reply is very interesting, I remember a post in the deleted old Nas4free forum of someone that upgrade from FreeNAS 8 that have the same beaviour, and the problem was that FreeNAS 8 Mont / Create Pool in a diferent folder that FreeNAS 7, so you need to impor from GUI adding desired mount point because the mount point originally in FreeNAS 8 Do not work on FreeNAS 7
zpool import -R /mnt -f poolname
or
zpool import -o mountpoint=/mnt -f poolname
You must export your pool before to import to work.
It is interesting too, viewtopic.php?f=66&t=764
Hey, your reply is very interesting, I remember a post in the deleted old Nas4free forum of someone that upgrade from FreeNAS 8 that have the same beaviour, and the problem was that FreeNAS 8 Mont / Create Pool in a diferent folder that FreeNAS 7, so you need to impor from GUI adding desired mount point because the mount point originally in FreeNAS 8 Do not work on FreeNAS 7
zpool import -R /mnt -f poolname
or
zpool import -o mountpoint=/mnt -f poolname
You must export your pool before to import to work.
It is interesting too, viewtopic.php?f=66&t=764
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
-
fisheater
- NewUser

- Posts: 7
- Joined: 27 Jul 2012 10:18
- Status: Offline
Re: Move /MyZFSdrive to /mnt/MyZFSdrive
Solved!
Was: zfs set mountpoint=/mnt/FreeNAS /FreeNAS
Correct syntax: zfs set mountpoint=/mnt/FreeNAS FreeNAS
The difference was the leading / before my existing mount point.
Big thanks to all you of you, inc <@killermist> on the irc.
Working.
Thanks!
Was: zfs set mountpoint=/mnt/FreeNAS /FreeNAS
Correct syntax: zfs set mountpoint=/mnt/FreeNAS FreeNAS
The difference was the leading / before my existing mount point.
Big thanks to all you of you, inc <@killermist> on the irc.
Working.
Thanks!
- killermist
- NewUser

- Posts: 4
- Joined: 22 Jul 2012 19:38
- Status: Offline
Re: Move /MyZFSdrive to /mnt/MyZFSdrive
Correction: The last parameter isn't a "mount point", but a pool name.fisheater wrote:Solved!
Correct syntax: zfs set mountpoint=/mnt/FreeNAS FreeNAS
The difference was the leading / before my existing mount point.
I guess I can chalk that one up as yet one more reason to dislike FreeNAS8 design. They probably make things that much more "user friendly" because they're certain their users are idiots.
-
fisheater
- NewUser

- Posts: 7
- Joined: 27 Jul 2012 10:18
- Status: Offline
Re: Move /MyZFSdrive to /mnt/MyZFSdrive
Thanks killermist. This is a new language to me, and getting the details correct make this all work.
I should say that after I moved my pool from
/FreeNAS
to
/mnt/FreeNAS
I then moved it again away from the legacy mount spot (/mnt) to /volumes/FreeNAS.
TY
FE
I should say that after I moved my pool from
/FreeNAS
to
/mnt/FreeNAS
I then moved it again away from the legacy mount spot (/mnt) to /volumes/FreeNAS.
TY
FE