beautypg.com

Xsan commands, 145 xsan commands 145, View or change volume and storage – Apple Xsan 2 User Manual

Page 145: Pool settings (cvadmin)

background image

Appendix C

Use command-line tools

145

Xsan commands

Xsan includes these command-line tools:

Tool

Description

cvadmin

View or change volume and storage pool
settings; see page 145

cvaffinity

Manipulate affinity tags manually; see page 149

cvcp

Copy files or folders; see page 149

cvfsck

Check or repair a volume; see page 150

cvlabel

View, label, and initialize LUNs; see page 151

cvmkdir

Create a folder and assign an affinity; see
page 152

cvmkfile

Create and preallocate a file; see page 153

cvmkfs

Initialize a volume; see page 153

cvupdatefs

Apply volume setup changes; see page 154

snfsdefrag

Defragment a volume; see page 154

xsanctl

Mount and unmount Xsan volumes; see page 156

View or change volume and storage pool settings (cvadmin)

Use the

cvadmin

tool to perform status and setup tasks related to Xsan volumes.

For help, see the

cvadmin

man page or enter:

$ sudo cvadmin -e help

Enter interactive mode:

$ sudo cvadmin

Execute commands from a file:

$ sudo cvadmin [-H host] [-F volume] -f cmdfile

Execute a single command and return to the shell prompt:

$ sudo cvadmin [-H host] [-F volume] -e ["]command [cmdparam..."]