ITEM: AF3182L

Howto share CDROM with NFS clients


Customer wants to mount a CD-ROM on an NFS server, and then share 
it with NFS clients.  Customer will need to do the following:

   1) Configuring the NFS Server (DATA):
   =====================================
        - Status portmap and NFS daemons:
          'lssrc -s portmap'
          'lssrc -g nfs'
        - Start portmap and NFS daemons, if necessary:
          'startsrc -s portmap'
          'startsrc -g nfs'
        - Creating mount point for cdrom (must be empty):
          'mkdir /cdrom'
        - Creating a cdrom file system on the NFS server:
          'smitty crcdrfs'

            DEVICE name                                      /dev/cd0
            MOUNT POINT                                    [/cdrom]
            Mount AUTOMATICALLY at system restart?          yes  
            Start Disk Accounting?                          no

        - Mount the cdrom file system on the NFS server

            mount /dev/cd0

        - Make an NFS export of the mounted cdrom filesystem:
          'smitty mknfsexp'
            PATHNAME of directory to export                [/cdrom] 
            MODE to export directory                        read-only 
            HOSTNAME list. If exported read-mostly         []
            Anonymous UID                                  [-2]
            HOSTS allowed root access                      []
            HOSTS & NETGROUPS allowed client access        []
            Use SECURE option?                              no  
            EXPORT directory now, system restart or both    both 
            PATHNAME of Exports file if using HA-NFS       []

     2) Configuring an NFS Client (DATUM):
     =====================================
        - Status portmap and NFS daemons:
          'lssrc -s portmap'
          'lssrc -g nfs'
        - Start NFS daemons, if necessary:
          'startsrc -g nfs'
        - Verify that the server has exported the file system:
          'showmount -e DATA'
        - Create mount point (must be empty directory):
          'mkdir /cdrom'
        - Mount file system from DATA onto DATUM:
          'smitty mknfsmnt'

          \
             PATHNAME of mount point                 [/cdrom]
             PATHNAME of remote directory            [/cdrom]
             HOST where remote directory resides     [data]
             Mount type NAME                         []
             Use SECURE mount option?                no
          MOUNT now, add entry to /etc/filesystems
                or both?                             both  
          /etc/filesystems entry will mount
           the directory on system RESTART.          yes
          MODE for this NFS file system              read-only
          ATTEMPT mount in foreground or background  background 
          NUMBER of times to attempt mount           [] 
          Buffer SIZE for read                       [] 
          Buffer SIZE for writes                     []
          NFS TIMEOUT. In tenths of a second         []   
          ...   
          Mount file system soft or hard             hard
          Allow keyboard INTERRUPTS on hard mounts?  yes 
          ...


Support Line: Howto share CDROM with NFS clients ITEM: AF3182L
Dated: February 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:28
Comments or suggestions? Contact us