Revision 7acbda7b man/gnt-node.rst
b/man/gnt-node.rst | ||
---|---|---|
235 | 235 |
only the given nodes will be listed. |
236 | 236 |
|
237 | 237 |
|
238 |
LIST-DRBD |
|
239 |
~~~~~~~~~ |
|
240 |
|
|
241 |
**list-drbd** [\--no-headers] [\--separator=*SEPARATOR*] node |
|
242 |
|
|
243 |
Lists the mapping of DRBD minors for a given node. This outputs a static |
|
244 |
list of fields (it doesn't accept the ``--output`` option), as follows: |
|
245 |
|
|
246 |
``Node`` |
|
247 |
The (full) name of the node we are querying |
|
248 |
``Minor`` |
|
249 |
The DRBD minor |
|
250 |
``Instance`` |
|
251 |
The instance the DRBD minor belongs to |
|
252 |
``Disk`` |
|
253 |
The disk index that the DRBD minor belongs to |
|
254 |
``Role`` |
|
255 |
Either ``primary`` or ``secondary``, denoting the role of the node for |
|
256 |
the instance (note: this is not the live status of the DRBD device, |
|
257 |
but the configuration value) |
|
258 |
``PeerNode`` |
|
259 |
The node that the minor is connected to on the other end |
|
260 |
|
|
261 |
This command can be used as a reverse lookup (from node and minor) to a |
|
262 |
given instance, which can be useful when debugging DRBD issues. |
|
263 |
|
|
264 |
Note that this command queries Ganeti via :manpage:`ganeti-confd(8)`, so |
|
265 |
it won't be available if support for ``confd`` has not been enabled at |
|
266 |
build time; furthermore, in Ganeti 2.6 this is only available via the |
|
267 |
Haskell version of confd (again selected at build time). |
|
268 |
|
|
238 | 269 |
LIST-FIELDS |
239 | 270 |
~~~~~~~~~~~ |
240 | 271 |
|
Also available in: Unified diff