Hello all,
I have just recently started using Freenas and for all account it is quite a good looking system. However, there is something I am trying to do that I as yet have not found a way to.
Basically, the freenas server is going to become my new file server for a site. However, a lot of our old archive files are stored on a NAS storage on a seperate server. What I want to do is mount these folders through to the freenas so that it is all in one place for the users to see.
I have managed to mount it ok with the following command.
mount_nfs 10.10.10.1:/share /mnt/sharepath
However, I want this to be a permanent mount and not get lost when or if the freenas server gets rebooted. I have seen that I can't just do it in fstab as that gets generated on boot. So, any ideas on how this would be achieved? I found /etc/rc.d/ix-fstab that seems to be the file that generates the fstab on boot. I wondered if there was a way to manipulate that to put my mount in on boot?
Or is there some other way to do what I need?
Thanks in advance.
I have just recently started using Freenas and for all account it is quite a good looking system. However, there is something I am trying to do that I as yet have not found a way to.
Basically, the freenas server is going to become my new file server for a site. However, a lot of our old archive files are stored on a NAS storage on a seperate server. What I want to do is mount these folders through to the freenas so that it is all in one place for the users to see.
I have managed to mount it ok with the following command.
mount_nfs 10.10.10.1:/share /mnt/sharepath
However, I want this to be a permanent mount and not get lost when or if the freenas server gets rebooted. I have seen that I can't just do it in fstab as that gets generated on boot. So, any ideas on how this would be achieved? I found /etc/rc.d/ix-fstab that seems to be the file that generates the fstab on boot. I wondered if there was a way to manipulate that to put my mount in on boot?
Or is there some other way to do what I need?
Thanks in advance.