NFS problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
For some time already I have some annoying problem when mounting an NFS partition. A subdirectory on my server is exported to be used as an NFS mount on a client PC (/opt/NFSHARE ). Under NFShare is a subdirecory called Windows where I keep some legacy stuff.

When mounting the NFSHARE on a client PC, I can browse & use the different subdirectories under NFSHARE with the proper accounts,but I cannot browse the Windows subdirectory. This is what I get when I use stat to give me the details of the directory on the server and the client :

output stat Windows on server :
 File: `Windows'
 Size: 4096            Blocks: 8          IO Block: 4096   Directory
Device: 811h/2065d      Inode: 2           Links: 5
Access: (0754/drwxr-xr--)  Uid: (  502/   marcb)   Gid: (  504/nfsusers)
Access: 2006-07-24 21:43:28.000000000 +0200
Modify: 2006-07-24 21:43:03.000000000 +0200
Change: 2006-07-24 21:43:03.000000000 +0200

output stat Windows on client PC :
 File: `Windows'
 Size: 4096            Blocks: 8          IO Block: 8192   directory
Device: 15h/21d Inode: 728879      Links: 2
Access: (0774/drwxrwxr--)  Uid: (    0/    root)   Gid: (  504/nfsusers)
Access: 2006-07-24 21:19:42.000000000 +0200
Modify: 2004-10-01 10:30:44.000000000 +0200
Change: 2004-10-01 10:30:44.000000000 +0200

My account details : marcb ; UID =502 ; NIS enabled and otherwise working perfectly ; marcb is also member of group nfsusers )

One way or another, on the client PC, it seems as if the UID info changed into that of root.
on the client PC,  ls -al  gives the following info :
drwxrwxr--  2 root  nfsusers 4096 Oct  1  2004 Windows

on the server, ls -al indicates my user account as the file owner :
drwxr-xr--    5 marcb    nfsusers     4096 Jul 24 21:43 Windows

When logged in as user marcb on the server I can browse the Windows directory, but the directory remains empty when I try to browse it via the client PC.
NIS and NFS otherwise seem to work perfectly.
Via SAMBA server & client setup I can browse & rw this directory without problems. But as I no longer have PC's running Windows, SMB is no longer running and I wish I could recuperate this diskspace for something else.

I can create directories and files in this Windows directory via the client PC, but when looking for them on the server I cannot find them.

Does anybody have an idea how this can be ? and what needs to be done to correct this ??

PS : that Windows directory is mounted as a separate fysical drive into the filestructure on the server (mountpoint = /opt/NFSHARE/Windows ), but I assume this has nothing to do with this problem. Anyway, as soon as I can use this diskspace via NFS, I intend to use it for more practical things than archiving material I don't use anymore....

Thanks,
Marc



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux