nfs mount permission problem

I am trying to mount directories from other servers onto one that has a tape drive for backup purposes.

Machine A has the tape drive

Machine B is something on the network I want things backed up from

Machine B has the following in /etc/dfs/dfstab

share -F nfs -o ro=machinea.bigredwire.com -d "root dir" /

Machine A has this directory mounted with:

mount -F nfs -o ro machineb:/ /mnt/machineb

under this directory structure is a file that i need backed up

-rw-1 rootother1282 May 28 15:32 somefile

However, any access to this file (and other files/directories with these permissions) yields "permission denied" whether it be "more" or "tar".

The mount is done by root on Machine A, and root has the same UID/GID on both machines.

How do I configure the share/mount so I can backup this file?

Thanks

Chris

[896 byte] By [ccheshire] at [2007-11-25 23:35:40]
# 1

Just a guess, but why don't you try the "anon" option.

share -F nfs -o ro=machinea.bigredwire.com,anon=0 -d "root dir" /

This'll break down some security safegaurds, but since you're only mounting it on one system and with read-only access, I can't imagine that it'll be a problem.

spamly at 2007-7-5 18:20:08 > top of Java-index,General,Talk to the Sysop...
# 2
This may work as well... if you are using "root" to do all of it.# share -F nfs -o ro,root=machinea.bigredwire.com -d "root dir" /
bhf21279 at 2007-7-5 18:20:08 > top of Java-index,General,Talk to the Sysop...
# 3
> This may work as well... if you are using "root" to do> all of it.> > # share -F nfs -o ro,root=machinea.bigredwire.com -d> "root dir" /Thanks muchly, this solution works.Chris
ccheshire at 2007-7-5 18:20:08 > top of Java-index,General,Talk to the Sysop...