logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vos_partinfo - Reports the available and total space on a partition

Cautions

       The partition-related statistics in this command's output do not  always  agree  with  the  corresponding
       values  in  the output of the standard UNIX df command. The statistics reported by this command can be up
       to five minutes old, because the Cache Manager polls the File Server for partition  information  at  that
       frequency.  Also,  on some operating systems, the df command's report of partition size includes reserved
       space not included in this command's calculation, and so is likely to be about 10% larger.

Description

       The vos partinfo command reports the amount of space available and total size on either all of the
       partitions on the indicated file server machine (if the -partition argument is omitted) or the specified
       partition on that file server machine. The Volume Location Database (VLDB) is not consulted.

Examples

       The following command displays all partitions on the file server machine "fs2.example.com".

          % vos partinfo fs2.example.com
          Free space on partition /vicepa: 27301 K blocks out of total 549197
          Free space on partition /vicepb: 13646 K blocks out of total 69194
          Free space on partition /vicepc: 31798 K blocks out of total 320315
          Free space on partition /vicepd: 33302 K blocks out of total 494954

Name

       vos_partinfo - Reports the available and total space on a partition

Options

-server <servername>
           Identifies  the file server machine for which to display partition information. Provide the machine's
           IP address or its host name (either fully  qualified  or  using  an  unambiguous  abbreviation).  For
           details, see vos(1).

       -partition <partitionname>
           Identifies  which partition on the file server machine specified by the -server argument for which to
           display information. Provide the  partition's  complete  name  with  preceding  slash  (for  example,
           "/vicepa") or use one of the three acceptable abbreviated forms. For details, see vos(1).

       -summary
           Prints storage summary.

       -cell <cellname>
           Names  the  cell  in which to run the command. Do not combine this argument with the -localauth flag.
           For more details, see vos(1).

       -noauth
           Assigns the unprivileged identity "anonymous" to the issuer.  Do  not  combine  this  flag  with  the
           -localauth flag. For more details, see vos(1).

       -localauth
           Constructs  a  server  ticket  using  a  key from the local /etc/openafs/server/KeyFile file. The vos
           command interpreter presents it to the  Volume  Server  and  Volume  Location  Server  during  mutual
           authentication.  Do  not combine this flag with the -cell argument or -noauth flag. For more details,
           see vos(1).

       -verbose
           Produces on the standard output stream a detailed trace of the command's execution. If this  argument
           is omitted, only warnings and error messages appear.

       -encrypt
           Encrypts  the command so that the operation's results are not transmitted across the network in clear
           text. This option is available in OpenAFS versions 1.4.11 or later and 1.5.60 or later.

       -noresolve
           Shows all servers as IP addresses instead of the DNS name.  This  is  very  useful  when  the  server
           address is registered as 127.0.0.1 or when dealing with multi-homed servers. This option is available
           in OpenAFS versions 1.4.8 or later and 1.5.35 or later.

       -config <configurationdirectory>
           Set  the location of the configuration directory to be used. This defaults to /etc/openafs, except if
           -localauth is specified, in which case the default is /etc/openafs/server. This option allows the use
           of alternative configuration locations for testing purposes.

       -help
           Prints the online help for this command. All other valid options are ignored.

Output

       The output reports the amount of space available and total space for each specified partition.

Privilege Required

       None

See Also

vos(1), vos_listpart(1)

Synopsis

vospartinfo-server <machinename>
           [-partition <partitionname>] [-summary]
           [-cell <cellname>]
           [-noauth] [-localauth]
           [-verbose] [-encrypt] [-noresolve]
           [-config <configdirectory>]
           [-help]

       vosp-se <machinename>
           [-p <partitionname>] [-su]
           [-c <cellname>]
           [-noa] [-l] [-v] [-e] [-nor]
           [-co <configdirectory>]
           [-h]

See Also