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.

chmount<br />

Options<br />

Example<br />

Usage Note<br />

Rule: A chmount user must have UID(0) or at least have READ access to the<br />

SUPERUSER.FILESYS.MOUNT resource found in the <strong>UNIX</strong>PRIV class.<br />

–a<br />

yes|no|unmount|include,sysname1,...,sysnameN|exclude,sysname1,...,sysnameN<br />

The -a option specifies the AUTOMOVE attribute of the file system in a<br />

sysplex environment where systems are exploiting the shared file system<br />

capability.<br />

–a yes allows the system to automatically move logical ownership for a<br />

specified file system as needed. This is the default.<br />

–a no prevents ownership movement in some situations.<br />

–a umount unmounts the file system in some situations.<br />

–a include,sysname1,...,sysnameN specifies a list of systems, in priority<br />

order, to which the file system's ownership can be moved. include can<br />

be abbreviated to i.<br />

–a exclude,sysname1,...,sysnameN specifies a list of systems, in<br />

priority order, to which the file system's ownership cannot be moved.<br />

exclude can be abbreviated to e.<br />

See z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning for details about the behavior of<br />

the AUTOMOVE options.<br />

–D Reassigns logical ownership of a file system to any available file system<br />

participating in shared file system.<br />

–d destsys<br />

To designate a specific reassignment, use –d destsys, where destsys<br />

becomes the logical owner of a file system in a shared file system<br />

environment.<br />

–R Changes the attributes of a specified file system and all file systems<br />

mounted below it in the file system hierarchy.<br />

–r Switches the specified file system to read-only mode.<br />

–w Switches the specified file system to read-write mode.<br />

pathname... specifies the pathnames to use for locating the file systems that need<br />

attributes changed.<br />

To move ownership of the file system that contains /u/wjs to SY1:<br />

chmount -d SY1 /u/wjs<br />

The pathname for chmount/unmount is a node so symlinks can not be followed<br />

unless a trailing slash is added to the symbolic link name. For example, if /etc has<br />

been converted into a symbolic link, /etc -> $SYSNAME/etc, issuing chmount -w<br />

/etc (without the trailing slash) will result in trying to chmount -w /etc -><br />

$SYSNAME/etc. This may result in RACF errors depending on the security access<br />

for the symlinked file. However, adding the trailing slash, by specifying chmount -w<br />

/etc/ the symlink will be followed and RACF will determine the access from the<br />

symlinked file.<br />

128 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!