Chapter 11. Using GNBD
115
The GNBD driver is implemented through the following client and server kernel modules.
•
gnbd.o
— Implements the GNBD device driver on GNBD clients (nodes using GNBD devices).
•
gnbd_serv.o
— Implements the GNBD server. It allows a node to export local storage over the
network.
Two user commands are available to configure GNBD:
•
gnbd_export
(for servers) — User program for creating, exporting, and managing GNBDs on a
GNBD server.
•
gnbd_import
(for clients) — User program for importing and managing GNBDs on a GNBD
client.
11.2.1. Exporting a GNBD from a Server
The
gnbd_serv.o
kernel module must be loaded on a node before it can export storage as a GNBD.
Once local storage has been identified to be exported, the
gnbd_export
command is used to export
it.
Caution
When configured for GNBD multipath, a GNBD server (a server that is exporting a GNBD) ignores
Linux page caching. Caching is ignored to ensure data integrity when using GNBD multipath. (By
default, the
gnbd_export
command exports with caching turned off.)
Note
A server should not use the devices it has exported, nor should it import the GNBDs to use them as
a client would.
11.2.1.1. Usage
gnbd_export -d
pathname
-e
gnbdname
[
-c
] [
-P
PortNumber
]
pathname
Specifies a storage device to export.
gnbdname
Specifies an arbitrary name selected for the GNBD. It is used as the device name on GNBD
clients. This name must be unique among all GNBDs exported in the network.
-c
Enable caching. Reads from the exported GNBD and takes advantage of the Linux page cache.
By default, the
export_gnbd
command does
not
enable caching.
Содержание GFS 5.2.1 -
Страница 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Страница 8: ......
Страница 14: ...vi Introduction...
Страница 24: ...10 Chapter 1 GFS Overview...
Страница 36: ...22 Chapter 4 Initial Configuration...
Страница 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Страница 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Страница 126: ...112 Chapter 10 Using the Fencing System...
Страница 132: ...118 Chapter 11 Using GNBD...
Страница 144: ...130 Appendix A Upgrading GFS...
Страница 184: ...170 Appendix B Basic GFS Examples...
Страница 190: ......
Страница 192: ...178...