RHCSA Exam Autofs Question || What is Autofs and How Does it Work? || RHEL 9
ฝัง
- เผยแพร่เมื่อ 9 ก.พ. 2025
- In this lecture, Autofs question in RHCSA exam is covered. Autofs is a service to automatically mount a NFS share at client-side mount point "on demand". It helps to save network and system resources. The NFS share is automatically unmounted when the NFS share is no longer required.
In RHCSA exam you need to configure only the client side.
Subscribe - / dextutor
This lecture is part of the RHCSA exam playlist: • RHCSA Exam Questions |...
Other Reference Videos:
1. SSH - • RHCSA Exam SSH topic |...
2. Containers - • RHCSA Exam Container Q...
3. SELinux - • RHCSA SELinux Question...
Tools Required:
1. RHEL environment
Other Playlists:
OS: • Operating System
Operating System Lab playlist: • Operating System Lab
Linux Essential: • Linux Tutorial For Beg...
Was this tutorial about AutoFS in RHCSA helpful? If so, please share. Let me know your thoughts in the comments.
#linux #rhcsa #rhel9 #dextutor #autofs #nfs
If you get the error clnt_create:RPC: program not registered
run the command
#systemctl enable --now nfs-server.service
It did not work for me
@@abdorouiss5279 systemctl start --now nfs-server.service
@@abdorouiss5279 run on the server
Thank you very much for this! I appreciate your time in creating, editing, and posting this tutorial. I am taking my RHCSA in two weeks and this helped me to clear up a slight confusion with the autofs objective.
You're welcome! I'm glad it helped
Dear Sir,
I have recently discovered your channel and glad that I've found it in time. I've watched all the videos and they helped me a lot. I have cleared my RHCSA exam with ease. Thanks to you and your videos. Keep up the good work.
And if you can please start uploading tutorial of RHCE exam
Congratulations.. I am glad that the videos were helpful..keep sharing
Can you share your email or phone number? dextutor@gmail.com
Hiya nazmul hasan can you please guide a bit about exam
Hasan How you book your exam? i am also want to book but some payment issue
Here's a video to your success th-cam.com/video/athzPUkpLJg/w-d-xo.html
Thanks for the video I was getting clnt create: RPC Program not registered. But after restarting services rpc and nfs I was able to get this working thanks really helps in my prep for RHCSA
Hello. i wrote my exam today, and i cleared with a score of 218.
most of the questions i got was from this study guide. Thanks @dextutor
Congratulations
Sooperb. Very well explained. Please these kind of videos. ❤️❤️❤️
Thanks
Thank you so much for sharing your knowledge
Thank you so much for sharing your knowledge, this has been the best video regarding autofs I have found.
Glad it was helpful!
great explanation
Was waiting for this...thanks
Most welcome
@@dextutor ..sir are questions of same type asked in RHCSA exam??? I am about to appear for the exam by next month
Really appreciable content and way of teaching ..
Keep watching
Thanks for sharing
Hi @dextutor
All configuration is done. but when I start autofs it creates folder /auto_master but not mount the access folder mapping itself. When I issue the command
touch /auto_master/access
it creates folder access folder and I can see the mounted files and folder inside it.
why not auto create access folder and auto mount the contents inside it?
but when I mount manually
mount -t nfs :/share /mnt
It mounts the filesystem sucessfully.
Kindly give some hint what I am doing wrong.
On the exam do you need to create the autofs server ? Or just the client ?
Client only
1 constructive comment,
You mounted the NFS "share" on `/auto_mount/access/`
and not on `/auto_mount` however, great job!
how fix?
Great Videos man, be amazing if you would increase the font a bit or zoom in.
Can you make a tutorial on nfs4 ACE(access control entries)
Q1 in the /etc/auto.misc
Do you created this access point or it has to automatically created like the case in the /etc/ auto.master file where the auto-mount point entry is automatically created. Because I did not hear any explanation when you were making the entry.
I am able to create the auto mount in the /etc/auto.master file, but I can cd into the access point in the /etc/auto.misc file
Please I found the error. For anyone who is going to through this same issue. Please Make sure to run the firewall and systemctl command on the two services nfs and autofs on the client’s server, that should be after you have made an entries on the /etc/auto.master and /etc/auto.misc file . When you are done with the above step. Before run ls / command and cd to the directory in the auto.master file and lastly cd to the next directory in the /etc/auto.misc file that you called mount point.
@@chrismbah597 im also facing same issue .
Sir,
i can able to go inside /auto_mount/access and did "ls -l" nothing was showing. even Df -th not showing mount point. When i mount manually " mount i.p:/shares /auto_mount/access " then it was showing me in DF -th and i can able to do "ls -l" and i can able to write and view. Why it so after manual mounting?
The same problem !! i'm waiting for a reponse plz
Should not happen.. Just crosscheck if you have missed something..may be missed systemctl enable autofs --now
Hello sir
Did you create access file or it automatically create it?
Plz review the video once
I have reviewed it many time
My doesn't create automatically that's why I'm asking?
Can I use * instead of access?
Sir when i run showmount command it shows but when in the last step when i type ls / it does not show the directory
I am facing 1 issue: once i have done all the steps from client side i did not find "access" dir. found this message: cd : access : no such file and directory . anyone can help to solve the issue.
Configure autofs to make sure after login successfully, it has home directory autofs, which is shared as /rhome/ldapuser40 users can use home directory normally?
Plz solve this que
my question is if going to the directory the acceess directory is hidden and is not listed when doing ls. Will their script recognise the access directory?? Thank you
If you know its hidden then unhide it.
@@dextutor well yes after cd into the directory it is shown but will it stay that way? I will do it again and reboot the machine to be sure. I am just asking because there are various ways to do this and wanna be sure this is the correct way. Thanks again, great videos!
Good stuff. very clear instructions . Will there be any questions about indirect mount in Exam?
Anything can be asked
Sir i had a project to do. But I am confused about taking the client and server ip address Please help me out
Check the networking video. It may help
Good stuff man, really appreciate it. I see you have tutorial about shell scripting in the Linux playlist. Are you going to move it to RHCSA playlist? Do you plan to upload more video to RHCSA playlist or it's already finished? Thanks!
Majority portion is uploaded.. I will move the shell scripting videos here also
Why two different mount point auto_mount and access ? Can we write both same name ?
auto_mount is the first part of the path and access the second part. You can also write in the masters file /- and then in the map file the whole path: /auto_mount/access
How to save in gnu sir (6.14)
Do you recommend a good course to accomplish RCHSA ?.
Follow these videos and linux essentials playlist. Practice is the key.
Hello sir, i recently discovered your channel and it's really helpful but I wanted to know if you provide coaching for RHCSA exam preparation? And how can I contact you..
dextutor@gmail.com
Thank you very much for this video on autofs. I have a question: what do I do when I give the command "showmount -e 172.28.45.151" for instance and I get "clnt_create: RPC: Program not registered". I look forward to your assistance. God bless.
firewall-cmd --add-service rpc-bind --permanent
same thing we only have to add the service on the server?
systemctl enable --now nfs-server rpcbind
systemctl start nfs-server
@@ramiferwana9745 Thank you! :)
Is there a practice question for this one?
There's only one scenario which is explained
Hello Dextutor
is this for RHEL 8 or 9 ? because there is the /etc/auto.master.d/ dir to story the autof maps
Yes it works in both RHEL 8 and 9
Sir do this exam but i am fail i got 200 passing marks from 210 so what do
It seems like you're close! Keep practicing and you'll get there.
Baljit Bro how to book voucher ??
training-lms.redhat.com/lmt/clmsBrowseV2.prMain?site=redhat&in_region=in&in_keyword=EX200
@@dextutor i have booked my exam on RHEL 9 version but objectives are same and i read about lvmvdo also , any suggestions.. i am little bit nervous with latest 9 version
No difference. Just ensure you have covered everything and have enough practice. VDO n LVM are covered in playlist
@@dextutor Fine bro, i will do same.
All steps done as per the video
But cd access shows error
Kindly recheck
What is the ip address of client
Already mentioned in video
Hello, DexTutor, the showmount -e command throws the following error :
rpc mount export: RPC: Unable to receive; errno = Connection refused
I'm not sure if I'm missing something, pls help.
I'm experiencing the same issue
I experienced the same. Check "firewall-cmd --list-all" to see if "rpc-bind" had been added. In my case I realized I forgot to use "--permanent" when I added "rpc-bind" separately so when it reloaded it erased rpc-bind from the services that I've enabled on firewalld.
make sure on the server you have added rpc-bind service to firewall with --permanent, and also make sure that nfs-server service is running
Thanks for sharing