From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653644221731.tru64-unix-managers.marc@archive.invalid> From: Tru64 User Date: Mon, 17 Dec 2001 14:42:06 +0000 To: tru64-unix-managers Subject: SUMMARY: problem with mount perms X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653644221731 My problem ended up being a misconfigured interface (servera-nfs....does not have routing information). I did received very personal support, esp. from "system administration account" whom we exchanged several emails, great thanks, and also thanks to Paul Madelaine and Trevor Osatchuk. They all took this problem as their own. The replies that help me figure out the problem are listed below: We have had a similar issue in the past. We have found the problem to lay in the name you are using in the exports file. If a system name contains a "-" the exportfs command parses this as a delimiter. With the standard usage of a line in export to be something like this: /u3/dir5 -root=milan -anon=-1 You can see where hostnames with "-" in them can screw them up. If you are using host tables, you can try an alias. Add this line to your /etc/hosts file: xxx.xxx.xxx.xxx seavera-nfs.company.com servera-nfs serveranfs And then change your /etc/exports to look something like this: /dir -root=serveranfs,access=serveranfs Hope this helps a little. Paul Madelaine What I did was use the nfs nic for nfs share only.(and big ftp's and the like) From my rc.configs: NETDEV_0="ee0" NETDEV_1="ee1" Then in hosts, both machines: 192.168.1.10 mustang #regular nic ee0 192.168.2.10 mu #nfs nic with abbreviated host name ee1 192.168.1.11 pinto #regular nic ee0 192.168.2.11 pi #nfs nic with abbreviated host name ee1 I did this on pinto in /etc/exports: /usr -root=0 mustang /mnt -root=0 mustang mu #I can export to both nics So from mustang: mount pi:/mnt /mnt Works just fine! Hope this helps. Trevor Osatchuk Interesting. You realize, I hope, that using different names and IP addresses only gives you control over which interface is used for *inbound* traffic. In other words, you can tell clients to mount filesystems from serverA-nfs; but in the opposite direction it's a lot harder to split the traffic across interfaces in the way you describe. If serverB similarly had two IP addresses (call one serverB-nfs), then you could tell serverA to mount from serverB-nfs, and add a route to serverB-nfs through the FDDI interface. But if serverB only has one IP, you can't use the route table to send some traffic through one interface and some through the other. If you could easily modify the NFS client code on server A, you might arrange to bind() specifically to the -nfs IP rather than to 0.0.0.0. But you might then just as well run Linux or one of the free BSDs... > If i export a FS to servera interface from serverB, i > am able to mount it OK. > However, change the export on serverB to reflect > interface servera-nfs, I get permission denied when > trying to mount. Because the route from server A to serverB goes through the wrong interface. "system administration account" --- Tru64 User wrote: > Greetings, > i have a few annonying problems: > > A machine [serverA], has 2 nics. Interfaces are > labeled servera and servera-nfs > the servera-nfs is to be used for nfs mounts. > > If i export a FS to servera interface from serverB, > i > am able to mount it OK. > However, change the export on serverB to reflect > interface servera-nfs, I get permission denied when > trying to mount. > > I can telnet between serverB and servera-nfs > interface > fine. /etc/routes entries are ok, traceroute > reflects > correct path. (servera-nfs is a FDDi link, while > servera is reg 10bt). > No firewall on serverB, tcpwrappers present. > Any ideas on what I am missing here that could cause > permission denied problem? > > On another machine, showmount returns: > localhost: RPC: Program not registered > Everything is working ok, i can mount, unmount fine. > Any ideas on correcting this problem so that > showmount > reflect correct values? > > _Thanks > > Richard > > ===== > > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for > all of > your unique holiday gifts! Buy at > http://shopping.yahoo.com > or bid at http://auctions.yahoo.com ===== __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com