How to Install and Configure an NFS Linux Server and Client

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

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

  • @embain269
    @embain269 8 หลายเดือนก่อน +4

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

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

    Thanks. This was simple. I haven't used NFS in 15 years on my home network as I moved from Windows and Linux to Mac, then started using online storage. I replaced with ageing macs with a Linux laptop and desktop. I realised that I didn't need SMB then I found your tutorial..
    I appreciate the written guide that accompanies the videos. So frequently, I've searched for help to relearn what I used to use Linux for and, I get a video that makes me think ten lines of text might be more practical. The video is great for a (re) introduction and documentation is good as a reference backup.

  • @nickm8134
    @nickm8134 ปีที่แล้ว +4

    Brilliant, extremely thorough and very clear - than you!

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

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

  • @jim7smith
    @jim7smith ปีที่แล้ว +10

    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 ปีที่แล้ว +16

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

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

    Very nice & easy to follow. Had it set up in now time.
    My own damn fault for wasting my time with SMB, this is so much better

  • @Sandeep-t9i
    @Sandeep-t9i 2 หลายเดือนก่อน

    well explained ! thank you !!

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

    Thank you for this amazing content

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

    Great content. Thank you

  • @pr0jectSkyneT
    @pr0jectSkyneT ปีที่แล้ว +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 5 หลายเดือนก่อน

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

  • @debunker_letsGO
    @debunker_letsGO 5 หลายเดือนก่อน +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"

  • @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🙋‍♂

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

    Ok so would you use this setup with rync then? I need to write backup of several folders to my qnap nas. Very large in content. 3-5 tb

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

      As it stands now im creating a samba share on my nas and mounting it to a dir in my /mnt folder. Then using rsync to copy all files and folders to that link directory in the /mnt folder. I create a cron job to intermittent backup at midnight every night

  • @MohamedELSayed-to9jj
    @MohamedELSayed-to9jj 6 หลายเดือนก่อน

    great tutorial!

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

    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.

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

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

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

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

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

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

  • @飞翔的荷兰人-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

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

    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?

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

    Awesome

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

    Kerberos?

  • @l30n.marin3r0
    @l30n.marin3r0 ปีที่แล้ว +1

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

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

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

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

    Muchas Gracias!

  • @MR-vj8dn
    @MR-vj8dn ปีที่แล้ว

    Nice. Thx.

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

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

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

    Thank you

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

    I do wish we didn't have to manually type out the long stuff.

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

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

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

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

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

    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

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

    Thanks

  •  ปีที่แล้ว

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

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

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

  • @LA-MJ
    @LA-MJ ปีที่แล้ว

    Take it to the next step and configure krb5

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

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

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

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

    Um, this is not ripping off @LearnLinuxTV?