Displaying the quota values for CIFS home directories

Article:HOWTO60392  |  Created: 2011-10-20  |  Updated: 2012-02-03  |  Article URL http://www.symantec.com/docs/HOWTO60392
Article Type
How To


Environment

Subject


Displaying the quota values for CIFS home directories

To display the quotas for CIFS home directories

  • To display the quotas for the CIFS home directories, enter the following:

    Storage> quota cifshomedir show [userquota | groupquota] 
    [user_or_group_names] [domain_name]

    userquota

    User quota can be set with hard/soft limits on usage. Usage is dictated by the number of blocks and number of inodes that can be created by the user.

    groupquota

    Group quota can be set with hard/soft limits on usage. Usage is dictated by the number of blocks and number of inodes that can be created by all the users in the group.

    user_or_group_names

    Name of the user or the name of the group for which a quota value is set.

    You can specify a comma-separated list of user or group names.

    To delete quota values for a user, you will have to set all the user quota entries to 0.

    A user with a UID of 0 is not allowed in a Storage> quota fs set command.

    domain_name

    You can display the domain name that was set when setting file system quotas.

    Domain name is the first section of the domain, as in symantec.filestore.com. The domain name is symantec.

    For example, to display general quota information for a CIFS home directory for both userquota and group quota:

Storage> quota cifshomedir show
User Quota Details for CIFS homedirfs:
User Name Space Used  Soft Space  Hard Space Inodes Used Soft Inodes Hard Inodes       
========= ==========  ==========  ========== =========== =========== =========== 
user06    0           30M         50M        0           0           0  
user07    0           0           0          0           300         500
Group Quota Details for CIFS homedirfs:
Group Name Space Used  Soft Space  Hard Space Inodes Used Soft Inodes Hard Inodes                   
=========  ==========  ==========  =========  =========== =========== ===========
group01    0           400M        600M       0           0           0  
group02    0           0           0          0           60000       80000  
OK Completed

The Storage> quota cifshomedir show command does not display the file system name in the output.

The CIFS home directory is created on one of the CIFS home directory file systems. FileStore sets CIFS home directory quotas on all of the CIFS home directory file systems. The Storage> quota cifshomedir show userquota username command displays the quota and usage information on the file system on which the CIFS home directory is created.

For example, if homedirfs=fs1,fs2, and the home directory of user1 is created on fs1, and the home directory of user2 is created on fs2, then the Storage> quota cifshomedir show userquota user2 command displays the CIFS home directory quota and usage on fs2.

To display the quota values that are already set on each file system for the CIFS home directories

  • To display the quota values that are already set on each file system for the CIFS home directories, enter the following:

    Storage> quota cifshomedir showdetail [userquota | groupquota]
    [user_or_group_names] [domain_name]

    userquota

    User quota can be set with hard/soft limits on usage. Usage is dictated by the number of blocks and number of inodes that can be created by the user.

    groupquota

    Group quota can be set with hard/soft limits on usage. Usage is dictated by the number of blocks and number of inodes that can be created by all the users in the group.

    user_or_group_names

    Name of the user or the name of the group for which a quota value is set.

    You can specify a comma-separated list of user or group names.

    To delete quota values for a user, you will have to set all the user quota entries to 0.

    A user with a UID of 0 is not allowed in a Storage> quota fs set command.

    domain_name

    You can display the domain name that was set when setting file system quotas.

    Domain name is the first section of the domain, as in symantec.filestore.com. The domain name is symantec.

    For example, to display quota information on CIFS home directory file systems fs1 and fs2 for both userquota and groupquota:

Storage> quota cifshomedir showdetail
User Quota Details for filesystem fs1:
User Name  Space Used Soft Space Hard Space Inodes Used Soft Inodes Hard Inodes
========== ========== ========== ========== ==========  ==========  ==========
user06     0          30M        50M        0           0           0        
user07     0          0          0          0           300         500      
User Quota Details for filesystem fs2:
User Name  Space Used  Soft Space  Hard Space Inodes Used  Soft Inodes  Hard Inodes
========== ==========  ==========  ========== ==========   ==========   ==========
user06     0           30M         50M        0            0            0        
user07     0           0           0          0            300          500      
Group Quota Details for filesystem fs1:
Group Name  Space Used  Soft Space  Hard Space  Inodes Used Soft Inodes Hard Inodes
==========  ==========  ==========  ==========  ==========  ==========  ==========
group01     0           400M        600M        0           0           0        
group02     0           0           0           0           60000       80000    
Group Quota Details for filesystem fs2:
Group Name  Space Used  Soft Space  Hard Space  Inodes Used Soft Inodes Hard Inodes
==========  ==========  ==========  ==========  ==========  ==========  ==========
group01     0           400M        600M        0           0           0        
group02     0           0           0           0           60000       80000    
OK Completed

The file system name displays in the output for the Storage> quota cifshomedir showdetail command.


Legacy ID



v49829921_v64777215


Article URL http://www.symantec.com/docs/HOWTO60392


Terms of use for this information are found in Legal Notices