Chapter 9. Managing GFS
103
9.12.1. Usage
gfs_fsck
-y
BlockDevice
-y
The
-y
flag causes all questions to be answered with
yes
. With the
-y
specified, the
gfs_fsck
does not prompt you for an answer before making changes.
BlockDevice
Specifies the block device where the GFS file system resides.
9.12.2. Example
In this example, the GFS file system residing on block device
/dev/pool/pool0
is repaired. All
queries to repair are automatically answered with
yes
.
gfs_fsck -y /dev/pool/pool0
9.13. Context-Dependent Path Names
Context-Dependent Path Names
(CDPNs) allow symbolic links to be created that point to variable
destination files or directories. The variables are resolved to real files or directories each time an
application follows the link. The resolved value of the link depends on the node or user following the
link.
CDPN variables can be used in any path name, not just with symbolic links. However, the CDPN
variable name cannot be combined with other characters to form an actual directory or file name. The
CDPN variable must be used alone as one segment of a complete path.
9.13.1. Usage
For a Normal Symbolic Link
ln
-s
Target LinkName
Target
Specifies an existing file or directory on a file system.
LinkName
Specifies a name to represent the real file or directory on the other end of the link.
For a Variable Symbolic Link
ln
-s
Variable LinkName
Summary of Contents for GFS 5.2.1 -
Page 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Page 8: ......
Page 14: ...vi Introduction...
Page 24: ...10 Chapter 1 GFS Overview...
Page 36: ...22 Chapter 4 Initial Configuration...
Page 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Page 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Page 126: ...112 Chapter 10 Using the Fencing System...
Page 132: ...118 Chapter 11 Using GNBD...
Page 144: ...130 Appendix A Upgrading GFS...
Page 184: ...170 Appendix B Basic GFS Examples...
Page 190: ......
Page 192: ...178...