Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-31-2008, 08:46 AM   #1
LQ Newbie
Registered: May 2004
Location: Denmark
Distribution: Debian
Posts: 28

Rep: Reputation: 15
NFS squashes all users

I have a NFS server running on my server. It shares some mountpoints to a single host (my laptop)
My old laptop broke down, so i have bought a new one, but on this new laptop, when i mount the nfs share, my user is getting squashed to nouser:nogroup.

I have made sure that the uid:gid's are the same on both my server and laptop.
I've tried setting the anonuid and anongid to my wanted user, but the user is still getting squashed.

So i really have no clue about what to do.

My server configuration is debian etch with these versions of nfs:
portmap 5-26

I'm running kernel version 2.6.24, with nfs compiled in, of course and modules
nfs, nfsd, exportfs, lockd, nfs_acl

The exportsfile is this, where hjalte is defined i /etc/hosts
/home/hjalte hjalte(rw,sync,no_subtree_check)

The laptop is running debian unstable with
nfs-common 1.1.3
portmap 6.0
kernel version 2.6.26

Thank you very much for your time
Old 09-02-2008, 02:14 PM   #2
Registered: Jan 2006
Distribution: debian-lenny
Posts: 37

Rep: Reputation: 15
try no_all_squash
Old 09-02-2008, 04:17 PM   #3
LQ Newbie
Registered: May 2004
Location: Denmark
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
Hi i tried it, and it didn't work. I tried purging the configuration files on the server, and reinstall the whole shebang, but it didn't work out.

I'm thinking that it might be a problem with the client, not reporting the username/uid right... I'll try it out, maybe downgrading nfs-common might work out...
Old 09-08-2008, 06:07 AM   #4
LQ Newbie
Registered: May 2004
Location: Denmark
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
The no_all_squash didn't work out.
I tried upgrading the kernel on the server to 2.6.26, as it is the same as on my client, but that didn't work out.

Lastly i tried installing unfs3 as the server application, instead of the kernel server, and after that, I haven't had any problems with users getting squashed.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to restrict users / groups and better secure NFS themadatter Linux - Networking 8 06-30-2008 09:10 PM
Configuring users for NFS on an heterogeneous network crisostomo_enrico Solaris / OpenSolaris 2 08-24-2007 03:03 AM
NFS: synchronize users manually: setuid? zoubidoo Linux - Networking 8 01-01-2007 10:58 AM
Multiple users mounting NFS share Vincent_Vega Linux - Networking 4 08-01-2004 11:04 AM
NFS Client hang squashes all disk I/O IcarusLR Linux - Networking 0 02-13-2003 01:21 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:18 PM.

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