NFS mounting using FSTAB
Hi all,
i am using rhel 4.2 and 5. both systems are working and i am able to mount using mount manually. #mount server1:/opt/tmp /opt/tmp and it works, but if i try it via /etc/fstab server1:/opt/tmp /opt/tmp nfs _netdev,defaults 0 0 it doesn't. any tip , in this ? |
What error does it throw if you try to mount it via fstab? Using
Code:
mount -a |
there isn't any error if i use
#mount -a and able to successfully mount nfs share :( . whereas it should also work when system reboots. Google is also populated with this problem, and i still didn't found work solution of this. thanks. |
defaults
what the hell is _netdev?
try removing that option unless you know better. also for names to work in fstab like this one: Code:
tryggve:/mnt/140g /mnt/net/140g nfs defaults 0 0 Code:
10.3.0.1 tryggve try router your distro probably has an init script called something like nfsmount in /etc/init.d or /etc/rc.* make sure it is included in the startup configuration |
i have also done using ip address but no success, the
"_netdev" defines to wait until network devices up. even though i removed all options and used just "defaults" but fails to mount on boot. whereas "mount -a " works fine, that is strange, i am using RHEL 4 and RHEL 5. thanks for interest. |
have you tried
Code:
mount -a -t nfs so if the above mount did not work reformat fstab entry until it does else well not being a RHEL user think the best thing I should advise is to reinstall your nfsd package hoping it will fix your mount problem. |
i did changes in fstab. but i think reinstalling will solve this. i will check this
thanks. |
whats the update ? is this problem solved ?
|
All times are GMT -5. The time now is 03:12 AM. |