Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
2) check the file /etc/auto.master and look for a file that is mentioned
normally it is /etc/auto.misc, if its the same use that or you can also add or change to a new file of your choice.
3) open the second file and mention the details of the share.
the default /etc/auto.misc contains the sample format in which the data has to be entered
or you can do
# man /etc/auto.master
1- on server
create the directories
mkdir /dir1/dir2/sub1
mkdir /dir1/dir2/sub2
vim /etc/exports
/dir1/dir2 *(rw)
:wq
service nfs restart
###########be sure there is no errors
2- on clients
vim /etc/auto.master
/misc /atuo.misc
2- vim /etc/auto.misc
dir -rw server:/dir1/dir2
:wq
#### be sure there is folder /misc
cd /misc
service autofs restart
######## sure that there is no errors
cd dir
####### then you will see the tow directories sub1 & sub2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.