LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-12-2006, 04:50 AM   #1
Spider2000
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
Mounting NFS in Suse


Hi, as root i try to mount in suse 9.2
mount -t nfs hostname:/Name /name -o rw
it mounts but gives UID of 4294967294 (basically nobody)
with access given for that user only.
How can i fix the problem?
Thanks
 
Old 05-12-2006, 07:25 AM   #2
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Hi spidy,

Welcome to linuxquestions.org


Does it give read write access to nobody?

You have not mentioned mount point!(Is it mentioned in fstab?)
 
Old 05-12-2006, 07:35 AM   #3
Spider2000
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Hi! Thanks for replay and kind words.

Yes, fstab has this line :
remote_server:/Name /name nfs rw,soft,retry=5 0 0

and this is what i get after mounting

drwx------ 2 4294967294 4294967294 64 2006-05-12 11:27 name/

so permissions are given to 4294967294 only, root can not do anything about it.
And yes, forgot to mention remote_server is Windows XP based
 
Old 05-12-2006, 07:43 AM   #4
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Do xp machines support nfs?

I never knew about it!

check if it is exported with rw permissions

Last edited by imagineers7; 05-12-2006 at 07:44 AM.
 
Old 05-12-2006, 07:55 AM   #5
Spider2000
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
yes its windows 2000 (sorry not XP) machine with NFS server running on it. Other windows machines can read and write on the mounted disk, so looks like that export options are correct.
 
Old 05-12-2006, 08:25 AM   #6
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Have a look at this:
http://www.freebsddiary.org/nfs.php
 
Old 05-12-2006, 09:49 PM   #7
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
cool about win2k & NFS... I never knew about that.

in any event, what's likely happening is that windows is reporting something screwy for the UID and GID for your username on the windows machine (whatever the user is that owns the share on the windows machine.... I have no idea what that would be).

For instance, if my nfs server is a linux box with user foo (UID 5) and I mount from another linux box that has user foo (UID 6), all the shares will come up like "drwx----- 5 5 directory" as opposed to "drwx----- foo foo directory" because the machine you're mounting from has no idea what UID 5 corresponds to. To solve, you ensure the user foo has the same UID and GID across your network.

The solution in this case is to find out how windows handle's UIDs and GIDs. Maybe the NFS server on the windows box allows you to define the UID & GID? Maybe it's in the users & accounts control panel?

alternatively, you could just use samba. ::shrug::

Last edited by BrianK; 05-12-2006 at 09:51 PM.
 
  


Reply


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
SUSE NFS client can't detect an NFS server RedBoot SUSE / openSUSE 4 01-20-2009 12:56 AM
NFS Mounting Riddick Linux - Networking 2 10-21-2005 02:19 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 05:18 AM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 02:01 PM
nfs mounting chrismiceli Linux - Networking 1 06-07-2003 07:48 PM

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

All times are GMT -5. The time now is 04:54 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