you probably miss to setup your nfs server , 'shared directories' must be
included in /etc/EXPORTS
Paul
From: Aaron Bartell <aaronbartell@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 09/09/2015 23:35
Subject: MOUNT from one dir to another on same IBM i
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Hi all,
I am trying to mount a drive on my IBM i to another directory on the
**same** IBM i. Unfortunately PASE doesn't have the Linux/AIX mount(n1)
command so I am attempting the CL MOUNT(n2) command but am running into
issues. Btw, I am open to other options that would accomplish the same
(note symbolic links wont work for my situation).
Here are the steps I am taking:
CALL QP2TERM
$ mkdir -p /home/aaron/dir1
$ mkdir -p /home/aaron/dir2
ADDDIRE USRID(AARON SERVER1) USRD('Aaron Bartell') USER(AARON) <-- So I
can
do STRNFSSVR below
STRNFSSVR SERVER(*ALL)
MOUNT TYPE(*NFS) MFS('localhost:/home/aaron/dir2')
MNTOVRDIR('/home/aaron/dir1')
And here is the error I get:
Additional Message Information
Message ID . . . . . . : CPFA09C
Date sent . . . . . . : 09/09/15 Time sent . . . . . . :
23:04:38
Message . . . . : Not authorized to object. Object is *N.
Cause . . . . . : You do not have the correct authority for object *N or
for
one of the directories in the object path.
Recovery . . . : Contact your security officer, the object owner, or
other
authorized person to obtain the correct authority to use object *N or
the
directories in the object path, and try your request again. If the
object
name is *N, it could not be determined which of the objects authority
was
not sufficient.
The Security Reference, SC41-5302, contains authority information for
the
operation.
Bottom
I've not used MOUNT before and the reference to *N is leaving me without
much direction. Anybody have suggestions of things to try.
n1 -
http://linux.about.com/od/commands/l/blcmdl8_mount.htm
n2 -
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/cl/mount.htm
Aaron Bartell
litmis.com - Open Source and IBM i. No Limits.
As an Amazon Associate we earn from qualifying purchases.