Red Hat GFS 5.2.1 Administrator's Manual page 175

Table of Contents

Advertisement

Appendix B. Basic GFS Examples
Caution
The GNBD server should not attempt to use the devices it exports — either directly or by
importing them. Doing so can cause cache coherency problems.
2. Import GNBD devices on all GFS nodes and the lock server node.
Use
gnbd_import
n01# gnbd_import -i gnbdsrv
n02# gnbd_import -i gnbdsrv
n03# gnbd_import -i gnbdsrv
lcksrv# gnbd_import -i gnbdsrv
3. Create pool configurations for the two file systems.
Create pool configuration files for each file system's pool:
and
pool_gfs02
poolname pool_gfs01
subpools 1
subpool 0 0 1
pooldevice 0 0 /dev/gnbd/gfs01
poolname pool_gfs02
subpools 1
subpool 0 0 1
pooldevice 0 0 /dev/gnbd/gfs02
4. Create a pool configuration for the CCS data.
Create a pool configuration file for the pool that will be used for CCS data. The pool does not
need to be very large. The name of the pool will be
, followed by
alpha
poolname alpha_cca
subpools 1
subpool 0 0 1
pooldevice 0 0 /gnbd/cca
5. Create the pools using the
Note
This operation must take place on the GNBD server node (
Use the
pool_tool
n01# pool_tool -c pool_gfs01.cf pool_gfs02.cf alpha_cca.cf
Pool label written successfully from pool_gfs01.cf
Pool label written successfully from pool_gfs02.cf
Pool label written successfully from alpha_cca.cf
to import the GNBD devices from the GNBD server (
for the second file system. The two files should look like the following:
). The file should look like the following:
_cca
pool_tool
command to create all the pools as follows:
pool_gfs01
alpha_cca
command.
gnbdsrv
for the first file system,
. (The name of the cluster,
).
gnbdsrv
161
):

Advertisement

Table of Contents
loading

Table of Contents