× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Not clear why you want to do this? Why not just use a symlink?

On 9/9/2015 4:35 PM, Aaron Bartell wrote:
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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.