How to Install and Configure an NFS Linux Server and Client

Sdílet
Vložit
  • čas přidán 26. 08. 2024

Komentáře • 35

  • @embain269
    @embain269 Před 3 měsíci +3

    Dude, you saved my life, I was struggling so hard before I saw this video, great tutorial!

  • @nickm8134
    @nickm8134 Před 7 měsíci +4

    Brilliant, extremely thorough and very clear - than you!

  • @jim7smith
    @jim7smith Před 9 měsíci +6

    Good Morning, Jay.... a long time subscriber....So if I want to enable nfs shares for my home network, where do I set the permissions to allow access for non admin users? You mentioned in the video that permissions were not important yet, but afaik you never mentioned permissions again. Thanks in advance. Jim Smith Sr

  • @Shutermagic.photos
    @Shutermagic.photos Před rokem +15

    Hello, great video! Could you do a tutorial on how to secure an NFS server?
    Best regards

  • @pr0jectSkyneT
    @pr0jectSkyneT Před 7 měsíci +3

    Is there a way to secure the NFS share via authentication (username/password)? Is there a way to mount the NFS share via the /etc/fstab file?

  • @MohamedELSayed-to9jj
    @MohamedELSayed-to9jj Před měsícem

    great tutorial!

  • @axMf3qTI
    @axMf3qTI Před 23 dny

    I have a dir mounted works file but inside that dir I mount bind a dir from an other disk in that shared dir.. it shows up but is empty inside on my client computer. Someone any idea why, and how I can I fix this?

  • @debunker_letsGO
    @debunker_letsGO Před 19 dny

    i do every step you do, but I do mine on my rhel 9 server since I am prepping for the RHCSA, and i keep getting "clnt_create: RPC: Unable to receive"

  • @Moses_coder
    @Moses_coder Před 7 měsíci

    Great content. Thank you

  • @Cyber_realm
    @Cyber_realm Před 9 měsíci

    Thank you for this amazing content

  • @debunker_letsGO
    @debunker_letsGO Před 19 dny

    do we have to use "no_subtree_check" or can I just do "sync"?

  • @josephtucker9612
    @josephtucker9612 Před 6 měsíci

    autofs is not working correctly for me. When I go to the nfs folder it shows the folder is there but when I list what is in that folder it says 'no such file or directory.'
    df -h does not show the folder.
    But I have no trouble mounting the folder without using autofs and listing its contents.

  • @AlienShine
    @AlienShine Před měsícem

    Stale file handle still happens. How can this be fixed, it's annoying to say the least.

  • @levent21
    @levent21 Před rokem +2

    Is it possible to put a symbolic link in the server folder and reach the content of it from client side? Thanks

    • @AkamaiDeveloper
      @AkamaiDeveloper  Před rokem +1

      According to the article linked below, symbolic links can be used with NFS, although they take a fair amount of configuration and planning.
      docstore.mik.ua/orelly/networking_2ndEd/nfs/ch06_04.htm
      Additionally, this post from Stack Exchange has some useful information regarding symlinks and NFS:
      unix.stackexchange.com/questions/135048/how-to-follow-symlinks-in-nfs

    • @levent21
      @levent21 Před rokem +1

      @@AkamaiDeveloper Thanks a lot🙋‍♂

  • @l30n.marin3r0
    @l30n.marin3r0 Před 8 měsíci +1

    There is no nfs-kernel-server package in Arch...I don't get it... :/

  • @MR-vj8dn
    @MR-vj8dn Před 11 měsíci

    Nice. Thx.

  • @user-ql3ic9rm2t
    @user-ql3ic9rm2t Před rokem

    very great video,but i want to ask a question ,how i can add function of support nfs v2 in ubuntu 22.04,thanks

  • @DanielSMatthews
    @DanielSMatthews Před rokem +1

    So I can use autofs to mount user home directories? But how do I control who can mount an nfs share for a home directory on a machine that is allowed to mount any share from the server hosting those home directories?

  • @rishiraj2548
    @rishiraj2548 Před rokem

    Thanks

  • @AnibalEvangelista
    @AnibalEvangelista Před 7 měsíci

    Great tutorial, but you could say its for a specific dsitribution (I think its debian for this vid).

  • @peterbrown6224
    @peterbrown6224 Před rokem

    It might just be me, but I've had problems on the client when the nfs server goes offline for some reason.
    I am referring to RHEL 7 and Fedora.
    In the case of RHEL, it was at work and the blighters needed to be rebooted after hours.

  • @ganeshputtige
    @ganeshputtige Před rokem

    Sir, can we access NFS shares from Android and IOS devices? If yes, how? Thanks in advance.

    • @AkamaiDeveloper
      @AkamaiDeveloper  Před rokem +1

      In short, yes. Although Android makes use of the Linux kernel (and is arguably a Linus distro itself), this seems to be easier done on iOS. Connecting to an NFS server/mount seems to require you to recompile the kernel on Android so your results may vary and require some in-depth troubleshooting. Here are some guides to point you in the right direction:
      - NFS Mounting for Android: android.stackexchange.com/questions/200867/how-to-mount-nfs-on-android-with-correct-permissions && androidforums.com/threads/download-files-from-linux-nfs-share-to-android-device.1307711/#post-7894369
      - NFS Mounting iOS: support.apple.com/guide/iphone/connect-external-devices-or-servers-iph8d8f0f1a0/ios

  • @adimascahyaning9202
    @adimascahyaning9202 Před rokem

    Great video!
    I have a query though, can we specify the NFS size on the server?

  • @fakename8670
    @fakename8670 Před 4 měsíci

    Followed and got it all to work accept when I list just parent directory: ls -l /mnt/nfs
    then: df -h
    it dosen't show mounts
    but it still mounts if I say: ls -l /mnt/nfs/backup

  • @josefsmolik5991
    @josefsmolik5991 Před rokem

    Hello, I really liked your tutorial. I am using openSUSE Leap 15.4 and I have a problem with the firewall. What ports must be open on the server and client side. Thank you very much for your reply and I wish you all the best.

  • @LA-MJ
    @LA-MJ Před rokem

    Take it to the next step and configure krb5

  •  Před rokem

    Is it possible to enable compression on a nfs share to save bandwith?

  • @crvivekshuklaUp75
    @crvivekshuklaUp75 Před rokem

    What is solution of linode signup cancellation

    • @AkamaiDeveloper
      @AkamaiDeveloper  Před rokem +1

      Hi there - If you received a cancellation email when you signed up for an account, we'd be happy to take another look if you want to reach us via email or phone. You can reach us via email at support@linode.com to request a review or the following numbers:
      U.S. 855-454-6633
      Global +1-609-380-7100
      You'll hear back from us if we overturn our initial decision. You can also find out what steps to take after receiving a sign-up cancellation email here:
      www.linode.com/community/questions/22948/my-signup-was-flagged-as-fraudulent-behavior

  • @shanold7681
    @shanold7681 Před 6 měsíci

    What about security? this seems like anything on the network could access this

  • @andrewr7820
    @andrewr7820 Před 6 měsíci

    Um, this is not ripping off @LearnLinuxTV?