I'm trying to set up (one-way) file sharing between my two PC's using
NFS.  The target file system on the server appears to get mounted on the
client, but I can't see any files on it. For troubleshooting I'm using
the troubleshooting section of the NFS-HOWTO v3.1 2002-08-25. The answer
might be staring me in the face but I don't see it. Can someone help?

NFS Server: 

1. Running Fedora 9
2. Static IP: 192.168.1.150
3. /etc/exports:  /mnt   192.168.1.0/255.255.255.0(rw)
4. /mnt has two files systems mounted on it:  /windows
and /large_downloads
5. /etc/fstab entries for the two subdirectories of /mnt:
   UUID=768B-E069  /mnt/windows  vfat  uid=1000,gid=1000,umask=0000 0 0
   UUID=4f26a47f-28c3-4e5e-b6d0-6817891af123 /mnt/large_downloads ext3
defaults 1 2
   (I changed the uid, gid from 500 to 1000 to match my client)
6. My user account has UID=500,GID=500



NFS Client:

1. Running Ubuntu 8.04
2. Dynamic IP  (set by DHCP)
3. I manually issue: sudo mount -t nfs 192.168.1.150:/mnt  /mnt/nfs
4. My user account has UID=1000,GID=1000

On my client, if I follow GNOME Places -> Computer -> Filesystem -> /mnt
I see the two directories /windows and /large_downloads. However, if I
try to display the contents of the /windows directory, nothing is
displayed. The same thing happens if I try to view the contents
of /windows via "sudo gedit" (i.e root access). The same thing happens
for /large_downloads, but this is an ext3 where all the files are owned
by UID=500,GID=500 (although the permissions are "read" for "others").

I tried two things suggested by the "Troubleshootng" section of the
NFS-HOWTO:

1. On client view /proc/mounts: 192.168.1.150:/mnt  /mnt/nfs nfs
rw,relatime,vers=3,rsize=65536,wsize=65536,hard,nointr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.1.150
 0 0

2. on server view /proc/fs/nfs/exports: /mnt
192.168.1.0/255.255.255.0(rw,root_squash,sync,wdelay,no_subtree_check)


My NFS setup was based on two sources:

1. NFS HOWTO (referenced above)

2. F9 NFS HOWTO:
http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f9/howto/nfs.html










_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
  Mar 7 - Web Hack-a-thon - SUNY Newpaltz
  Apr 1 - EC2 and Cloud Computer
  May 6 - TBD

Reply via email to