admin-doc-sysname-20040713
[openafs.git] / doc / html / AdminReference / auarf048.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <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="auarf047.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="auarf049.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> 
17 <P>
18 <H2><A NAME="HDRSALVAGELOCK" HREF="auarf002.htm#ToC_46">salvage.lock</A></H2>
19 <P><STRONG>Purpose</STRONG>
20 <P>Prevents multiple simultaneous salvage operations on a partition
21 <P><STRONG>Description</STRONG>
22 <P>The <B>salvage.lock</B> file guarantees that only one Salvager
23 (<B>salvager</B> process) runs at a time on a file server machine (the
24 single process can fork multiple subprocesses to salvage multiple partitions
25 in parallel). As the Salvager initializes, it creates the empty
26 (zero-length) file in the <B>/usr/afs/local</B> directory and invokes the
27 <B>flock</B> system call on it. It removes the file when it
28 completes the salvage operation. Because the Salvager must lock the
29 file to run, only one Salvager can run at a time.
30 <P><STRONG>Related Information</STRONG>
31 <P><A HREF="auarf232.htm#HDRSALVAGER">salvager</A>
32 <P>
33 <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="auarf047.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="auarf049.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> 
34 <!-- Begin Footer Records  ========================================== -->
35 <P><HR><B> 
36 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
37 </B> 
38 <!-- End Footer Records  ============================================ -->
39 <A NAME="Bot_Of_Page"></A>
40 </BODY></HTML>