Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ checkall(1M) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dfsck(1M)

fsck(1M)

CHECKALL(1M)  —  Silicon Graphics

NAME

checkall − faster file system checking procedure

SYNOPSIS

/etc/checkall

DESCRIPTION

The checkall procedure is a prototype and must be modified to suit local conditions.  The following will serve as an example:
 

      # check the root file system by itself
     /etc/fsck /dev/md0a
      # dual fsck of drives 0 and 1
     /etc/dfsck /dev/rmd0c − /dev/rmd1[ac]

 
Dfsck is a program that permits an operator to interact with two fsck(1M) programs at once.  To aid in this, dfsck will print the file system name for each message to the operator.  When answering a question from dfsck, the operator must prefix the response with a 1 or a 2 (indicating that the answer refers to the first or second file system group). 
 
Due to the file system load balancing required for dual checking, the dfsck(1M) command should always be executed through the checkall shell procedure. 
 
In a practical sense, the file systems are divided as follows:
 

     fsck  root_file_system
     dfsck file_systems_on_drive_0 − file_systems_on_drive_1
     dfsck file_systems_on_drive_2 − file_systems_on_drive_3
       . . .

 
A three-drive system can be handled by this example (assuming three file systems per drive, ipab is swap):
 

     fsck  /dev/rip0a
     dfsck /dev/rip2[ab] /dev/rip0[bc] − /dev/rip1[abc] /dev/rip2c

 
Note that the first file system on drive 2 is first in the filesystems1 list and is last in the filesystems2 list assuring that references to that drive will not overlap at execution time. 

WARNINGS

1.Do not use dfsck to check the root file system. 
 

2.On a check that requires a scratch file (see -t above), be careful not to use the same temporary file for the two groups (this would surely scramble the file systems). 
 

3.The dfsck procedure is useful only if the system is set up for multiple physical I/O buffers. 

SEE ALSO

dfsck(1M), fsck(1M)

Version 2.5  —  April 22, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026