60
Chapter 6. Using GNBD with Red Hat GFS
•
gnbd_import
(for clients) — User program for importing and managing GNBDs on a
GNBD client.
6.1.1. Exporting a GNBD from a Server
The
gnbd_serv
daemon must be running on a node before it can export storage as a
GNBD. You can start the
gnbd_serv
daemon running
gnbd_serv
as follows:
#
gnbd_serv
gnbd_serv: startup succeeded
Once local storage has been identified to be exported, the
gnbd_export
command is used
to export it.
Note
A server should not import the GNBDs to use them as a client would. If a server exports
the devices uncached, they may also be used by
ccsd
and
gfs
.
6.1.1.1. Usage
gnbd_export
-d
pathname
-e
gnbdname
[
-c
]
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 a network.
-o
Export the device as read-only.
-c
Enable caching. Reads from the exported GNBD and takes advantage of the Linux
page cache.
By default, the
gnbd_export
command does
not
enable caching.
Summary of Contents for GFS 6.1 -
Page 1: ...Red Hat GFS 6 1 Administrator s Guide ...
Page 6: ......
Page 14: ...viii Introduction ...
Page 24: ...10 Chapter 1 GFS Overview ...
Page 28: ...14 Chapter 2 System Requirements ...
Page 40: ...26 Chapter 3 Installing GFS ...
Page 72: ...58 Chapter 5 Managing GFS ...
Page 80: ...66 Appendix A Upgrading GFS ...
Page 84: ......