Xsan 2 Administrator Guide - Initializing a Volume (cvmkfs)

background image

Initializing a Volume (cvmkfs)

Use the

cvmkfs

command to initialize an Xsan volume based on the information in the

volume’s configuration (in /Library/Filesystems/Xsan/config/volume.cfg).

WARNING:

Initializing a volume destroys all existing data on the volume.

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

Parameter

Description

-G

Don’t display “Press return to continue” prompts.

-F

Don’t display warning and verification prompts.
Use 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/.