NFS Question
Mark Phillips
mark at phillipsmarketing.biz
Fri Jan 27 12:49:48 MST 2006
I have three Debian sarge machines on a network. Two servers (softball and
gandalf) have kernel 2.6 and the laptop (latitude610) has kernel 2.4.
NFS works when I connect to gandalf from latitude610, but I cannot write
anything to softball. I can read the mount point on softball. The setup for
the two servers is the same.
softball (192.168.25.115)
--------------------------------------------
/etc/exports
/backups/mark latitude610(rw,root_squash,secure)
ls -al /backups/
total 28
drwxr-xr-x 4 root root 4096 Jan 27 12:22 .
drwxr-xr-x 23 root root 4096 May 30 2005 ..
drwx------ 2 root root 16384 May 30 2005 lost+found
drwxr-xr-x 3 mark mark 4096 Jan 27 12:31 mark
gandalf (192.168.25.114)
-----------------------------------------
/etc/exports
/backups/mark latitude610(rw,root_squash,secure)
ls -al /backups/
total 64
drwxr-xr-x 5 root root 4096 Jan 25 15:09 .
drwxr-xr-x 22 root root 4096 May 28 2005 ..
drwxr-xr-x 2 root root 49152 May 28 2005 lost+found
drwxr-xr-x 5 mark mark 4096 Jan 26 12:17 mark
drwxr-xr-x 2 root root 4096 Jan 27 00:00 mysql
latitude610
----------------------
/etc/fstab
192.168.25.114:/backups/mark /mnt/gandalf/backups/mark nfs
rw,noauto,user,hard,intr,nodev,nosuid,noexec,tcp,nfsvers=3 0 0
192.168.25.115:/backups/mark /mnt/softball/backups/mark nfs
rw,noauto,user,hard,intr,nodev,nosuid,noexec,tcp,nfsvers=3 0 0
Before mounting:
latitude610:/# ls -al /mnt/gandalf/
total 12
drwxr-xr-x 3 mark mark 4096 Jan 25 14:19 .
drwxr-xr-x 6 root root 4096 Jan 27 11:59 ..
drwxr-xr-x 3 mark mark 4096 Jan 25 14:19 backups
latitude610:/# ls -al /mnt/gandalf/backups/
total 12
drwxr-xr-x 3 mark mark 4096 Jan 25 14:19 .
drwxr-xr-x 3 mark mark 4096 Jan 25 14:19 ..
drwxr-xr-x 2 mark mark 4096 Jan 25 14:19 mark
latitude610:/# ls -al /mnt/gandalf/backups/mark/
total 8
drwxr-xr-x 2 mark mark 4096 Jan 25 14:19 .
drwxr-xr-x 3 mark mark 4096 Jan 25 14:19 ..
latitude610:/# ls -al /mnt/softball/
total 12
drwxr-xr-x 3 mark mark 4096 Jan 27 11:59 .
drwxr-xr-x 6 root root 4096 Jan 27 11:59 ..
drwxr-xr-x 3 mark mark 4096 Jan 27 11:59 backups
latitude610:/# ls -al /mnt/softball/backups/
total 12
drwxr-xr-x 3 mark mark 4096 Jan 27 11:59 .
drwxr-xr-x 3 mark mark 4096 Jan 27 11:59 ..
drwxr-xr-x 2 mark mark 4096 Jan 27 11:59 mark
latitude610:/# ls -al /mnt/softball/backups/mark/
total 8
drwxr-xr-x 2 mark mark 4096 Jan 27 11:59 .
drwxr-xr-x 3 mark mark 4096 Jan 27 11:59 ..
After mounting, the owner/group changed for /mnt/softball/backups/mark, but
not for /mnt/gandalf/backups/mark:
latitude610:/# ls -al /mnt/softball/backups/
total 12
drwxr-xr-x 3 mark mark 4096 Jan 27 11:59 .
drwxr-xr-x 3 mark mark 4096 Jan 27 11:59 ..
drwxr-xr-x 3 1001 1001 4096 Jan 27 12:31 mark
latitude610:/# ls -al /mnt/gandalf/backups/
total 12
drwxr-xr-x 3 mark mark 4096 Jan 25 14:19 .
drwxr-xr-x 3 mark mark 4096 Jan 25 14:19 ..
drwxr-xr-x 5 mark mark 4096 Jan 26 12:17 mark
I cannot figure out why the owner/group for /mnt/softball/backups/mark changed
from mark.mark to 1001.1001.
What am I missing? How do I fix it?
Thanks
--
Mark Phillips
Phillips Marketing, Inc
mark at phillipsmarketing.biz
602 524-0376
480 945-9197 fax
More information about the PLUG-discuss
mailing list