AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Mount remote directory

    Posted Fri February 23, 2007 06:41 PM

    Originally posted by: SystemAdmin


    This is my first time to mount a remote directory. After reading the doc on line, here are the steps I think are correct:
    I have two machines (one AIX/one RH), A and B; and i want to mount dir B:/remoteDir to A
    1. enter the /remoteDir in /etc/exports on B
    2. run "exportfs -o rw /remoteDir" on B
    3. run "mknfsmnt -f /remoteDir -d /remoteDir -h B
    #AIX-Forum


  • 2.  Re: Mount remote directory

    Posted Fri February 23, 2007 07:10 PM

    Originally posted by: SystemAdmin


    when I run the last step on my AIX box (machine A), I got this message:
    mount: 1831-010 server BAANBACKUP not responding: RPC: 1832-019 Program not registered
    mount: backgrounding
    why the RPC: 1832-019 not register? What else pre-requirements are needed for mounting a remote server /directory on both machines?
    #AIX-Forum


  • 3.  Re: Mount remote directory

    Posted Fri February 23, 2007 07:48 PM

    Originally posted by: dukessd


    Looks like the nfs server is not running on the host machine, so the client cannot connect to it.
    #AIX-Forum


  • 4.  Re: Mount remote directory

    Posted Fri February 23, 2007 09:43 PM

    Originally posted by: SystemAdmin


    So how do I make nfs server running as a host machine?
    #AIX-Forum


  • 5.  Re: Mount remote directory

    Posted Sat February 24, 2007 02:12 AM

    Originally posted by: SystemAdmin


    an unmodified aix 5 installation starts /etc/rc.nfs via /etc/inittab after boot; rc.nfs will start the nfs server if an /etc/exports file exists; the portmap service is also required, it will be started through /etc/rc.tcpip

    by hand: startsrc -s portmap
    startsrc -g nfs

    Regards
    #AIX-Forum


  • 6.  Re: Mount remote directory

    Posted Tue February 27, 2007 05:10 PM

    Originally posted by: SystemAdmin


    my AIX machine is OK. Actually I found that I needed to "service nfs start" on my RHEL 3 and exportfs the remote directory (entry in /etc/hosts); more important, for RH EL3, I need to change the nfs_use_reserved_ports to 1 by using the nfso in AIX environment:
    #nfso -o nfs_use_reserved_ports=1
    without this got the error of "vmount: Operation not permitted"
    then run the "mknfs -f /remoteDir -d /localDir -h remoteHost
    examine with df and check the new entry in the /etc/filesystems.
    #AIX-Forum


  • 7.  Re: Mount remote directory

    Posted Wed February 28, 2007 12:14 PM

    Originally posted by: SystemAdmin


    To make the nfs_use_reserved_port change permanently, use the -p option with the -o. So if the system is rebooted, the NFS is still effective.
    #AIX-Forum


  • 8.  Re: Mount remote directory

    Posted Wed February 28, 2007 12:14 PM

    Originally posted by: SystemAdmin


    To make the nfs_use_reserved_port change permanently, use the -p option with the -o. So if the system is rebooted, the NFS is still effective.
    #AIX-Forum


  • 9.  Re: Mount remote directory

    Posted Tue February 27, 2007 07:07 PM

    Originally posted by: SystemAdmin


    Altough I can monut the nfs from A to B, as I did under the root user. In B, I created the exportfs with -o rw,async,nowdely, but I can not create a file from A after I cd to the remoteDir. I have to chmod o+wr of remoteDir on B side, then I can create the file in A side. Why?
    #AIX-Forum