Administration Reference


[Return to Library] [Contents] [Previous Topic] [Bottom of Topic] [Next Topic] [Index]

salvage.lock

Purpose

Prevents multiple simultaneous salvage operations on a partition

Description

The salvage.lock file guarantees that only one Salvager (salvager process) runs at a time on a file server machine (the single process can fork multiple subprocesses to salvage multiple partitions in parallel). As the Salvager initializes, it creates the empty (zero-length) file in the /usr/afs/local directory and invokes the flock system call on it. It removes the file when it completes the salvage operation. Because the Salvager must lock the file to run, only one Salvager can run at a time.

Related Information

salvager


[Return to Library] [Contents] [Previous Topic] [Top of Topic] [Next Topic] [Index]



© IBM Corporation 2000. All Rights Reserved