How to Install and Configure an NFS Linux Server and Client

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 41

  • @embain269
    @embain269 4 місяці тому +4

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

  • @nickm8134
    @nickm8134 8 місяців тому +4

    Brilliant, extremely thorough and very clear - than you!

  • @jim7smith
    @jim7smith 11 місяців тому +8

    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

  • @markanthonymendoza9822
    @markanthonymendoza9822 26 днів тому

    I was about to lose myself until I saw your video. please keep uploading videos

  • @Shutermagic.photos
    @Shutermagic.photos Рік тому +16

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

  • @pr0jectSkyneT
    @pr0jectSkyneT 9 місяців тому +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?

  • @priteshugrankar6815
    @priteshugrankar6815 Місяць тому

    Hi, isnt the no_subtree_check option _less secure_ because it allows the parent and child directories to be mounted?

  • @debunker_letsGO
    @debunker_letsGO 2 місяці тому +1

    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"

  • @飞翔的荷兰人-h3q
    @飞翔的荷兰人-h3q Рік тому

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

  • @marioandresheviacavieres1923
    @marioandresheviacavieres1923 6 днів тому

    Muchas Gracias!

  • @priteshugrankar6815
    @priteshugrankar6815 24 дні тому

    This is a great video but the systemctl still shows as (exited) even after giving out the file share....is that normal?

  • @fahmimfs4134
    @fahmimfs4134 6 днів тому

    mine has problem like this "mount.nfs: access denied by server while mounting ..."

  • @Moses_coder
    @Moses_coder 9 місяців тому

    Great content. Thank you

  • @levent21
    @levent21 Рік тому +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  Рік тому +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 Рік тому +1

      @@AkamaiDeveloper Thanks a lot🙋‍♂

  • @Cyber_realm
    @Cyber_realm 10 місяців тому

    Thank you for this amazing content

  • @debunker_letsGO
    @debunker_letsGO 2 місяці тому

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

  • @adimascahyaning9202
    @adimascahyaning9202 Рік тому

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

  • @MohamedELSayed-to9jj
    @MohamedELSayed-to9jj 3 місяці тому

    great tutorial!

  • @josephtucker9612
    @josephtucker9612 8 місяців тому

    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.

  • @josefsmolik5991
    @josefsmolik5991 Рік тому

    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.

  • @axMf3qTI
    @axMf3qTI 2 місяці тому

    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?

  • @hamzaerrahma9858
    @hamzaerrahma9858 Місяць тому

    Thank you

  • @l30n.marin3r0
    @l30n.marin3r0 9 місяців тому +1

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

  • @DanielSMatthews
    @DanielSMatthews Рік тому +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?

  • @AnibalEvangelista
    @AnibalEvangelista 9 місяців тому

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

  • @MR-vj8dn
    @MR-vj8dn Рік тому

    Nice. Thx.

  • @ganeshputtige
    @ganeshputtige Рік тому

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

    • @AkamaiDeveloper
      @AkamaiDeveloper  Рік тому +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

  • @peterbrown6224
    @peterbrown6224 Рік тому

    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.

  • @AlienShine
    @AlienShine 2 місяці тому

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

  •  Рік тому

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

  • @rishiraj2548
    @rishiraj2548 Рік тому

    Thanks

  • @LA-MJ
    @LA-MJ Рік тому

    Take it to the next step and configure krb5

  • @shanold7681
    @shanold7681 8 місяців тому

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

  • @crvivekshuklaUp75
    @crvivekshuklaUp75 Рік тому

    What is solution of linode signup cancellation

    • @AkamaiDeveloper
      @AkamaiDeveloper  Рік тому +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

  • @fakename8670
    @fakename8670 5 місяців тому

    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

  • @andrewr7820
    @andrewr7820 8 місяців тому

    Um, this is not ripping off @LearnLinuxTV?