| Skip Navigation Links | |
| Exit Print View | |
|
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
NAME
sam-clfsd - SAM-QFS shared file system client daemon
SYNOPSIS
sam-clfsd [ -d ] [ -f fsname ] [ -h ] [ -i fsname ] [ -l ] [
-u fsname ] [ -w ] [ dev... ]
AVAILABILITY
SUNWclqfs
DESCRIPTION
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
sam-clfsd are:
-h Print out a short usage message and exit.
-l Report the names of all configured file systems.
-f fsname
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..
-i fsname
Verify that the listed dev ... devices comprise
the slices of the named file system, and install
and configure the file system.
-u fsname
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
itself returns.
-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.
EXAMPLE
Here's an example using sam-clfsd:
Configure the file system:
juniper# sam-clfsd -di shsam1 /dev/dsk/c4t50020F23000055A8d0s1 \
/dev/dsk/c4t50020F23000078F1d0s0 /dev/dsk/c4t50020F23000078F1d0s1
FS 'shsam1' installed
juniper# mount shsam1
juniper# umount shsam1
juniper# ps
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
SEE ALSO
mount(1M) samfsconfig(1M)