I’m using Nethserver 6.7 and need a few folder mounted from my NAS. I did put the code in the FSTAB and when I run mount -a the Folders are perfectly right mounted.
After a reboot they are not mounted and I need to run the mount command manualy. They are still in the FSTAB.
One of the Folders is a iscsi connection 2 others are NFS shares.
I tryed to run mount -a in rc.local but this did’nt help either.
Could please someone point me into the right direction how to get the folders mounted automaticaly after reboot?
thank you all this is a great help.
BUT:
after a reboot I’m having now my iscsi mount. but none of the nfs shares
during reboot I’ll get an connection timeout error on mount nfs.
to me it looks like this happens becos the shorewall starts after the netnfs service (accordingly to the boot.log)
Thank you all for your Support.
The last problem, the timeout at boot time was not relatet to nethserver.
My NAS, freenas, does a reverse DNS lookup during the mount process. Apparently the DNS-Server is’nt startet at this time.
The solution is to add the nethserver to the freenas hosts file.