2006-07-17 12:32:12

by Ulrich Windl

[permalink] [raw]
Subject: NFS export/mount problem ERR_ACCESS for exported mount point

Hi,

I have a problem with Linux (2.6.5-7.267-smp) not letting me mount a filesystem
via NFS that I have exported. The exported path is a mount point where some CIFS
filesystem is mounted.

Reasoning:
A specific CIFS filesystem (Windows/2003 Server) is needed on a bunch of servers,
so I'd prefer mounting CIFS only once on a dedicated host (linux), and from there
export it via NFS to the remaining clients (which are HP-UX with a poor CIFS
client).

Unfortunately it doesn't work. Ethereal reveals:
Portmap V2 GETPORT Call MOUNT(100005) V:2 UDP
Portmap V2 GETPORT Reply Port:700
MOUNT V2 NULL Call
MOUNT V2 NULL Reply
MOUNT V2 MNT Call /home/hyperspace/rkapoka1
MOUNT V2 MNT Reply Error:ERR_ACCESS

User Datagram Protocol, Src Port: epp (700), Dst Port: syslog-conn (601)
Remote Procedure Call, Type:Reply XID:0x44bb2150
Mount Service
Program Version: 2
V2 Procedure: MNT (1)
Status: ERR_ACCESS (13)
0000 00 30 6e 48 14 8d 00 0f 1f f9 4c d3 08 00 45 00 .0nH......L...E.
0010 00 38 00 00 40 00 40 11 d1 03 84 c7 b0 12 84 c7 .8..@.@.........
0020 b0 10 02 bc 02 59 00 24 69 e7 44 bb 21 50 00 00 .....Y.$i.D.!P..
0030 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0040 00 00 00 00 00 0d ......

I've heard rumour about some "--re-export" option, but that's not available in my
version of Linux. Any useful hints, tips, workarounds?

Regards,
Ulrich



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2006-07-17 23:45:10

by NeilBrown

[permalink] [raw]
Subject: Re: NFS export/mount problem ERR_ACCESS for exported mount point

On Monday July 17, [email protected] wrote:
> Hi,
>
> I have a problem with Linux (2.6.5-7.267-smp) not letting me mount a filesystem
> via NFS that I have exported. The exported path is a mount point where some CIFS
> filesystem is mounted.

I'm sorry, but this is not supportable with NFS.
NFS make demands of the filesystem that a network filesystem like CIFS
would find it very hard to meet. This is particularly related to
mapping from an NFS file handle to an actual file in the filesystem.

You will need to find a different way to solve your problem.

The "user space" nfs server does have a --re-export option and it does
work to some extent, but there are plenty of scenarios where it would
perform very poorly or fail completely.

NeilBrown

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-07-19 23:41:04

by NeilBrown

[permalink] [raw]
Subject: Re: NFS export/mount problem ERR_ACCESS for exported mount point

On Tuesday July 18, [email protected] wrote:
> On Tue, 18 Jul 2006, Neil Brown wrote:
>
> > The "user space" nfs server does have a --re-export option and it does
> > work to some extent, but there are plenty of scenarios where it would
> > perform very poorly or fail completely.
>
> When you say "the user space nfs server", you mean Olaf Kirchs nfs-server
> (http://freshmeat.net/projects/nfs-server/), right? Any particular reason
> why you are recommending this one instead of UNFS3
> (http://freshmeat.net/projects/unfs3/)?

I'm not recommending anything in particular. I didn't even realise
there were two separate code bases.... I suspect they both come from
common code started by Mark Shand years and years ago...

It was more a general reference than a specific recommendation.

NeilBrown

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs