× 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.



How can I mount the AS/400 drive on a linux server? If I need to how do I enable NFS?
I can use Op Nav to view the drives but I would like to mount it on my linux box.


On Nov 12, 2004, at 5:52 PM, Scott Klement wrote:


I need to mount a linux nfs to a path on the as/400, i've tried ADDMFS
and MOUNT, all of which return a "Cannot find address for specified
system name", the command I'm using is:

MOUNT TYPE(*NFS) MFS('192.168.1.156:/as400') MNTOVRDIR('/LINUX')
CODEPAGE(*ASCII *ASCII)

Hmmmm... I just tried typing the following command on my system: MOUNT TYPE(*NFS) MFS('192.168.5.7:/home') MNTOVRDIR('/mnt') CCSID(*ASCII *ASCII)

I didn't get any errors. When I went to view the files with WRKLNK '/mnt'
they were all there, I was able to view them, edit them, etc.



I've tried substituting ADDMFS instead of MOUNT,

That won't matter. the ADDMFS command and the MOUNT command are the same
thing. They call the same underlying program.



In my TCP/IP host tables I have my local ip and the system.doman.com
setup, as do I have it in the domain information setup. And can't for
the life of me figure this out, it confuses me greatly that I can map
the as/400 from the linux box, but I can't do the reverse to get the
linux onto the as/400.

Are you sure that you have an NFS server running on the Linux box? It
seems peculiar to me that you're using SMB to access the iSeries from the
Linux box, but NFS in the other direction.


Have you tried accessin the iSeries via NFS from the Linux box? (It works
a whole lot better than SMB, in my opinion!)


I use DNS here instead of the HOSTS table. I guess that could be the
difference. But, since you're accessing it by IP address anyway, I don't
see why it would matter? In fact, I just tried ending my DNS server,
running MOUNT again, and it still works even though the host can't be
looked up!


If anyone has any experience with doing a linux NFS on a as/400 I'd
greatly appreciate the assistance in this.

Heh... my experience has been "it just works." I haven't needed to troubleshoot anything, because nothing ever goes wrong.

Here are some ideas of things you can check:

a) Make sure the NFS daemon, portmapper, RPC, etc are running on the Linux
box.


b) Make sure that the iSeries has been given permission to mount things
from the Linux box in the /etc/exports file.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.