Setting Up NFS on Novell Suse Linux Server for WebDocs iSeries Document Storage
From Support
Contents |
iSeries Initial Setup
- Create the IFS folder /rjsimagedocnfs
MKDIR DIR('/rjsimagedocnfs') DTAAUT(*RWX) OBJAUT(*ALL)
Suse Linux Storage Server Setup
- On Suse Linux Server, create a folder off the root folder named: /rjsimagedocnfs
- Apply *RWX permissions for all users.
- Determine Linux server IP address or Host Name. For our example, we will say: 1.1.1.1
Suse NFS Share Setup
- Start the YaST Configuration Program via the Start/System/Configuration/YaST option.
- Under the Network Services option, select NFS Server.
- Change the NFS Server option to Start and click Next.
- Click the Add Directory button and enter /rjsimagedocnfs for the Directory to Export field. Click OK.
- On the next screen, leave the Host Wild Card field blank or enter an asterisk: *
- Enter the following into the Options field: rw,sync,anonuid=0,anongid=0
- Click OK and then click the Finish button.
Please make note of the path that you setup in the NFS Server options. The exact Directory to Export field value must be entered in the DOCMOUNT command found in later steps.
Basic Suse Settings
Directory: /rjsimagedocnfs Hosts: * Options: rw,sync,anonuid=0,anongid=0
Note: It is imperative for the above local anonuid (user id) and anongid (group id) settings to be set to 0 in order for the iSeries to be able to access the NFS server as root user 0. (uid=0/QSECOFR)
DOCMOUNT (Mount Linux File Share)
RJSIMAGE/DOCMOUNT HOST('1.1.1.1') NFSSHARE('/rjsimagedocnfs') IFSDIR('/rjsimagedocnfs')
NOTE: For our example, we will say the Linux server IP addresses: 1.1.1.1
NOTE: Make sure that the NFSSHARE parameter contains the exact path that was setup in the NFS Server options on the SUSE machine (case sensitive). Failure to type this exactly will result in an error in the DOCMOUNT command.
DOCUNMOUNT (Unmount Linux File Share)
RJSIMAGE/DOCUNMOUNT IFSDIR('/rjsimagedocnfs')
See if NFS share is mounted
WRKLNK OBJ('/rjsimagedocnfs')
Take option 8 and review the following setting: System object is on
If it says: Local, the drive share is unmounted. If it says: Remote, the drive share is mounted.
Take option 5, to drill into the folder and see any IFS image file objects located on the remote Linux server.
