beautypg.com

The commands – Apple Xsan 1.4 User Manual

Page 164

background image

164

Appendix B

Using the Command Line

The Commands

Xsan includes the following command-line tools:

Viewing or Changing Volume and Storage Pool Settings (cvadmin)

You can use the

cvadmin

tool to perform a variety of information and setup tasks

related to Xsan volumes.

For help, see the

cvadmin

man page or type

$ sudo cvadmin -e help

To enter interactive mode:

$ sudo cvadmin

Command

Description

cvadmin

View or change volume and storage pool settings (page 164)

cvcp

Copy files or folders (page 168)

cvfsck

Check or repair a volume (page 171)

cvlabel

View, label, and initialize LUNs (page 172)

cvmkdir

Create a folder with an affinity (page 173)

cvmkfile

Create and preallocate a file (page 174)

cvmkfs

Initialize a volume (page 175)

cvupdatefs

Apply volume setup changes (page 176)

fsm

Start a volume controller process (page 176)

fsmpm

Start a port mapper process (page 177)

snfsdefrag

Defragment a volume (page 177)