LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 02-09-2013, 07:02 PM   #1
fruitwerks
Member
 
Registered: Apr 2009
Posts: 80

Rep: Reputation: 15
Gentoo as NFS Server and Windows 7 Clients


Since Windows 7 came around I have had issues with NFS. I'm not sure when it happened but sometime within the last month (possibly a windows update) things have become horrible. Previously I was able to unmount and remount from windows, but I must reboot the windows machine to begin to get a mount going.

I have used the mount and net use methods, they both behave about the same, and persist never works. If I do get a mount working, it will stop working, only rebooting windows fixes it - the share will work just fine on other win7 machines. at this time, so it is not the server.

Long ago I was able to save from photoshop directly to the share, now this only creates a usually zero-byte temp file on the share. Any attempt to edit an existing file will fail, I have to delete it and copy it over. Windows thumbnails also fail to generate or update randomly.

At this point I can mount if I am lucky, I can see directory structure and filenames. Accessing files is next to impossible.

I have had the same NFS settings for many years... The purpose of the NFS share is to keep anything important safely stored on the raid array that is the NFS share.

Unfortunately search engines think I am having trouble with a video game so I am having to ask here. I was going to post on the official gentoo forums but it appears my username is inactive and it doesn't like my email.

The goal is to have the lightning fast NFS share accessible and wide open or read only (based on the share mounted) for my windows 7 machines.

If anyone has NFS working with Windows 7 please let me know how you have it setup. I know my machines are free of virii and malware, firewall is disabled and no 3rd party apps that would get in the way. The network is ipv4, simple and on the same subnet so it is not something wrong there.

Thanks!

Last edited by fruitwerks; 02-09-2013 at 07:08 PM.
 
Old 02-10-2013, 12:53 AM   #2
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 534
Blog Entries: 3

Rep: Reputation: 118Reputation: 118
Well thanks for thinking of LQ

Now can you post your tcpwrapper and exports/imports etc. configs? How about iptables -L for anything weird?

When did you first have this problem? Did you track that back to a KB article at mACROsFOt or security update that you can remove, or have you tried removing updates to the point where these issues don't occur?

How about snapshots of your win7 boxes? can you rollback those to a previous date that is known to be prior to the issues presenting themselves?

The easiest solution, or course, is to stop paying someone licensing fees for a crap operating system. Are you having these issues when you mount from a UNIX box? No? That might be additional incentive to dump that crap operating system forevermore that you've been paying licensing fees on.

What does uname -a yield when you check your kernel version? the Linux 3.7x series of kernels have some kewl support for the new NFS which supports some really neat features.

Just thought I'd throw some ideas out there you might be able to consider and tackle yourself, since you seem competent enough to take the lead and charge ahead on a notion

But I'm not kidding about ditching wYND0z3. That's obviously a problem and I can't think of a reason why someone needs it either.
 
Old 02-10-2013, 10:08 AM   #3
fruitwerks
Member
 
Registered: Apr 2009
Posts: 80

Original Poster
Rep: Reputation: 15
My exports file is pretty simple...

Code:
/store-rw/ 192.168.0.1/24(rw,async,anonuid=0,anongid=0)
/store-ro/ 192.168.0.1/24(ro,async,anonuid=0,anongid=0)
I have played with a few things in exports, but nothing appears make a difference.

This is for use at home so I don't bother with snapshots or management on that level as far as windows goes. Unfortunately I need windows for more than a few things. I am running kernel 2.6.38 and my iptables rules haven't changed since I had to update them for the net / xfilter changes. The server / NFS machine is not beefy and the kernel has been working for a long time. I see no need for anything newer at the moment - if it was a beastly desktop, I would be bleeding edge on the kernel side.

I do occasionally need to mount this share on linux vm's and I can't recall it giving me trouble.

So yeah I know it is something wrong with windows, but I'm also sure I'm not the only person having issues. I also had similar issues under Ubuntu (as the server), but Ubuntu was worse. Random fails and blackouts, never able to recover, had to reboot the server every few days - obviously not what you want from a server.

I'm open to try just about anything at this point.

Thanks!
 
Old 02-11-2013, 06:28 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I've to say tallship is making sense. NFS is great, NFSv4 is safe even over untrusted network. But for Master Foo's sake, why Windows? If you want to use Windows bend over and learn CIFS. Can't help you there, last Windows in my household died in 2003 with BSoD. As a side note, there is no limitations to share a network volume over different protocols. You can share it over NFS, ATALK, FTP, HTTP, CIFS, whatever, concurrently.
 
Old 02-11-2013, 08:16 PM   #5
fruitwerks
Member
 
Registered: Apr 2009
Posts: 80

Original Poster
Rep: Reputation: 15
As far as windows goes - yes I hate it too, the problem is my wife can't use, and somehow finds a way to break linux. She is also a diehard photoshop fan and she hates macs.

Right now things are working pretty good, but they are a bit quirky and slow sometimes.

I added this:

Code:
async,no_subtree_check,insecure_locks,no_acl
I had a few of those before, but for whatever reason it is behaving for now.

Should I upgrade my kernel? It is a 'server only' Atom based machine so I don't need a lot of zazz.

Thanks
 
  


Reply



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
finding nfs clients connected to nfs server manoj.linux Linux - Enterprise 4 03-19-2014 03:42 PM
NFS: Ubuntu (server) and Mac OS X (clients) macskeeball Linux - Networking 10 03-17-2008 05:38 AM
Linux clients, Solaris NFS server wiskic10_4 Linux - Networking 5 07-05-2006 01:56 AM
How Many Nfs Clients Can One Server Supports ? suba123 Linux - Networking 1 03-21-2006 07:11 AM
NFS Windows Clients RanmaPhreak79 Linux - Networking 2 01-16-2004 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 01:00 PM.

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