Initializing a volume (cvmkfs), Initializing a – Apple Xsan 1.4 User Manual

Page 175

Advertising
background image

Appendix B

Using the Command Line

175

Example

Allocate 2 GB of space for the file “data1” on the storage pool “datasets”:

$ cvmkfile -k datasets 2g data1

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

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

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

Advertising