Setting Up NFS on Fedora/Red Hat Linux Server for WebDocs iSeries Document Storage
From Support
[edit]
iSeries Initial Setup
- Create the IFS folder /rjsimagedocnfs
MKDIR DIR('/rjsimagedocnfs') DTAAUT(*RWX) OBJAUT(*ALL)
[edit]
Fedora/Red Hat Linux Storage Server Setup
- On Fedora/Red Hat 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
[edit]
Fedora/Red Hat NFS Share Setup
Start the NFS Server Configuration Program.
- Basic
- Directory: /rjsimagedocnfs
- Hosts: *
- Basic Permissions: Read/Write
- General Options
- Sync write operations on request: Checked
- Force sync of write operations immediately: Checked
- Hide file systems beneath: Checked
- User access
- Treat all client users as anonymous users: Checked
- Local user ID for anonymous users: 0
- Local group ID for anonymous users: 0
Note: It is imperative for the above local user id and group id settings to be set 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')
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.
