Abnovitas
Dabbler
- Joined
- Nov 19, 2012
- Messages
- 13
Hi everyone!
I'm currently in the process of replacing our backup fileserver with FreeNAS, but I got a minor problem regarding mount points.
Our old servers are mounting their storage volume to their root directory as /data1 and I want to achieve the same with FreeNAS. The reason for this are several UNIX workstations that mount this volume to /data1 via NFS and have user homes and several tool directories symlinked to this NFS mount point.
But FreeNAS insists on mounting the volume to /mnt which causes NFS to export it as /mnt/data1 instead of /data1. So instead of changing the mount point on the UNIX clients and modifying all of our installation images I'd like to mount the zpool 'data1' to /data1 on the FreeNAS server (or tell NFS to export it as such).
The webgui doesn't have any option for it and replaces any zfs settings I changed ("-o mountpoint=/data1" or "-R /") when I re-import the volumes via the webgui. I also tried exporting a symlink from /data1 -> /mnt/data1 via NFS, but the webgui won't let me and I receive the error message "The path must reside within a volume mount point".
Does anybody have a hint for me? I'm still pretty new to ZFS and BSD, but my problem at the moment seems to be the webgui. Manually mounting the zpool to /data1 works perfectly fine, it's just the webgui that insists on importing the zpool to /mnt...
Even if FreeNAS will "only" be the backup server for now, I plan to replace our fileserver with it somewhere in the near future, so I'd really appreciate a solution :)
Thanks a lot in advance!
Regards,
Abnovitas
I'm currently in the process of replacing our backup fileserver with FreeNAS, but I got a minor problem regarding mount points.
Our old servers are mounting their storage volume to their root directory as /data1 and I want to achieve the same with FreeNAS. The reason for this are several UNIX workstations that mount this volume to /data1 via NFS and have user homes and several tool directories symlinked to this NFS mount point.
But FreeNAS insists on mounting the volume to /mnt which causes NFS to export it as /mnt/data1 instead of /data1. So instead of changing the mount point on the UNIX clients and modifying all of our installation images I'd like to mount the zpool 'data1' to /data1 on the FreeNAS server (or tell NFS to export it as such).
The webgui doesn't have any option for it and replaces any zfs settings I changed ("-o mountpoint=/data1" or "-R /") when I re-import the volumes via the webgui. I also tried exporting a symlink from /data1 -> /mnt/data1 via NFS, but the webgui won't let me and I receive the error message "The path must reside within a volume mount point".
Does anybody have a hint for me? I'm still pretty new to ZFS and BSD, but my problem at the moment seems to be the webgui. Manually mounting the zpool to /data1 works perfectly fine, it's just the webgui that insists on importing the zpool to /mnt...
Even if FreeNAS will "only" be the backup server for now, I plan to replace our fileserver with it somewhere in the near future, so I'd really appreciate a solution :)
Thanks a lot in advance!
Regards,
Abnovitas