Revision f69dab6d man/gnt-node.sgml

b/man/gnt-node.sgml
382 382

  
383 383
      <cmdsynopsis>
384 384
        <command>volumes</command>
385
        <arg>--no-headers</arg>
386
        <arg>--human-readable</arg>
387
        <arg>--separator=<replaceable>SEPARATOR</replaceable></arg>
388
        <arg>--output=<replaceable>FIELDS</replaceable></arg>
389
        <sbr>
385 390
        <arg rep="repeat"><replaceable>node</replaceable></arg>
386 391
      </cmdsynopsis>
387 392

  
......
391 396
      </para>
392 397

  
393 398
      <para>
399
        The <option>--no-headers</option> option will skip the initial
400
        header line. The <option>--separator</option> option takes an
401
        argument which denotes what will be used between the output
402
        fields. Both these options are to help scripting.
403
      </para>
404

  
405
      <para>
406
        The <option>-o</option> option takes a comma-separated list of
407
        output fields. The available fields and their meaning are:
408
        <variablelist>
409
          <varlistentry>
410
            <term>node</term>
411
            <listitem>
412
              <simpara>the node name on which the volume exists</simpara>
413
            </listitem>
414
          </varlistentry>
415
          <varlistentry>
416
            <term>phys</term>
417
            <listitem>
418
              <simpara>the physical drive (on which the LVM physical
419
              volume lives)</simpara>
420
            </listitem>
421
          </varlistentry>
422
          <varlistentry>
423
            <term>vg</term>
424
            <listitem>
425
              <simpara>the volume group name</simpara>
426
            </listitem>
427
          </varlistentry>
428
          <varlistentry>
429
            <term>name</term>
430
            <listitem>
431
              <simpara>the logical volume name</simpara>
432
            </listitem>
433
          </varlistentry>
434
          <varlistentry>
435
            <term>size</term>
436
            <listitem>
437
              <simpara>the logical volume size</simpara>
438
            </listitem>
439
          </varlistentry>
440
          <varlistentry>
441
            <term>instance</term>
442
            <listitem>
443
              <simpara>The name of the instance to which this volume
444
              belongs, or (in case it's an orphan volume) the
445
              character <quote>-</quote></simpara>
446
            </listitem>
447
          </varlistentry>
448
        </variablelist>
449
      </para>
450

  
451
      <para>
394 452
        Example:
395 453
        <screen>
396 454
# gnt-node volumes node5.example.com

Also available in: Unified diff