2010-01-30, 18:09
gabbott Wrote:I've got NFS shares now working after using this thread. One question, editing rc.local and mounting that way works for me. Is there a preferable method between using rc.local and fstab that is better? Or is either method just really doing the same thing.
Personally, I always prefer to use fstab rather than rc.local when mounting shares.
The only problem with that is: On many systems fstab will get processed (and shares mounted) before the network stack is fully initialized (DHCP, etc.), causing the NFS mount in fstab to fail.
If that's the case I've found that rc.local is the best alternative, as the commands it contains get run only after the other init scripts are called.