camountall(8) CLIX camountall(8)
NAME
camountall, caumountall - Mounts, unmounts multiple Cache File Systems
SYNOPSIS
/etc/camountall
/etc/caumountall [-k]
FLAGS
-k Sends a SIGKILL signal, with fuser, to processes that have files
open.
DESCRIPTION
The camountall command is used to mount only Cache File Systems (CAFS),
according to entries in the /etc/fstab file.
The caumountall command causes all CAFS mounted file systems, including
the cache root, to be unmounted.
Jukebox cache file system mounts have a special device of /dev/dsk/cache.
Only file systems with a file system type of CAFS will be mounted.
EXAMPLES
1. To read the file-system-table from /etc/fstab, key in the camountall
command without flags or arguments as follows:
camountall
2. To unmount all currently mounted cache file systems, key in the
camountall command as follows:
caumountall
FILES
The format for a file-system-table is as follows:
Column 1 Block special filename of file system
Column 2 Mount-point directory
Column 3 -r if to be mounted read-only; -d if remote
Column 4 File system type string
2/94 - Intergraph Corporation 1
camountall(8) CLIX camountall(8)
Column 5 File system options
Column 6+ Ignored
White space separates columns. Lines beginning with the pound sign (#)
are comments. Empty lines are ignored.
The following illustrates a cache file system optical jukebox mount:
/dev/dsk/cache /cache/my_vol CAFS subfs=FFS,odvol=my_vol,par=7.3
/dev/dsk/cache /cache/my_vol CAFS subfs=FFS,odvol=my_vol,par=7.4,lfs,bg
The following illustrates a standalone cache file system mount:
/dev/dsk/s2u0p7.5 /cache/my_vol CAFS subfs=FFS,ls
NOTES
The camountall and caumountall commands require superuser privileges.
In order to speed up jukebox robotics requests, cache mounts are attempted
prior to knowing the state of the file system. If the mount command
request is a background mount, camountall spawns a mnt_watcher daemon.
The mnt_watcher daemon monitors mounts in progress and, when they are
finished, checks /tmp/mnt_fsck for entries. If one or more entries are
found, a jbfsck command is run on the damaged file system. Once the file
system has been successfully checked, another mount is attempted. If the
second mount attempt fails, a message to the system console displays. If
the mount is not a background mount, a jbfsck command is run on the
damaged file system prior to mounting another file system.
The camountall command causes all the mounted cache file systems to be
mounted, including the cache root file system.
DIAGNOSTICS
No messages are displayed if the file systems are mountable and clean.
device is not a valid file system
The specified device is not a valid cache file system, or an error
occurred during the mounting of the file system.
Error and warning messages come from fsck(8), fsstat(8), and mount(8).
RELATED INFORMATION
Commands: fsck(8), fsstat(8), fuser(8), mount(8),
sysadm(1),jbfsck(8),jbmountall(8), mountall(8)
2 Intergraph Corporation - 2/94
camountall(8) CLIX camountall(8)
Function: signal(2)
File: fstab(4)
2/94 - Intergraph Corporation 3