Initializing a volume (cvmkfs), Applying volume configuration changes (cvupdatefs), Starting a volume controller (fsm) – Apple Xsan 1.1 User Manual
Page 116: Initializing a volume ( cvmkfs ), Starting a volume controller ( fsm )

116
Appendix B
Using the Command Line
Initializing a Volume (cvmkfs)
You can use the
cvmkfs
command to initialize an Xsan volume based on the
information in the corresponding configuration file for the volume (in
/Library/Filesystems/Xsan/config/
).
$ cvmkfs [-G] [-F] [volume]
Applying Volume Configuration Changes (cvupdatefs)
You can use the
cvupdatefs
command to apply configuration file changes to a volume
after you modify the volume’s configuration files.
$ cvupdatefs [-f] volume [configdir]
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]
Warning:
Initializing a volume destroys all existing data on the volume.
Parameter
Description
-G
Don’t display “
Press return to continue
” prompts.
-F
Don’t display warning and verification prompts. Use this parameter
with caution.
volume
The name of the volume to initialize. This name matches the name
of a configuration (.cfg) file in
/Library/Filesystems/Xsan/config
.
Parameter
Description
-f
Update without prompting for confirmation or advising of errors in
the configuration file.
volume
The volume to update. If you don’t specify a volume, available
volumes are listed for you to choose from.
configdir
Location of the volume’s configuration (.cfg) file if it is not in the
default location (
/Library/Filesystems/Xsan/config
).
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.