I am getting problem in automounting filesystems.When i cd to the automounted directory i dont' get the listing of files present in that directories.Can anyone help me on this.
Thanks Daniel for the reply.
I have set the autofs flag to1 but still i am facing the problem.The problem is when i do cd /net/<hostname> i get the reply not found.I can manually mount the file systems.I am not exporting any file system.Both the daemons nfsd and autofs are running.Can any provide any clues.
Thanks Daniel for the reply.
I have set the autofs flag to1 but still i am facing the problem.The problem is when i do cd /net/<hostname> i get the reply not found.I can manually mount the file systems.I am not exporting any file system.Both the daemons nfsd and autofs are running.Can any one provide any clues.
RK,
Autofs can be a pig to get get going. Try this.
/sbin/init.d/nfs.client stop
Edit /etc/rc.config.d/nfsconf and ensure that the following variables are set
AUTOMOUNT=1
AUTO_MASTER=”/etc/auto_master”
AUTOMOUNT_OPTIONS=”-f $AUTO_MASTER”
AUTOMOUNTD_OPTIONS=
AUTOFS=1
Edit /etc/auto_master and add the line (for 11i)
/- /etc/auto.direct –vers=3,proto=udp
Now create a file called /etc/auto.direct containing your directories.....along the lines of
/net/<hostname> “–o vers=3,proto=udp” <hostname>:/export/directory
Make sure the both auto_master and auto.direct are 666 mode.
Then run
/sbin/init.d/nfs.client start
Hi Ranjank, have you tried pfs_mount?
If it is already running, use: nohup /usr/sbin/pfsd&
And also nohup /usr/sbin/pfs_mountd &
If it isn´t running, run both of them and type:
pfs_mount /cdrom (or whatever...)
Hope this helps, regards,
vlan52
vlan52
The end of wisdom is freedom. The end of culture is perfection. The end of
education is character. The end of knowledge is love.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.