16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

mount<br />

Usage notes<br />

2. To mount an HFS file system over /u/wjs with a sync interval of 120 seconds:<br />

mount -f omvs.hfs.user.wjs -o ’SYNC(120)’ /u/wjs<br />

3. To display a list of pathnames for all mountpoints under /u:<br />

mount -q /u<br />

1. <strong>System</strong>s exploiting shared file system will have I/O to an OMVS couple data<br />

set. Because of these I/O operations to the CDS, each mount request requires<br />

additional system overhead. You will need to consider the affect that this will<br />

have on your recovery time if a large number of mounts are required on any<br />

system participating in shared file system.<br />

2. The –a unmount is not available to automounted file systems.<br />

3. The –a no specification will only be accepted on z/<strong>OS</strong> V1R3 systems and later.<br />

File system recovery and mount<br />

File system recovery in a shared file system environment takes into consideration<br />

file system specifications such as –a yes|no|unmount and whether or not the file<br />

system is mounted read-only or read/write.<br />

Generally, when an owning system fails, ownership over its –a yes mounted file<br />

system is moved to another system and the file is usable. However, if a file system<br />

is mounted read/write and the owning system fails, then all file system operations<br />

for files in that file system will fail. This is because data integrity is lost when the file<br />

system owner fails. All files should be closed (BPX1CLO) and reopened<br />

(BPX1OPN) when the file system is recovered. (The BPX1CLO and BPX1OPN<br />

callable services are discussed in z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Programming:<br />

Assembler Callable <strong>Services</strong> Reference.)<br />

For file systems that are mounted read-only, specific I/O operations that were in<br />

progress at the time the file system owner failed may need to be submitted again.<br />

Otherwise, the file system is usable.<br />

In some situations, even though a file system is mounted with the –a yes option,<br />

ownership of the file system may not be immediately moved to another system.<br />

This may occur, for example, when a physical I/O path from another system to the<br />

volume where the file system resides is not available. As a result, the file system<br />

becomes ″unowned″ (the system will issue message BPXF213E when this occurs).<br />

This is true if the file system is mounted either read/write or read-only. The file<br />

system still exists in the file system hierarchy so that any dependent file systems<br />

that are owned by another system are still usable.<br />

However, all file operations for the unowned file system will fail until a new owner is<br />

established. The shared file system support will continue to attempt recovery of –a<br />

yes mounted file systems on all systems in the sysplex that are enabled for shared<br />

file system. Should a subsequent recovery attempt succeed, the file system<br />

transitions from the unowned to the active state.<br />

Applications using files in unowned file systems will need to close (BPX1CLO)<br />

those files and re-open (BPX1OPN) them after the file system is recovered.<br />

File systems that are mounted with the –a no option will become unowned when<br />

the file system owner exits the sysplex. The file system will remain unowned until<br />

436 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!