MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » February 2013

Re: NFS: EXPORTFS options



fixed

I was reading that, that looks like a remote STMF that will hold all your
paths to be mounted. I see what you want to do, I think it would, you
would have to test it out though. On the security aspect, believe the RO
is read only and the RW is read/write, guess not sure rob. I don't use NFS
that much other than for .ISO's etc. simple stuff, not sure what you are
looking to really do with NFS. Aren't you using mimix?? Couldn't you just
replicate those directories between i5's??

On Fri, Feb 1, 2013 at 1:59 PM, <rob@xxxxxxxxx> wrote:

Will that record it into the /etc/exports file like the -F options have?
Again, using your technique I'd have to change my startup program for
every EXPORTFS, or CHGNFSEXP (same command), that I export. While, if I
originally do it right it will record it in that file, and then I can tell
it to export based on the data in that file. Also your method allows any
server/client to mount this server. I was trying to restrict a particular
mount to particular servers and clients.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Jack Kingsley <iseriesflorida@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 02/01/2013 01:50 PM
Subject: Re: NFS: EXPORTFS options
Sent by: midrange-l-bounces@xxxxxxxxxxxx



I did a small test. You need to do this:

CHGNFSEXP OPTIONS('-I -O RW=,ANON=0') DIR('/rob') on your target machine.

Then do your mount on the host machine.

From there you should be able to do a DSPMFSINF on the source and on
the 2nd page of the screen you should see your remote mount



On Fri, Feb 1, 2013 at 1:41 PM, <rob@xxxxxxxxx> wrote:

yes I am trying to do a mount between a couple of IBM i's. With a
future
possibility of a Linux server using that same mount. The trick is I am
trying to set it up so that I don't have to modify a startup program to
handle each individual EXPORTFS of each particular directory being
exported. I am trying to use the options in the EXPORTFS to store it in
a
file when I initially do an export and then be able to shut down
everything that's in the file when I go into restricted state and then,
after the IPL, export them again. Clear?


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Jack Kingsley <iseriesflorida@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 02/01/2013 01:31 PM
Subject: Re: NFS: EXPORTFS options
Sent by: midrange-l-bounces@xxxxxxxxxxxx



Are you trying to do a mount point between 2 i5's or an i5 and a windows
server.

On Fri, Feb 1, 2013 at 1:24 PM, <rob@xxxxxxxxx> wrote:

Haven't done the mount on the client. Still trying to do the export
on
the server.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Jack Kingsley <iseriesflorida@xxxxxxxxx>
To: Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>,
Date: 02/01/2013 12:18 PM
Subject: Re: NFS: EXPORTFS options
Sent by: midrange-l-bounces@xxxxxxxxxxxx



What command did you run to do the original NFS against the directory.
Mount of some sort.

On Fri, Feb 1, 2013 at 11:26 AM, <rob@xxxxxxxxx> wrote:

Display Mounted FS Information

Object . . . . . . . . . . . . : /rob

File system type . . . . . . . : "root" (/)

Block size . . . . . . . . . . : 4096
Total blocks . . . . . . . . . : 79646700
Blocks free . . . . . . . . . : 21463560
Object link maximum . . . . . : 1000000
Directory link maximum . . . . : 1000000
Pathname component maximum . . : 255
Path name maximum . . . . . . : No maximum
Change owner restricted . . . : Yes
No truncation . . . . . . . . : Yes
Case Sensitivity . . . . . . . : No


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Jack Kingsley <iseriesflorida@xxxxxxxxx>
To: Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>,
Date: 02/01/2013 11:03 AM
Subject: Re: NFS: EXPORTFS options
Sent by: midrange-l-bounces@xxxxxxxxxxxx



can you do a statfs against it??

On Fri, Feb 1, 2013 at 11:00 AM, <rob@xxxxxxxxx> wrote:

Maybe I don't understand the question but on the system I am
trying
the
EXPORTFS I can do a
WRKLNK '/rob/*'
and I see
Directory . . . . : /rob

