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



Scott,

how do you setup NFS on the linux to access the as400 IFS?

cheers
Colin.W
----- Original Message ----- 
From: "Scott Klement" <midrange-l@xxxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Friday, November 12, 2004 11:52 PM
Subject: Re: AS/400 NFS to Linux Help


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

This e-mail has been sent by a company of Bertram Group Ltd, whose registered 
office is 1 Broadland Business Park, Norwich, NR7 0WF. 
This message, and any attachments, are intended solely for the addressee and 
may contain privileged or confidential information.  If you are not the 
intended recipient, any disclosure, copying, distribution or any action taken 
or omitted to be taken in reliance on it, is prohibited and may be unlawful.  
If you believe that you have received this email in error, please contact the 
sender immediately. Opinions, conclusions and statements of intent in this 
e-mail are those of the sender and will not bind a Bertram Group Ltd company 
unless confirmed in writing by a director independently of this message. 
Although we have taken steps to ensure that this email and any attachments are 
free from any virus, we advise that in keeping with good computing practice the 
recipient should ensure they are actually virus free.

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.