
Note
A server should not import the GNBDs to use them as a client would. If a server
exports the devices uncached, the underlying devices may also be used by gfs.
Usage
gnbd_export -dpathname-egnbdname [-c][-u][-U
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.
Note
When you configure GNBD servers with device-mapper multipath, do not spe-
cify the -c option. All GNBDs that are part of a logical volume must run with
caching disabled.
Note
If you have been using GFS 5.2 or earlier and do not want to change your GN-
BD 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 spe-
cified, GNBD runs with a noticeable performance decrease. Also, if the -c op-
tion is not specified, the exported GNBD runs in timeout mode, using the de-
fault timeout value (the -t option). For more information about the gnbd_export
command and its options, refer to the gnbd_export man page.
-uuid
Manually sets the Universal Identifier for an exported device. This option is used with -e.
Usage
4
Commenti su questo manuale