Type options, press Enter.
2=Edit 3=Copy 4=Remove 5=
11=Change current directory ...

Opt Object link Type
. DIR
.. DIR
decsadm.nsf STMF
dominofixup.sh STMF
sql.txt STMF
trend DIR
ACH & Wires Master > STMF


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Jack Kingsley <iseriesflorida@xxxxxxxxx>
To: Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>,
Date: 02/01/2013 10:44 AM
Subject: Re: NFS: EXPORTFS options
Sent by: midrange-l-bounces@xxxxxxxxxxxx



Can you display it, the one your trying to change.

On Fri, Feb 1, 2013 at 10:40 AM, <rob@xxxxxxxxx> wrote:

EXPORTFS OPTIONS('-F -O RW=GDIHQ ACCESS=GDIHQ') DIR('/rob')
Cannot find an address for the specified system name.
Export request for entry /rob failed.
0 entries exported, 1 entries not exported.
EXPORTFS OPTIONS('-F -O RW=GDIHQ.dekko-1
ACCESS=GDIHQ.dekko-1')
DIR('/rob
')
Cannot find an address for the specified system name.
Export request for entry /rob failed.
0 entries exported, 1 entries not exported.
EXPORTFS OPTIONS('-F -O RW=GDIHQ.corp.dekko.com
ACCESS=GDIHQ.corp.dekko.c
om') DIR('/rob')
Cannot find an address for the specified system name.
More...


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Jack Kingsley <iseriesflorida@xxxxxxxxx>
To: Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>,
Date: 02/01/2013 10:11 AM
Subject: Re: NFS: EXPORTFS options
Sent by: midrange-l-bounces@xxxxxxxxxxxx



Rob, try it once with just one system using FQDN and see if it
works.

On Fri, Feb 1, 2013 at 10:01 AM, <rob@xxxxxxxxx> wrote:

What am I doing wrong? I am trying to export a directory so
that
specified systems and have RW access to it.

EXPORTFS OPTIONS('-F -O RW=GDIHQ:GDIHQ1:GDIHQ2
ACCESS=GDIHQ:GDIHQ
1:GDIHQ2') DIR('/rob')
Cannot find an address for the specified system name.
Export request for entry /rob failed.
0 entries exported, 1 entries not exported.


Message ID . . . . . . : CPFA1CE Severity . . . . . .
.
:
40
Message type . . . . . : Diagnostic
Date sent . . . . . . : 02/01/13 Time sent . . . . .
.
:
09:51:31

Message . . . . : Cannot find an address for the specified
system
name.

Cause . . . . . : An error was detected while attempting to
retrieve
communication information about the host ACCESS=GDIHQ.
Recovery . . . : Verify the host name to assure it was
entered
correctly.
Or, refer to the getaddrinfo() API in the Socket programming
topic
collection in the Programming category in the IBM i
Information
Center
for
more information about recovery actions for this problem.


ping gdihq
Verifying connection to host system GDIHQ.dekko-1 at address
10.17.6.33.
PING reply 1 from 10.17.6.33 took 3 ms. 256 bytes. TTL 64.
PING reply 2 from 10.17.6.33 took 0 ms. 256 bytes. TTL 64.
PING reply 3 from 10.17.6.33 took 0 ms. 256 bytes. TTL 64.
PING reply 4 from 10.17.6.33 took 0 ms. 256 bytes. TTL 64.
PING reply 5 from 10.17.6.33 took 0 ms. 256 bytes. TTL 64.
Round-trip (in milliseconds) min/avg/max = 0/0/3.
Connection verification statistics: 5 of 5 successful (100 %).

I also tried GDIHQ.dekko-1 and that failed with the same
message.
EXPORTFS OPTIONS('-F -O RW=GDIHQ:GDIHQ1:GDIHQ2
ACCESS=GDIHQ.dekko-1:GDIHQ
1:GDIHQ2') DIR('/rob')
Cause . . . . . : An error was detected while attempting to
retrieve
communication information about the host
ACCESS=GDIHQ.DEKKO-1.



Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com

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







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact