• Home
  • Raw
  • Download

Lines Matching +full:side +full:- +full:by +full:- +full:side

1 What:		/sys/class/rnbd-client
5 Description: Provide information about RNBD-client.
6 All sysfs files that are not read-only provide the usage information on read:
10 # cat /sys/class/rnbd-client/ctl/map_device
13 > [path=<[srcaddr,]dstaddr>] device_path=<full path on remote side>
18 What: /sys/class/rnbd-client/ctl/map_device
26 device_path=<full path on remote side>
34 I.e. "clt_hostname-srv_hostname" could be a natural choice.
37 describes a connection between the client and the server by
63 Path to the block device on the server side. Path is specified
64 relative to the directory on server side configured in the
70 directory and an entry in /sys/class/rnbd-client/ctl/devices
75 the following parameter "dev_search_path=/run/rnbd-devs/%SESSNAME%",
77 will try to open: /run/rnbd-devs/blya/sda.
81 mapped as "ro" read-only or "rw" read-write. The server allows
83 access mode has to be specified if a second mapping in read-write
86 By default "rw" is used.
89 specifies the number of poll-mode queues. If the IO has HIPRI flag,
90 the block-layer will send the IO via the poll-mode queue.
91 For fast network and device the polling is faster than interrupt-base
96 Set -1 if you want to set it as the number of CPUs
97 By default rnbd client creates only irq-mode queues.
99 NOTICE: MUST make a unique session for a device using the poll-mode queues.
108 ---------------------------------
110 After mapping, the device file can be found by:
111 o The symlink /sys/class/rnbd-client/ctl/devices/<device_id>@<session_name>
112 points to /sys/block/<dev-name>. The last part of the symlink destination
113 is the same as the device name. By extracting the last part of the
114 path the path to the device /dev/<dev-name> can be build.
116 * /dev/block/$(cat /sys/class/rnbd-client/ctl/devices/<device_id>@<session_name>/dev)
121 What: /sys/class/rnbd-client/ctl/devices/
126 /sys/class/rnbd-client/ctl/devices/<device_id>@<session_name>, which points
127 to the block device created by rnbd (/sys/block/rnbd<N>/).
130 - If the 'device_path' provided during mapping contains slashes ("/"),
131 they are replaced by exclamation mark ("!") and used as as the