29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

You may also choose to restrict the use of the NFS server node through the normal <strong>GPFS</strong> path <strong>and</strong> not<br />

use it as either a file system manager node or an NSD server.<br />

Synchronous writing using NFS<br />

With Linux,write operations are usually asynchronous. If synchronous writes are required over NFS, edit<br />

the /etc/exports file to include sync,no_wdelay.<br />

Unmounting a file system after NFS export<br />

Because NFS use of a <strong>GPFS</strong> file system may result in a file being held, attempting to unmount a <strong>GPFS</strong><br />

file system may return a 'Device is busy' error. If this occurs, stop the NFS daemons before attempting to<br />

unmount the file system at the NFS server. On Linux, issue this comm<strong>and</strong>:<br />

/etc/rc.d/init.d/nfs stop<br />

On AIX, issue this comm<strong>and</strong>:<br />

stopsrc -g nfs<br />

NFS can be restarted after the unmount completes. On Linux, issue this comm<strong>and</strong>:<br />

/etc/rc.d/init.d/nfs start<br />

On AIX, issue this comm<strong>and</strong>:<br />

startsrc -g nfs<br />

NIS automount considerations<br />

The default file system type when using the automounter daemon is NFS. When the -fstype option is not<br />

specified, <strong>and</strong> the server is the local node, a soft-mount of the local directory is done at the desired mount<br />

point. JFS is assumed as the only h<strong>and</strong>ler of local directories. A <strong>GPFS</strong> file system local soft-mount does<br />

not work implicitly, since the mount request is passed to JFS which then produces an error. When<br />

specifying -fstype mmfs the local soft-mount works because the mount is then passed to <strong>GPFS</strong> instead of<br />

JFS.<br />

A <strong>GPFS</strong> soft-mount does not automatically unmount. Setting -fstype nfs3 causes the local server mounts<br />

to always go through NFS. This allows you to have the same auto.map file on all nodes whether the<br />

server is local or not, <strong>and</strong> the automatic unmount will occur. If you want local soft-mounts of <strong>GPFS</strong> file<br />

systems while other nodes perform NFS mounts, you should have different auto.map files on the different<br />

classes of nodes. This should improve performance on the <strong>GPFS</strong> nodes as they will not have to go<br />

through NFS.<br />

Chapter 6. Managing <strong>GPFS</strong> access control lists <strong>and</strong> NFS export 55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!