Richard, are you saying I have update the /etc/hosts so that the NFS server
will allow the mount? Currently my mount job looks like this,
MOUNT FILESYSTEM(SYS1.OMVS.NFSTEST) TYPE(NFS) +
MOUNTPOINT('/u/st1mat/test/') PARM('27.1.39.104:/matt,XLAT(Y)')
Where,
SYS1.OMVS.NFSTEST - is an empty zfs not currently mounted.
MOUNTPOINT('/u/st1mat/test/') - empty dir on mvs uss
PARM('27.1.39.104:/matt,XLAT(Y)') - RHEL 5.5 Linux server, /matt is the
directory I want to access from uss.
Getting this error
BPXF028I FILE SYSTEM SYS1.OMVS.NFSTEST WAS 322
NOT MOUNTED. RETURN CODE = 0000008B, REASON CODE = 6E050001
8B= operation not permitted
6E05=ownership issue
-----Original Message-----
From: Richard Troth [mailto:[email protected]]
Sent: Tuesday, September 20, 2011 12:10 PM
To: Dazzo, Matt
Subject: Re: RH NFS Server
Here is (most of) my /etc/exports from my main home system ...
/export/home *.casita.net(rw,sync,no_root_squash,fsid=9)
/export/opt *.casita.net(rw,sync,no_root_squash,fsid=10)
/export/media *.casita.net(rw,sync,no_root_squash,fsid=11)
The "fsid" part is optional. (In your case, I recommend leaving it
out to simplify things.)
The "no_root_squash" flag means to expose files owned by UID 0. For
the filesystems in question (in my case, probably also true for
backups like you are doing), it makes things cleaner. (No UID
swizzling means less moving parts.)
The "rw" and "sync" flags go together. You'll probably just want
"ro". (No need for "sync".)
NOTICE that I export to "*.casita.net". My home domain is
"casita.net". EVERY client host needs to be recognized by the NFS
server. I usually have to add them to /etc/hosts ... and fully
qualify them. (Probably don't have to fully qualify if you don't go
with wildcards like I did.) In your case, all IP addresses of your
MVS system need to be recognized by the NFS server. The NFS server
needs to see your MVS box as legit.
If you cannot mount the Linux filesystems on MVS, then check
/var/log/messages on the Linux side.
-- R; <><
Rick Troth
Velocity Software
http://www.velocitysoftware.com/
On Tue, Sep 20, 2011 at 10:56, Dazzo, Matt <[email protected]> wrote:
> I would like to nfs mount a filesystem that resides on a vm/Linux server onto
> mvs in hopes of maybe backing it up to tape. I have configured both the nfs
> client and server on mvs. Now I need to configure the nfs server on Linux
> 5.5, according to the good book I need to configure the /etc/exports file. I
> am looking for a sample exports file of a similar requirement, anyone care to
> share?
>
> Thanks Matt
>
>
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/