Starting a volume controller (fsm), Starting a port mapper process (fsmpm), Starting a volume controller ( fsm ) – Apple Xsan 1.0 User Manual
Page 93: Starting a port mapper process ( fsmpm )

Appendix B
Using the Command Line
93
Starting a Volume Controller (fsm)
You can use the
fsm
command to start a file system manager process on a controller.
The fsm process manages the volume’s name space, file allocations, and metadata.
$ fsm [volume] [controller]
Starting a Port Mapper Process (fsmpm)
You can use the
fsmpm
command to start a file system port mapper process on a client
or controller.
$ fsmpm
For more information, see the fsmpm man page.
Defragmenting a File, Directory, or Volume (snfsdefrag)
You can use the
snfsdefrag
command to defragment a file by reallocating its data in
a single extent. This can improve read and write performance for a file by increasing
disk efficiency and reducing file metadata management overhead.
To defragment a file or directory:
$ snfsdefrag [-D] [-d] [-q] [-s] [-v] [-G group] [-K affinity]
[-k affinity] [-m count] [-r] target
To report file extents without defragmenting:
$ snfsdefrag -e [-G group] [-K affinity] [-r] target [target] [...]
To display an extent count without defragmenting:
$ snfsdefrag -c [-G group] [-K affinity] [-r] target [target] [...]
To prune a file (remove allocated extents beyond the end of file):
$ snfsdefrag -p [-D] [-v] [-q] [-G group] [-K affinity] [-m count]
[-r] target [target] [...]
To list files that are candidates for defragmentation:
$ snfsdefrag -l [-D] [-v] [-G group] [-K affinity] [-m count] [-r]
target [target] [...]
Parameter
Description
volume
The volume that the process will manage.
controller
The computer on which the process is started, and which therefore
becomes the volume’s metadata controller.
Parameter
Description
-c
Display an extent count but don’t defragment target.
-D
Display debugging messages.
-d
Operate on files with other than the current depth.
-e
Report extents without defragmenting.
LL0192.book Page 93 Thursday, July 29, 2004 5:20 PM