you probably miss to setup your nfs server , 'shared directories' must be
included in /etc/EXPORTS
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>
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:
$ mkdir -p /home/aaron/dir1
$ mkdir -p /home/aaron/dir2
ADDDIRE USRID(AARON SERVER1) USRD('Aaron Bartell') USER(AARON) <-- So I
do STRNFSSVR below
MOUNT TYPE(*NFS) MFS('localhost:/home/aaron/dir2')
And here is the error I get:
Additional Message Information
Message ID . . . . . . : CPFA09C
Date sent . . . . . . : 09/09/15 Time sent . . . . . . :
Message . . . . : Not authorized to object. Object is *N.
Cause . . . . . : You do not have the correct authority for object *N or
one of the directories in the object path.
Recovery . . . : Contact your security officer, the object owner, or
authorized person to obtain the correct authority to use object *N or
directories in the object path, and try your request again. If the
name is *N, it could not be determined which of the objects authority
The Security Reference, SC41-5302, contains authority information for
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
litmis.com - Open Source and IBM i. No Limits.