LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2019, 09:04 PM   #1
road hazard
Member
 
Registered: Nov 2015
Posts: 251

Rep: Reputation: Disabled
Question Any way to eliminate the slight pause a Windows 10 box has when opening an NFS share?


I guess this might be more of a Windows problem but, just wondering if I can do anything from the Linux side to address this?

The problem is, I created an NFS share on my Antergos box. I have a Windows 10 PC accessing that share. Everything is working perfectly except for one thing. When the Windows 10 box goes to access the NFS share, upon first access, there is a slight pause and after that, I can open the share instantly. Any way to eliminate that initial pause when opening the share from the Windows box on that first try?

I also noticed that there is a red X on the share when the Windows PC reboots. But when I click on the share, it comes up (after the slight pause). Any way to avoid that red X at boot on the Windows box?

Bonus question: I noticed that when the Window box copies files over to that NFS share, they belong to the 'autologin' group. My user account on that Linux box belongs to the same group. This going to cause any problems down the road?



Lastly, this is for fellow newbies that might come across this post far into the future. When I was distro hopping, one of the things I judged distros on was how easy they made sharing files/folders via Samba so my Windows PCs on the network could access files from my Linux media server. At the time, if Samba sharing didn't work 'out of the box' or with MINIMAL configuration, I'd delete that distro and move on.

As I've used Linux more and more over the past couple of years, I've taken a liking to NFS and prefer it over Samba. The Windows 10 boxes in my house (just 2 vs the 4 Linux boxes) have zero problems access my NFS shares. Sure, with Samba, you just right click on a folder and share it. Well, right click and hope that Samba is installed and can automagically take care of all the back end things that need setup/configured. More often than not, Samba setup falls on its' face and requires you to dig through forums looking for help.

When Samba works, it's great. When it doesn't, it SUCKS for a newbie to troubleshoot things.

For NFS sharing, on my Antergos box, I started and enabled the nfs.server and rpcbind services, created my /etc/exportfs text file that tells the NFS server what I want shared and my Linux/Windows 10 boxes are accessing it perfectly fine. Save yourself some trouble, start using NFS! The hardest thing was creating the proper exportfs text file but use Google.... TONS of examples out there. To save you some time, here's mine. (If you want to use it, you'll need to probably make changes of course.)

Code:
/mnt/md0 192.168.1.1/24(rw,insecure,sync,all_squash,nohide,no_subtree_check,anonuid=1000,anongid=1000)
 
Old 06-24-2019, 02:22 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,891

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
the delay is caused by establishing the connection. If you wish to "avoid" it you need to do a connection during login or start.
 
  


Reply

Tags
nfs mount network



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] What would prevent opening a Samba share on a linux box from another linux box rlx Linux - Networking 1 11-09-2018 09:03 PM
Run Script When Any Key Pressed, Run 2nd Script After Any Pause jakfish Linux - General 2 08-25-2016 06:47 AM
NFS Share within an NFS Share tiberus Linux - Server 2 05-25-2010 10:28 AM
how to sent any pause process to any terminal on linux mohit_parihar Linux - General 1 01-22-2010 06:40 AM
RH & HP4050N PCL - page, pause, page, pause, page andguent Linux - Hardware 0 11-10-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration