ln -s VariableLinkName
Variable
Specifies a special reserved name from a list of values (refer to
Values") to represent one of multiple existing files or directories. This string is not the name
of an actual file or directory itself. (The real files or directories must be created in a separate
step using names that correlate with the type of variable used.)
LinkName
Specifies a name that will be seen and used by applications and will be followed to get to
one of the multiple real files or directories. When
depends on the type of variable and the node or user doing the following.
Variable
@hostname
@mach
@os
@sys
@uid
@gid
Table 4.5. CDPN
Variable
Example
In this example, there are three nodes with hostnames
node uses directory
/gfs/log/
each node. To do this, no actual log directory is created; instead, an
Description
This variable resolves to a real file or directory named with the
hostname string produced by the output of the following command:
echo `uname -n`
This variable resolves to a real file or directory name with the
machine-type string produced by the output of the following
command:
echo `uname -m`
This variable resolves to a real file or directory named with the
operating-system name string produced by the output of the
following command:
echo `uname -s`
This variable resolves to a real file or directory named with the
combined machine type and OS release strings produced by the
output of the following command:
This variable resolves to a real file or directory named with the
user ID string produced by the output of the following command:
echo `id -u`
This variable resolves to a real file or directory named with the
group ID string produced by the output of the following command:
echo `id -g`
Values
, but the administrator wants these directories to be separate for
Table 4.5, "CDPN
is followed, the destination
LinkName
echo `uname -m`_`uname -s`
,
and
. Applications on each
n01
n02
n03
@hostname
Example
Variable
CDPN link is
41
Need help?
Do you have a question about the GLOBAL FILE SYSTEM 5.1 and is the answer not in the manual?
Questions and answers