beautypg.com

Initializing a volume (cvmkfs), Viewing storage pool information (cvsginfo), Applying volume configuration changes (cvupdatefs) – Apple Xsan 1.0 User Manual

Page 92: Initializing a volume ( cvmkfs ), Viewing storage pool information ( cvsginfo )

background image

92

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/.cfg

).

$ cvmkfs [-G] [-F] [volume]

Viewing Storage Pool Information (cvsginfo)

You can use the

cvgsinfo

command to display information about the storage pools in

an Xsan volume.

$ cvsginfo [-l] [-d] file

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]

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

-l

Display additional information, including number of blocks, disk
names, and striping characteristics.

-d

Display additional debugging information.

file

The full path to a file on the volume or of the volume’s root
directory, for example /Volumes/SanVol.

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).

LL0192.book Page 92 Thursday, July 29, 2004 5:20 PM