RHCSA RHEL 8 - Mount and unmount network file systems using NFS

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

Комментарии • 15

  • @hairyviking9248
    @hairyviking9248 3 года назад +2

    Is there a reason you don't recommend defaults,bg in your /etc/fstab?
    In previous RHCSA's it was always best practice to add, so that if the nfs server is down, the system won't halt on boot simply because it can't mount an nfs drive.

    • @compsecgadgets
      @compsecgadgets  3 года назад +1

      Thats a very good point and something I hadn't considered!

  • @ha7763
    @ha7763 2 года назад

    At the end, after you've unmounted the nfs server, is it mandatory to remove the entries in /etc/fstab ? I think i didn't before & it caused my VM to crash & go into reboot mode

  • @ha7763
    @ha7763 2 года назад

    when i enter the /home/nfs-share ipadd entry into the exports file I get a red colour error on the word "share", do you know why?

  • @mornepretorius7329
    @mornepretorius7329 3 года назад +1

    When I try to create a file, "mount-success" in your case, I keep getting the error: "read-only file system". How do I fix this?

    • @compsecgadgets
      @compsecgadgets  3 года назад

      What are you mounting in this case. Either you are mounting as read-only or you are mounting something that is read-only such as a CD-ROM or the like?

  • @rickpohly2031
    @rickpohly2031 4 года назад +1

    Do you have to run exportfs before the share can become available to the client?

    • @compsecgadgets
      @compsecgadgets  4 года назад +1

      That or reboot the service.

    • @rickpohly2031
      @rickpohly2031 4 года назад +1

      @@compsecgadgets That clears things up! Thank you!

  • @realplazer8450
    @realplazer8450 4 года назад +2

    when i type showmount -e and ip number, i get this response
    "clnt_create: RPC: Program not registered" can you help me resolve this please. i have tried restarting nfs but i still get same error code

    • @compsecgadgets
      @compsecgadgets  4 года назад

      Hi, did you check if there are any logs within /var/log/messages is there anything in there?Also might be worth a reboot as it could be holding something open?

    • @realplazer8450
      @realplazer8450 4 года назад +1

      @@compsecgadgets yes I did. I will work on it again this week n Hope's all goes well

    • @rickpohly2031
      @rickpohly2031 4 года назад +2

      Hi there, I got this message too and after starting both rpc-statd and nfs-idmapd via the systemctl command, it worked.

  • @ancientpho
    @ancientpho 4 года назад +1

    What about Samba or Automounting NFS?

    • @compsecgadgets
      @compsecgadgets  4 года назад

      Automating is covered in another video. Samba isn't part of the current objectives for the rhcsa.