beautypg.com

Help users check quotas – Apple Xsan 2 User Manual

Page 104

background image

View quota status:
In Xsan Admin, select “Users and Groups” or Quotas in the SAN Assets list. (You see

m

Users and Groups only if you chose to have Xsan Admin manage your users and
groups. Otherwise, you see Quotas.)

To see current information, click Refresh at the top of the window.

Xsan Admin displays the following information for each user or group:
Used: The amount of space the user’s files are occupying.
Quota: The soft and hard quotas. For example, “75 MB – 100 MB” indicates a soft quota
of 75 MB and a hard quota of 100 MB.
Quota Status: The status bar represents the full allocation, from zero on the left to
the hard quota on the right. The small vertical line on the bar marks the soft quota.
The colored portion of the bar shows how much space the user or group is using.
Green indicates that the user or group is below the soft quota. Yellow indicates usage
exceeding the soft quota but for a time within the grace period. Red indicates that
the user has reached the hard quota, possibly because the soft quota was exceeded
beyond the grace period and was changed to a hard quota.

You can set up Xsan to notify you by email or text message when a user or group
exceeds a soft quota. See “Set up status notifications” on page 119.

For more information about quotas and how to set them, see “Set SAN user and group
quotas”
on page 100.

From the command line
You can also check user quotas using the

cvadmin quotas get

command in Terminal.

For information, see the

cvadmin

man page or “View or change volume and storage

pool settings (cvadmin)” on page 145.

Help users check quotas

SAN users who work on client computers but don’t have access to Xsan Admin can use
the

quota

command-line tool to check their quotas.

Check a user’s quota from a client computer:

1

Open the Terminal app (in the /Applications/Utilities/ folder).

2

Enter

quota -u -g -v

and press Return.

The quotas for the user and for groups the user belongs to are displayed in a table. The
first column reports the volume name. The second column reports how much space
the user or group is using on the volume, suffixed with an asterisk if the usage is over
the soft limit. The third column reports the soft quota. The fourth column reports the
hard quota. Usage and quotas are reported in 1 KB blocks.
To see the user quota without the group quotas, omit

-g

when you enter the command.

104

Chapter 6

Manage clients and users