gnbd_export -d /dev/sdb1 -e delta -c
This example exports device
/dev/sdb2
as GNBD
delta
with cache enabled.
gnbd_export -d /dev/sdb2 -e delta -c
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.
Usage
gnbd_import -iServer
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 command.
Example
This example imports all GNBDs from the server named
nodeA
.
gnbd_import -i nodeA
Chapter 3. GNBD Driver and Command Usage
8