Chapter 6. Using GNBD with Red Hat GFS
61
Note
If you have been using GFS 5.2 or earlier and do
not
want to change your GNBD
setup you
should
specify the
-c
option. Before GFS Release 5.2.1, Linux caching
was enabled by default for
gnbd_export
. If the
-c
option is
not
specified, GNBD
runs with a noticeable performance decrease. Also, if the
-c
option is
not
specified,
the exported GNBD runs in timeout mode, using the default timeout value (the
-t
option). For more information about the
gnbd_export
command and its options, refer
to the
gnbd_export
man page.
6.1.1.2. Examples
This example exports device
/dev/sdb2
as GNBD
delta
with cache enabled.
gnbd_export -d /dev/sdb2 -e delta -c
6.1.2. Importing a GNBD on a Client
The
gnbd.ko
kernel module must be loaded on a node before it can import GNBDs. When
GNBDs are imported, device nodes are created for them in
/dev/gnbd/
with the name
assigned when they were exported.
6.1.2.1. Usage
gnbd_import
-i
Server
Server
Specifies a GNBD server by hostname or IP address from which to import GNBDs.
All GNBDs exported from the server are imported on the client running this com-
mand.
6.1.2.2. Example
This example imports all GNBDs from the server named
nodeA
.
gnbd_import -i nodeA
Содержание GFS 6.1 -
Страница 1: ...Red Hat GFS 6 1 Administrator s Guide ...
Страница 6: ......
Страница 14: ...viii Introduction ...
Страница 24: ...10 Chapter 1 GFS Overview ...
Страница 28: ...14 Chapter 2 System Requirements ...
Страница 40: ...26 Chapter 3 Installing GFS ...
Страница 72: ...58 Chapter 5 Managing GFS ...
Страница 80: ...66 Appendix A Upgrading GFS ...
Страница 84: ......