PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents Index |
Part 3 Global File Services Shared File System | > Chapter 15 File System Design | > 15.2 System Design |
When performing full check fsck of the GFS Shared File System, since the memory space of a fsck_sfcfs(1M) process may not be enough to manage intermediate data for full check fsck, work disks to manage intermediate data are needed. Prepare work disks for fsck in addition to the disk areas used as file systems, when the calculated size using the below-mentioned formula is 512 megabytes or more.
The work disks for fsck must be equal to or larger than the calculated size using the following formula (a) from number of data partitions and file system size (gigabyte unit) of the GFS Shared File System.
(a) 40MB + [number of data partitions] * 32MB + [file system size (gigabyte unit)] * 65MB
However, when the calculated size using the above-mentioned formula (a) is larger than the calculated size using the following formula (b), the required size for the work disks for fsck is the calculated size using the formula (b).
(b) 5632MB + [number of meta data partitions] * 1024MB
For example, at the maximum 6656 megabytes work disks for fsck are necessary for a file system with one meta data partition.
A local disk or shared disk can be used as a work disk for fsck.
When using two or more file systems as the GFS Shared File System, calculate the required size for full check fsck of each file system using the above-mentioned formula. If full check fsck of two or more file systems are performed simultaneously, prepare work disks for fsck equal to or larger than calculated size for each file system and then specify different work disks to perform full check fsck of two or more file systems. If full check fsck of two or more file systems are performed one by one, prepare work disks for fsck equal to or larger than the maximum of calculated sizes and then specify the same work disks to perform full check fsck of two or more file systems. For example, when there are two file systems and both of them require 4 gigabytes work disk for fsck, two 4 gigabytes work disks for fsck are enough to perform full check fsck of two file systems simultaneously, only one 4 gigabytes work disk for fsck is enough to perform full check fsck one by one.
When full check fsck is performed, intermediate data is written on the work disks for fsck and the existing data on the work disks is changed. Specify an partition which is not used for other file systems or application programs as a work disk for fsck.
For details on full check fsck, see Section 23.2, "Checking a File System for Consistency and Repairing It."
Contents Index |