beautypg.com

Apple Xsan 2 User Manual

Page 147

background image

Appendix C

Use command-line tools

147

cvadmin command

Description

fail (volume|index)

Cause a volume to fail over to a standby
controller.

volume

– the name of the volume

index

– the numeric ID of the volume (to

see a list of these, use the

cvadmin select

command without any parameters)

filelocks [yes|no]

Enable or disable file and record locks. Use the
command without any parameter to see the
current setting for locks.

multipath pool
(rotate|static)

Specify how Xsan uses multiple paths to a
storage pool.

pool

– the name of a storage pool in the active

volume

paths

List available LUNs.

quit

Exit from

cvadmin

.

quotas [yes|no]

Enable or disable quotas for the active (selected)
volume. Use the command without parameters
to see the current setting for quotas.

quotas get (user|group) name

Display current quota information for a user or
group.

name

– the name of the user or group

quotas set (user|group) name hard

soft grace

Set quotas for user or group name.

name

– the name of the user or group

hard

– hard quota (bytes)

soft

– soft quota (bytes)

grace

– grace period (minutes)

quotacheck

Recalculate quota information for the active
volume.