How to NFS Mount a cdrom Filesystem


Contents

About this document
On the server
On the client
Troubleshooting

About this document

Following are the steps required to mount a CD-ROM as a cdrom filesystem, export the NFS filesystem from the server and NFS mount the filesystem on the client. This document applies to AIX Versions 3.2 through 4.3.


On the server

  1. Check the status of portmap and the NFS daemons:

  2. Mount the CD-ROM:

  3. To add the filesystem for NFS exporting:

  4. Verify that the filesystem is exported:

On the Client

  1. Check the status of portmap and the NFS daemons:

  2. Verify that the server has the filesystem exported:

  3. Create the directory you will be using to access the software.

  4. To NFS mount the filesystem on the client:

On AIX 4.x BOS installation CD-ROMs and most LPP CD-ROMs, the install images are now located in /cdrom/usr/sys/inst.images. On some LPP CD-ROMs, the install images are located in /cdrom. To check which directory the install images are on, check for the existence of a .toc file in the directory. Once you have determined the directory with the .toc file, use the full pathname of the directory as your <input device> in SMIT when you perform your install.


Troubleshooting

Look for the following errors:

   mount: 1831-011 access denied for ...
   mount: 1831-008 giving up on ...
If they occur, try the following suggestions:

  1. On the server, recycle the NFS daemons. As root, run the following commands:
       stopsrc -g nfs
       stopsrc -s portmap
       cd /etc
       rm -rf state rmtab xtab
       startsrc -s portmap
       startsrc -g nfs
       exportfs -a
    

    Now try the steps listed in the preceding section "On the client" to NFS mount the CD-ROM.

    NOTE: If NIS or any other application that uses portmap is running, you will need to stop it and then restart it after this procedure.

  2. Make sure that the client's hostname and IP address are resolvable by the server. Also, make sure that the server's hostname and IP address are resolvable by the client. You can do so by running the following:

    On the server:

            host <client_hostname>
            host <client_ipaddress>
    

    The output of these lines has to match EXACTLY.

    On the client:

            host <server_hostname>
            host <server_ipaddress>
    

    The output of these lines has to match EXACTLY.

  3. On the client, enter netstat -in. If there is more than one network interface, make sure all IP addresses of the client are resolvable by the server. You can do this by running (on the server):
             host <ipaddress>
    

    Execute this command for each IP address listed in the netstat -in output.

  4. If you are still getting errors:

    On the server, enter smitty rmnfsexp.




[ Doc Ref: 9337987588836     Publish Date: Jan. 31, 2001     4FAX Ref: 6279 ]