sam-clfsd - SAM-QFS shared file system client daemon
sam-clfsd [ -d ] [ -f fsname ] [ -h ] [ -i fsname ] [ -l ] [
-u fsname ] [ -w ] [ dev... ]
sam-clfsd loads the samfs and samioc modules into the
operating system if they are not already loaded, and updates
or reports on configuration information. The options to
-h Print out a short usage message and exit.
-l Report the names of all configured file systems.
Compare the named file system with the listed dev
... devices, and report any discrepancies, such as
missing partitions, partitions that don't belong
to the named file system, etc..
Verify that the listed dev ... devices comprise
the slices of the named file system, and install
and configure the file system.
Uninstall the named file system from the system's
configured file systems. This command will fail
on a mounted file system.
-d Start up the sam-sharefsd daemon for the specified
file system. Useful only with the -i option.
After installing the file system, sam-clfsd forks
off a child that starts up the sam-sharefsd dae-
mon. If the daemon exits with a non-fatal error,
the restarting it as necessary. The command
-w Causes the sam-clfsd program to await a fatal
error from the sam-sharefsd daemon instead of
returning immediately. Useful only with the -i
and -d options.
sam-clfsd must be run as root.
Here's an example using sam-clfsd:
Configure the file system:
juniper# sam-clfsd -di shsam1 /dev/dsk/c4t50020F23000055A8d0s1 \
FS 'shsam1' installed
juniper# mount shsam1
juniper# umount shsam1
PID TTY TIME CMD
481 console 0:00 csh
3722 console 0:00 sam-shar
3721 console 0:00 sam-clfsd
3727 console 0:00 ps
juniper# kill 3721 3722
juniper# sam-clfsd -u shsam1