mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
120 lines
6.1 KiB
HTML
120 lines
6.1 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
|
||
|
<HTML><HEAD>
|
||
|
<TITLE>Administration Reference</TITLE>
|
||
|
<!-- Begin Header Records ========================================== -->
|
||
|
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
|
||
|
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
|
||
|
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
|
||
|
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
|
||
|
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
|
||
|
</HEAD><BODY>
|
||
|
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
|
||
|
<BODY bgcolor="ffffff">
|
||
|
<!-- End Header Records ============================================ -->
|
||
|
<A NAME="Top_Of_Page"></A>
|
||
|
<H1>Administration Reference</H1>
|
||
|
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf136.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf138.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
|
||
|
<P>
|
||
|
<H2><A NAME="HDRFS_DISKFREE" HREF="auarf002.htm#ToC_151">fs diskfree</A></H2>
|
||
|
<A NAME="IDX4757"></A>
|
||
|
<A NAME="IDX4758"></A>
|
||
|
<A NAME="IDX4759"></A>
|
||
|
<A NAME="IDX4760"></A>
|
||
|
<A NAME="IDX4761"></A>
|
||
|
<A NAME="IDX4762"></A>
|
||
|
<A NAME="IDX4763"></A>
|
||
|
<A NAME="IDX4764"></A>
|
||
|
<A NAME="IDX4765"></A>
|
||
|
<A NAME="IDX4766"></A>
|
||
|
<A NAME="IDX4767"></A>
|
||
|
<A NAME="IDX4768"></A>
|
||
|
<A NAME="IDX4769"></A>
|
||
|
<A NAME="IDX4770"></A>
|
||
|
<A NAME="IDX4771"></A>
|
||
|
<P><STRONG>Purpose</STRONG>
|
||
|
<P>Displays information about the partition housing a directory or file
|
||
|
<P><STRONG>Synopsis</STRONG>
|
||
|
<PRE><B>fs diskfree</B> [<B>-path</B> <<VAR>dir/file path</VAR>><SUP>+</SUP>] [<B>-help</B>]
|
||
|
|
||
|
<B>fs df</B> [<B>-p</B> <<VAR>dir/file path</VAR>><SUP>+</SUP>] [<B>-h</B>]
|
||
|
|
||
|
<B>fs di</B> [<B>-p</B> <<VAR>dir/file path</VAR>><SUP>+</SUP>] [<B>-h</B>]
|
||
|
</PRE>
|
||
|
<P><STRONG>Description</STRONG>
|
||
|
<P>The <B>fs diskfree</B> command formats and displays information about
|
||
|
the partition that houses the volume containing the specified directory or
|
||
|
file, including its size and how much space is currently used.
|
||
|
<P>To display information about the volume itself, use the <B>fs
|
||
|
examine</B> command. The <B>fs examine</B> and <B>fs
|
||
|
quota</B> commands also display information about a volume.
|
||
|
<P><STRONG>Cautions</STRONG>
|
||
|
<P>The partition-related statistics in this command's output do not
|
||
|
always agree with the corresponding values in the output of the standard UNIX
|
||
|
<B>df</B> 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 <B>df</B> 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.
|
||
|
<P><STRONG>Options</STRONG>
|
||
|
<DL>
|
||
|
<P><DT><B>-path
|
||
|
</B><DD>Names a file or directory that resides on the partition about which to
|
||
|
produce output. Partial pathnames are interpreted relative to the
|
||
|
current working directory, which is also the default value if this argument is
|
||
|
omitted.
|
||
|
<P><DT><B>-help
|
||
|
</B><DD>Prints the online help for this command. All other valid options
|
||
|
are ignored.
|
||
|
</DL>
|
||
|
<P><STRONG>Output</STRONG>
|
||
|
<P>The output reports the following information about the volume and partition
|
||
|
that houses each file or directory:
|
||
|
<DL>
|
||
|
<P><DT><B><TT>Volume Name</TT>
|
||
|
</B><DD>The name of the volume
|
||
|
<P><DT><B><TT>kbytes</TT>
|
||
|
</B><DD>The partition's total size in kilobytes
|
||
|
<P><DT><B><TT>used</TT>
|
||
|
</B><DD>The number of kilobytes used on the partition
|
||
|
<P><DT><B><TT>avail</TT>
|
||
|
</B><DD>The number of kilobytes available on the partition
|
||
|
<P><DT><B><TT>%used</TT>
|
||
|
</B><DD>The percentage of the partition's total space that is used (the
|
||
|
<TT>used</TT> statistic divided by the <TT>kbytes</TT> statistic, times
|
||
|
100)
|
||
|
</DL>
|
||
|
<P>If the <TT>%used</TT> statistic is greater than 90%, it is marked with
|
||
|
the string <TT><<WARNING</TT> at the right margin.
|
||
|
<P>If the volume is a read-only volume, the output includes information about
|
||
|
only one of the partitions that houses it, generally the one on the file
|
||
|
server machine with the lowest preference rank. To verify which machine
|
||
|
the output is referring to, use the <B>vos listvldb</B> command to list
|
||
|
the volume's locations, and the <B>vos partinfo</B> command to
|
||
|
display the size of each one.
|
||
|
<P><STRONG>Examples</STRONG>
|
||
|
<P>The following example shows the output for the partitions housing the
|
||
|
volumes <B>user.smith</B> and <B>sun4x_56.bin</B>:
|
||
|
<PRE> % <B>fs diskfree -path /afs/abc.com/usr/smith /afs/abc.com/sun4x_56/bin</B>
|
||
|
Volume Name kbytes used avail %used
|
||
|
user.smith 4177920 3841258 336662 92% <<WARNING
|
||
|
sun4x_56.bin 4423680 3174500 1249180 72%
|
||
|
|
||
|
</PRE>
|
||
|
<P><STRONG>Privilege Required</STRONG>
|
||
|
<P>The issuer must have the <B>l</B> (<B>lookup</B>) permission on the
|
||
|
ACL of the root directory of the volume that houses the file or directory
|
||
|
named by the <B>-path</B> argument, and on the ACL of each directory that
|
||
|
precedes it in the pathname.
|
||
|
<P><STRONG>Related Information</STRONG>
|
||
|
<P><A HREF="auarf138.htm#HDRFS_EXAMINE">fs examine</A>
|
||
|
<P>
|
||
|
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf136.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf138.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
|
||
|
<!-- Begin Footer Records ========================================== -->
|
||
|
<P><HR><B>
|
||
|
<br>© <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
|
||
|
</B>
|
||
|
<!-- End Footer Records ============================================ -->
|
||
|
<A NAME="Bot_Of_Page"></A>
|
||
|
</BODY></HTML>
|