Lines Matching +full:ip +full:- +full:block
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
16 > addr ::= [ ip:<ipv4> | ip:<ipv6> | gid:<gid> ]
18 What: /sys/class/rnbd-client/ctl/map_device
34 I.e. "clt_hostname-srv_hostname" could be a natural choice.
41 ip:<IPv6>
42 ip:<IPv4>
47 path=ip:10.0.0.66
50 The connection will be established to this server from any client IP address.
54 path=ip:10.0.0.66,ip:10.0.1.66
63 Path to the block device on the server side. Path is specified
68 <dev_search_path>/<device_path> block device. On success,
69 a /dev/rnbd<N> device file, a /sys/block/rnbd<N>/
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
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 ---------------------------------
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
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 ("/"),