
UNIX File System Management
128
NAS 1000s Administration Guide
NFS File Sharing Tests
HP recommends performing the following tests to verify that the setup of the shares, user
mappings, and permissions grant the desired access to the NFS shares.
1. Create an NFS share.
See "NFS File Shares" earlier in this chapter for information on creating shares.
2. Verify that the NFS share exists.
Use Terminal Services to log in to the NAS 1000s and access the command line interface:
nfsshare <sharename>
(sharename represents the name of the share.)
3. Map a user.
See "User and Group Mappings" in this chapter for instructions.
4. Verify that the mappings exist.
Use Terminal Services to log in to the NAS 1000s and access the command line interface:
mapadmin list -all
5. On the Linux/UNIX system, use the mapped user to create a file.
a.
As the root user, mount the share:
mount -t nfs <nfs server IP address:/nfs share> /mount
point
b.
Log in as a mapped user.
c.
Change directories to the mount-point directory.
d. Create the file as the mapped user (example: file1).
6. Verify that the same permissions are set up for the user on both the UNIX side and the
Windows side.
a.
List the permissions on the UNIX side:
ls -l /mount-point/file1
(Example screen display: -r--r----- unixuser1 unixgroup1)
b.
List the permissions on the Windows side: (change to the nfs share directory)
From a command line interface accessed from Terminal Services on the NAS 1000s:
cacls file1
(Example display: DOMAIN1\Windowsuser1:R)
c.
Compare and verify the permissions from UNIX and Windows.
Summary of Contents for StorageWorks NAS 1000s
Page 38: ...Setup Completion and Basic Administrative Procedures 38 NAS 1000s Administration Guide ...
Page 78: ...User and Group Management 78 NAS 1000s Administration Guide ...
Page 104: ...Folder and Share Management 104 NAS 1000s Administration Guide ...
Page 134: ...UNIX File System Management 134 NAS 1000s Administration Guide ...
Page 166: ...PSM Error Codes 166 NAS 1000s Administration Guide ...