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.

mmlinkfileset Comm<strong>and</strong><br />

Name<br />

mmlinkfileset – Creates a junction that references the root directory of a <strong>GPFS</strong> fileset.<br />

Synopsis<br />

mmlinkfileset Device FilesetName [-J JunctionPath]<br />

Description<br />

The mmlinkfileset comm<strong>and</strong> creates a junction at JunctionPath that references the root directory of<br />

FilesetName. The junction is a special directory entry, much like a POSIX hard link, that connects a name<br />

in a directory of one fileset, the parent, to the root directory of a child fileset. From the user’s viewpoint, a<br />

junction always appears as if it were a directory, but the user is not allowed to issue the unlink or rmdir<br />

comm<strong>and</strong>s on a junction. Instead, the mmunlinkfileset comm<strong>and</strong> must be used to remove a junction.<br />

If JunctionPath is not specified, the junction is created in the current directory with the name FilesetName.<br />

The user may use the mv comm<strong>and</strong> on the directory to move to a new location in the parent fileset, but<br />

the mv comm<strong>and</strong> is not allowed to move the junction to a different fileset.<br />

For information on <strong>GPFS</strong> filesets, see the chapter Policy-based data management for <strong>GPFS</strong> in General<br />

Parallel File System: Advanced <strong>Administration</strong> Guide.<br />

Parameters<br />

Device The device name of the file system that contains the fileset.<br />

File system names need not be fully-qualified. fs0 is as acceptable as<br />

/dev/fs0.<br />

FilesetName Specifies the name of the fileset to be linked. It must not already be linked<br />

into the namespace.<br />

-J JunctionPath Specifies the name of the junction. The name must not refer to an existing<br />

file system object.<br />

Exit status<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

You must have root authority to run the mmlinkfileset comm<strong>and</strong>.<br />

You may issue the mmlinkfileset comm<strong>and</strong> from any node in the <strong>GPFS</strong> cluster.<br />

When using the rcp <strong>and</strong> rsh comm<strong>and</strong>s for remote communication, a properly configured .rhosts file must<br />

exist in the root user’s home directory on each node in the <strong>GPFS</strong> cluster. If you have designated the use<br />

of a different remote communication program on either the mmcrcluster or the mmchcluster comm<strong>and</strong>,<br />

you must ensure:<br />

1. Proper authorization is granted to all nodes in the <strong>GPFS</strong> cluster.<br />

2. The nodes in the <strong>GPFS</strong> cluster can communicate without the use of a password, <strong>and</strong> without any<br />

extraneous messages.<br />

194 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!