salvage.lock - Prevents multiple simultaneous salvage operations on a partition


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 /var/yfs 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.




IBM Corporation 2000. All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.


"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)

"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)

The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).

"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).

"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.