Revision 4007f57d man/gnt-node.sgml
b/man/gnt-node.sgml | ||
---|---|---|
722 | 722 |
</refsect2> |
723 | 723 |
|
724 | 724 |
<refsect2> |
725 |
<title>VOLUMES</title> |
|
726 |
|
|
727 |
<cmdsynopsis> |
|
728 |
<command>physical-volumes</command> |
|
729 |
<arg>--no-headers</arg> |
|
730 |
<arg>--human-readable</arg> |
|
731 |
<arg>--separator=<replaceable>SEPARATOR</replaceable></arg> |
|
732 |
<arg>--output=<replaceable>FIELDS</replaceable></arg> |
|
733 |
<sbr> |
|
734 |
<arg rep="repeat"><replaceable>node</replaceable></arg> |
|
735 |
</cmdsynopsis> |
|
736 |
|
|
737 |
<para> |
|
738 |
Lists all physical volumes and their details from the node(s) provided. |
|
739 |
</para> |
|
740 |
|
|
741 |
<para> |
|
742 |
The <option>--no-headers</option> option will skip the initial header |
|
743 |
line. The <option>--separator</option> option takes an argument which |
|
744 |
denotes what will be used between the output fields. Both these options |
|
745 |
are to help scripting. |
|
746 |
</para> |
|
747 |
|
|
748 |
<para> |
|
749 |
The units used to display the numeric values in the output varies, |
|
750 |
depending on the options given. By default, the values will be |
|
751 |
formatted in the most appropriate unit. If the |
|
752 |
<option>--separator</option> option is given, then the values are shown |
|
753 |
in mebibytes to allow parsing by scripts. In both cases, the |
|
754 |
<option>--units</option> option can be used to enforce a given output |
|
755 |
unit. |
|
756 |
</para> |
|
757 |
|
|
758 |
<para> |
|
759 |
The <option>-o</option> option takes a comma-separated list of |
|
760 |
output fields. The available fields and their meaning are: |
|
761 |
<variablelist> |
|
762 |
<varlistentry> |
|
763 |
<term>node</term> |
|
764 |
<listitem> |
|
765 |
<simpara>the node name on which the volume exists</simpara> |
|
766 |
</listitem> |
|
767 |
</varlistentry> |
|
768 |
<varlistentry> |
|
769 |
<term>name</term> |
|
770 |
<listitem> |
|
771 |
<simpara>the physical drive name</simpara> |
|
772 |
</listitem> |
|
773 |
</varlistentry> |
|
774 |
<varlistentry> |
|
775 |
<term>size</term> |
|
776 |
<listitem> |
|
777 |
<simpara>the physical drive size</simpara> |
|
778 |
</listitem> |
|
779 |
</varlistentry> |
|
780 |
<varlistentry> |
|
781 |
<term>used</term> |
|
782 |
<listitem> |
|
783 |
<simpara>used disk space</simpara> |
|
784 |
</listitem> |
|
785 |
</varlistentry> |
|
786 |
<varlistentry> |
|
787 |
<term>free</term> |
|
788 |
<listitem> |
|
789 |
<simpara>available disk space</simpara> |
|
790 |
</listitem> |
|
791 |
</varlistentry> |
|
792 |
<varlistentry> |
|
793 |
<term>allocatable</term> |
|
794 |
<listitem> |
|
795 |
<simpara>whether physical volume is allocatable</simpara> |
|
796 |
</listitem> |
|
797 |
</varlistentry> |
|
798 |
</variablelist> |
|
799 |
</para> |
|
800 |
|
|
801 |
<para> |
|
802 |
Example: |
|
803 |
<screen> |
|
804 |
# gnt-node physical-volumes node5.example.com |
|
805 |
Node Name Size Used Free |
|
806 |
node5.example.com /dev/sda7 673.8G 0M 673.8G |
|
807 |
node5.example.com /dev/sdb1 698.6G 1.3G 697.4G |
|
808 |
</screen> |
|
809 |
</para> |
|
810 |
</refsect2> |
|
811 |
|
|
812 |
<refsect2> |
|
725 | 813 |
<title>POWERCYCLE</title> |
726 | 814 |
|
727 | 815 |
<cmdsynopsis> |
Also available in: Unified diff