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

ความคิดเห็น • 89

  • @dextutor
    @dextutor  ปีที่แล้ว +6

    If you get the error clnt_create:RPC: program not registered
    run the command
    #systemctl enable --now nfs-server.service

    • @abdorouiss5279
      @abdorouiss5279 8 หลายเดือนก่อน

      It did not work for me

    • @rakshan3554
      @rakshan3554 5 หลายเดือนก่อน

      @@abdorouiss5279 systemctl start --now nfs-server.service

    • @yasinelabe5730
      @yasinelabe5730 หลายเดือนก่อน

      @@abdorouiss5279 run on the server

  • @joshmcneil1086
    @joshmcneil1086 17 วันที่ผ่านมา

    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.

    • @dextutor
      @dextutor  13 วันที่ผ่านมา

      You're welcome! I'm glad it helped

  • @nazmulhasanhimel8056
    @nazmulhasanhimel8056 3 ปีที่แล้ว +16

    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

    • @dextutor
      @dextutor  3 ปีที่แล้ว +1

      Congratulations.. I am glad that the videos were helpful..keep sharing

    • @dextutor
      @dextutor  3 ปีที่แล้ว +1

      Can you share your email or phone number? dextutor@gmail.com

    • @luvk421
      @luvk421 3 ปีที่แล้ว

      Hiya nazmul hasan can you please guide a bit about exam

    • @Gamma_Wale
      @Gamma_Wale 2 ปีที่แล้ว

      Hasan How you book your exam? i am also want to book but some payment issue

    • @dextutor
      @dextutor  2 ปีที่แล้ว +1

      Here's a video to your success th-cam.com/video/athzPUkpLJg/w-d-xo.html

  • @tonyg460
    @tonyg460 2 ปีที่แล้ว +1

    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

  • @MpogolaLediga
    @MpogolaLediga ปีที่แล้ว +3

    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

    • @dextutor
      @dextutor  ปีที่แล้ว +2

      Congratulations

  • @BilalMohammed1988
    @BilalMohammed1988 2 ปีที่แล้ว +1

    Sooperb. Very well explained. Please these kind of videos. ❤️❤️❤️

  • @irisdeberges221
    @irisdeberges221 ปีที่แล้ว +1

    Thank you so much for sharing your knowledge

  • @josesolano6171
    @josesolano6171 2 ปีที่แล้ว

    Thank you so much for sharing your knowledge, this has been the best video regarding autofs I have found.

    • @dextutor
      @dextutor  2 ปีที่แล้ว

      Glad it was helpful!

  • @ompaithankar0007
    @ompaithankar0007 ปีที่แล้ว +1

    great explanation

  • @pratiksartville5673
    @pratiksartville5673 3 ปีที่แล้ว +2

    Was waiting for this...thanks

    • @dextutor
      @dextutor  3 ปีที่แล้ว

      Most welcome

    • @pratiksartville5673
      @pratiksartville5673 3 ปีที่แล้ว

      @@dextutor ..sir are questions of same type asked in RHCSA exam??? I am about to appear for the exam by next month

  • @deepikachaudhary5049
    @deepikachaudhary5049 ปีที่แล้ว

    Really appreciable content and way of teaching ..

    • @dextutor
      @dextutor  ปีที่แล้ว

      Keep watching

  • @hamidja1537
    @hamidja1537 ปีที่แล้ว +1

    Thanks for sharing

  • @fahmedsa
    @fahmedsa 8 หลายเดือนก่อน

    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.

  • @Innovationlu
    @Innovationlu ปีที่แล้ว +1

    On the exam do you need to create the autofs server ? Or just the client ?

    • @dextutor
      @dextutor  ปีที่แล้ว +1

      Client only

  • @markhillis4556
    @markhillis4556 2 ปีที่แล้ว +2

    1 constructive comment,
    You mounted the NFS "share" on `/auto_mount/access/`
    and not on `/auto_mount` however, great job!

  • @arghosinha
    @arghosinha ปีที่แล้ว

    Great Videos man, be amazing if you would increase the font a bit or zoom in.

  • @maheshpaudyal1847
    @maheshpaudyal1847 4 หลายเดือนก่อน

    Can you make a tutorial on nfs4 ACE(access control entries)

  • @chrismbah597
    @chrismbah597 7 หลายเดือนก่อน

    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

    • @chrismbah597
      @chrismbah597 7 หลายเดือนก่อน +1

      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.

    • @bilalhanif622
      @bilalhanif622 18 วันที่ผ่านมา

      @@chrismbah597 im also facing same issue .

  • @ashishgupta3788
    @ashishgupta3788 2 ปีที่แล้ว +1

    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?

    • @najibahammouda2830
      @najibahammouda2830 2 ปีที่แล้ว

      The same problem !! i'm waiting for a reponse plz

    • @dextutor
      @dextutor  2 ปีที่แล้ว

      Should not happen.. Just crosscheck if you have missed something..may be missed systemctl enable autofs --now

  • @soundiatakeita7004
    @soundiatakeita7004 ปีที่แล้ว

    Hello sir
    Did you create access file or it automatically create it?

    • @dextutor
      @dextutor  ปีที่แล้ว

      Plz review the video once

    • @soundiatakeita7004
      @soundiatakeita7004 ปีที่แล้ว

      I have reviewed it many time
      My doesn't create automatically that's why I'm asking?

  • @mmanzur
    @mmanzur 11 หลายเดือนก่อน

    Can I use * instead of access?

  • @adityamoray3271
    @adityamoray3271 ปีที่แล้ว

    Sir when i run showmount command it shows but when in the last step when i type ls / it does not show the directory

  • @irfanyousaf78
    @irfanyousaf78 3 หลายเดือนก่อน

    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.

  • @swagatakadam2046
    @swagatakadam2046 2 ปีที่แล้ว

    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

  • @gregorkokalj9326
    @gregorkokalj9326 ปีที่แล้ว

    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

    • @dextutor
      @dextutor  ปีที่แล้ว

      If you know its hidden then unhide it.

    • @gregorkokalj9326
      @gregorkokalj9326 ปีที่แล้ว

      @@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!

  • @sanjayrajvaghela
    @sanjayrajvaghela 2 ปีที่แล้ว

    Good stuff. very clear instructions . Will there be any questions about indirect mount in Exam?

    • @dextutor
      @dextutor  2 ปีที่แล้ว

      Anything can be asked

  • @chandraprakashyadav9418
    @chandraprakashyadav9418 ปีที่แล้ว

    Sir i had a project to do. But I am confused about taking the client and server ip address Please help me out

    • @dextutor
      @dextutor  ปีที่แล้ว

      Check the networking video. It may help

  • @martindominikus6846
    @martindominikus6846 3 ปีที่แล้ว

    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!

    • @dextutor
      @dextutor  3 ปีที่แล้ว

      Majority portion is uploaded.. I will move the shell scripting videos here also

  • @pradya7735
    @pradya7735 ปีที่แล้ว

    Why two different mount point auto_mount and access ? Can we write both same name ?

    • @soufianayadi7519
      @soufianayadi7519 9 หลายเดือนก่อน +1

      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

  • @chandraprakashyadav9418
    @chandraprakashyadav9418 ปีที่แล้ว

    How to save in gnu sir (6.14)

  • @md9936
    @md9936 3 ปีที่แล้ว

    Do you recommend a good course to accomplish RCHSA ?.

    • @dextutor
      @dextutor  3 ปีที่แล้ว

      Follow these videos and linux essentials playlist. Practice is the key.

  • @PS-tj7bi
    @PS-tj7bi 3 ปีที่แล้ว

    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
      @dextutor  3 ปีที่แล้ว

      dextutor@gmail.com

  • @josephfondem8220
    @josephfondem8220 3 ปีที่แล้ว

    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.

    • @dextutor
      @dextutor  2 ปีที่แล้ว

      firewall-cmd --add-service rpc-bind --permanent

    • @cyberswissarmy
      @cyberswissarmy 2 ปีที่แล้ว

      same thing we only have to add the service on the server?

    • @ramiferwana9745
      @ramiferwana9745 2 ปีที่แล้ว +1

      systemctl enable --now nfs-server rpcbind

    • @wajdimanai2622
      @wajdimanai2622 ปีที่แล้ว

      systemctl start nfs-server

    • @MrEjo14
      @MrEjo14 ปีที่แล้ว

      @@ramiferwana9745 Thank you! :)

  • @christopherblanche2753
    @christopherblanche2753 2 ปีที่แล้ว

    Is there a practice question for this one?

    • @dextutor
      @dextutor  2 ปีที่แล้ว

      There's only one scenario which is explained

  • @anisslimatni2350
    @anisslimatni2350 6 หลายเดือนก่อน

    Hello Dextutor
    is this for RHEL 8 or 9 ? because there is the /etc/auto.master.d/ dir to story the autof maps

    • @dextutor
      @dextutor  6 หลายเดือนก่อน

      Yes it works in both RHEL 8 and 9

  • @ujjwalnikam5026
    @ujjwalnikam5026 18 วันที่ผ่านมา

    Sir do this exam but i am fail i got 200 passing marks from 210 so what do

    • @dextutor
      @dextutor  13 วันที่ผ่านมา

      It seems like you're close! Keep practicing and you'll get there.

  • @Gamma_Wale
    @Gamma_Wale 2 ปีที่แล้ว

    Baljit Bro how to book voucher ??

    • @dextutor
      @dextutor  2 ปีที่แล้ว

      training-lms.redhat.com/lmt/clmsBrowseV2.prMain?site=redhat&in_region=in&in_keyword=EX200

    • @Gamma_Wale
      @Gamma_Wale 2 ปีที่แล้ว

      @@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

    • @dextutor
      @dextutor  2 ปีที่แล้ว

      No difference. Just ensure you have covered everything and have enough practice. VDO n LVM are covered in playlist

    • @Gamma_Wale
      @Gamma_Wale 2 ปีที่แล้ว

      @@dextutor Fine bro, i will do same.

  • @vaishalshah8480
    @vaishalshah8480 ปีที่แล้ว

    All steps done as per the video
    But cd access shows error

    • @dextutor
      @dextutor  ปีที่แล้ว

      Kindly recheck

  • @chandraprakashyadav9418
    @chandraprakashyadav9418 ปีที่แล้ว

    What is the ip address of client

    • @dextutor
      @dextutor  ปีที่แล้ว

      Already mentioned in video

  • @LinuxTorvalds-qc4hh
    @LinuxTorvalds-qc4hh 2 ปีที่แล้ว +1

    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.

    • @Innovationlu
      @Innovationlu 2 ปีที่แล้ว +1

      I'm experiencing the same issue

    • @dianam3251
      @dianam3251 2 ปีที่แล้ว

      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.

    • @wajdimanai2622
      @wajdimanai2622 ปีที่แล้ว

      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

  • @techwithsoiket
    @techwithsoiket ปีที่แล้ว +1

    Thanks for sharing