24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Parameter<br />

threshblocks=n<br />

maxfiles=n<br />

minfiles=n<br />

maxfilesize=n<br />

Description<br />

A percentage of the total blocks in the front file system beyond<br />

which, CacheFS cannot claim resources once its block usage<br />

has reached the minblocks level. Default=85%<br />

Maximum number of files that CacheFS can use, expressed as<br />

a percentage of the total number of inodes in the front file<br />

system. Default=90%<br />

Minimum number of files that CacheFS is always allowed to<br />

use, expressed as a percentage of the total number of inodes in<br />

the front file system. Default=0%<br />

Largest file size, expressed in megabytes, that CacheFS is<br />

allowed to cache. Default=3<br />

fsck_cachefs<br />

The fsck_cachefs command checks the integrity of cached file systems. By default<br />

it corrects any CacheFS problems it finds. Unlike the standard fsck command<br />

there is no interactive mode.<br />

The fsck_cachefs command syntax is:<br />

fsck -F cachefs [ -m | -o noclean ] cache_directory<br />

Table 42 provides the available flags for this command.<br />

Table 42. fsck_cachefs Options<br />

Flag<br />

Description<br />

-m Check, but do not repair.<br />

-o noclean Force a check on the cache even if there is no reason to<br />

suspect there is a problem.<br />

cache-directory<br />

The name of the directory where the cache resides.<br />

The following example shows the actions required to allow an NFS client machine<br />

to mount the remote filesystem /images from the server aix4xdev and use the<br />

CacheFS mechanism to improve performance.<br />

The /images filesystem on the server is a large filesystem, so a dedicated JFS<br />

will be used to store the local cache.<br />

1. Use SMIT to create a JFS of the required size to act as the cache. For<br />

example, /cacheFS.<br />

2. Mount the JFS to be used for the cache.<br />

mount /cacheFS<br />

Create an empty cache structure to be used as the cache. This is created<br />

using the cfsadmin command. The argument is the name of the cache<br />

directory object you want to create. The object should not exist.<br />

cfsadmin -c /cacheFS/cachedir<br />

186 <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> <strong>Differences</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!