openafs/doc/html/AdminReference/auarf130.htm
Derrick Brashear d7da1acc31 initial-html-documentation-20010606
pull in all documentation from IBM
2001-06-06 19:09:07 +00:00

141 lines
7.0 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="auarf129.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="auarf131.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="HDRFMS" HREF="auarf002.htm#ToC_144">fms</A></H2>
<A NAME="IDX4705"></A>
<A NAME="IDX4706"></A>
<A NAME="IDX4707"></A>
<A NAME="IDX4708"></A>
<A NAME="IDX4709"></A>
<A NAME="IDX4710"></A>
<A NAME="IDX4711"></A>
<A NAME="IDX4712"></A>
<A NAME="IDX4713"></A>
<A NAME="IDX4714"></A>
<P><STRONG>Purpose</STRONG>
<P>Determine a tape's capacity and a tape device's filemark size
<P><STRONG>Synopsis</STRONG>
<PRE><B>fms -tape</B> &lt;<VAR>tape&nbsp;special&nbsp;file</VAR>> [<B>-help</B>]
<B>fms -t</B> &lt;<VAR>tape&nbsp;special&nbsp;file</VAR>> [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>fms</B> command determines the capacity of the tape currently in
the tape device identified by the <B>-tape</B> argument, along with the
size of the filemark for the device. The filemark is also referred to
as the device's end-of-file (EOF) marker, and can differ for each
combination of tape and tape device.
<P>As the Tape Coordinator writes a dump, it writes a filemark between the
data included from each volume and also tracks the amount of space left before
the end of the tape (EOT). For some tape devices, the filemark is large
enough (multiple megabytes) that failure to consider it leads the Tape
Coordinator significantly to overestimate the available space.
<P>The intended use of this command is to determine tape capacity and filemark
size values that can be specified in a tape device's entry in the
<B>/usr/afs/backup/tapeconfig</B> file. For certain types of tape
drives, the Tape Coordinator operates more efficiently when the
<B>tapeconfig</B> file lists accurate values. For further
discussion, see the <I>IBM AFS Administration Guide</I> chapter on
configuring the Backup System.
<P>Insert a tape in the drive before issuing this command.
<P><STRONG>Cautions</STRONG>
<P>Do not use this command on compressing tape devices in compression mode or
with tape devices that handle tapes of multigigabyte (or multiterabyte)
capacity. It does not produce accurate results in those cases.
For alternate suggestions on the values to record in the <B>tapeconfig</B>
file for compressing drives, see the <I>IBM AFS Administration Guide</I>
chapter on configuring the Backup System.
<P>Running the command completely overwrites the tape, so use a blank one or
one that can be recycled.
<P>Because it writes filemarks to the complete length of the tape, the command
can take from several hours to more than a day to complete.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-tape
</B><DD>Specifies the UNIX device name of the tape device for which to determine
filemark size and the capacity of the tape it currently contains. The
format varies on different system types, but usually begins with
<B>/dev</B>; an example is <B>/dev/sd0a</B>.
<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 command generates output both on the standard output stream and in the
<B>fms.log</B> file that it creates in the current working
directory. The output reports the capacity of the tape in the device
and the device's filemark size.
<P>The first few lines of output include status information about the
execution of the command, including such information as the number of blocks
and the number of file marks written to the tape by the command. The
last two lines of both screen and file output provide the following
information:
<UL>
<P><LI><TT>Tape capacity is</TT> <VAR>number</VAR> <TT>bytes</TT>:
specifies the size, in bytes, of the tape in the device.
<P><LI><TT>File marks are</TT> <VAR>number</VAR> <TT>bytes</TT>:
specifies the device's filemark size in bytes.
</UL>
<P>The following message indicates that the <B>fms</B> command interpreter
cannot access the tape device. The command halts.
<PRE> Can't open tape drive <VAR>device</VAR>
</PRE>
<P>The following message indicates that the command interpreter cannot create
the <B>fms.log</B> log file. Again, the command
halts.
<PRE> Can't open log file
</PRE>
<P><STRONG>Examples</STRONG>
<P>The following command illustrates the output for the device called
<B>/dev/rmt1h</B>:
<PRE> % <B>fms /dev/rmt1h</B>
wrote block: 130408
Finished data capacity test - rewinding
wrote 1109 blocks, 1109 file marks
Finished file mark test
Tape capacity is 2136604672 bytes
File marks are 1910205 bytes
</PRE>
<P>The following appears in the <B>fms.log</B> file:
<PRE> fms test started
wrote 9230 blocks
Finished file mark test
Tape capacity is 151224320 bytes
File marks are 2375680 bytes
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must be able to insert and write to files in the currently
working directory, if the <B>fms.log</B> file does not already
exist. If it already exists, the issuer need only be able to write to
it.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf044.htm#HDRFMSLOG">fms.log</A>
<P><A HREF="auarf050.htm#HDRTAPECONFIG">tapeconfig</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="auarf129.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="auarf131.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>&#169; <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>