beautypg.com

Apple Xsan 2 User Manual

Page 148

background image

148

Appendix C

Use command-line tools

cvadmin command

Description

repquota

Generate the following quota report files in /
Library/Logs/Xsan/data/volume:
quota_report.txt – text file
quota_report.csv – comma-delimited file
quota_regen.in –

cvadmin

commands that will

set up identical quotas on another metadata
controller. You can use

cvadmin -f

to execute

the commands.

repof

Create a report of open files on the active volume
in the file /Library/Logs/Xsan/data/volume/
open_file_report.txt.

select [volume]

Choose the active volume that you want to work
with. The name of the active volume appears
preceding the command prompt in interactive
mode, for example:

Xsanadmin (Vol1) >

To see a list of running volumes, leave off the
volume parameter.

volume

– the name of an Xsan volume

show [pool] [long]

List storage pool information for the active
volume.

pool

– the name of a storage pool in the

currently active volume

start volume [on] [controller]

Start a volume based on the information in its
configuration file (/Library/Preferences/Xsan/
volume.cfg).

volume

– the name of an Xsan volume

controller

– The address of the metadata

controller to start the volume’s FSM process on

stat

Display information about the active volume.

stop volume

Stop a volume and its FSM process on all
metadata controllers.

up pool

Allow access to the specified storage pool.

pool

– the name of a storage pool in the

currently active volume

who

Display client information for the active volume.