Apple Xsan 1.0 User Manual
Page 86

86
Appendix B
Using the Command Line
cvadmin
Commands
cvadmin command
Description
activate [volume|index]
Choose the “active” volume that you want to work
with interactively.
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)
disable pool [read|write]
Prevent read or write access to a storage pool.
pool
– the name of a storage pool in the currently
active volume.
disks [refresh]
List LUNs.
down pool
Disallow all access to a storage pool.
enable pool [read|write]
Allow read or write access to a storage pool.
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.
paths
List available LUNs.
quit
Exit from cvadmin.
quotas [yes|no]
Enable or disable quotas for the active (selected)
volume. Use the command without any 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.
LL0192.book Page 86 Thursday, July 29, 2004 5:20 PM