Setting user quotas for users of specified groups

Description

Setting user quotas for users of specified groups

To set user quotas for users of specified groups

  • To set user quotas on users of specified groups, enter the following:

    Storage> quota fs setbygroup [group_names] [domain_name] 
    [hard_or_soft_limit] [numinodes_or_numspace] 
    [value] [fs_name]

    For example, to set the user quota for users of local groups:

    Storage>  quota fs setbygroup cifsgrp1,cifsgrp2 local softlimit 
    numspace 50M fs3
    OK Completed
    Storage> quota fs show
    User Quota Details for filesystem fs3:
    
    User      Space  Soft   Hard   Inodes  Soft    Hard
    Name      Used   Space  Space  Used    Inodes  Inodes
    ======== ======  ====== ====== ======  ======= ======
    cifsusr1  0      50M    0      0       0        0
    cifsusr2  0      50M    0      0       0        0
    cifsusr3  0      50M    0      0       0        0
    OK Completed
    Storage> cifs local group show cifsgrp1
    GroupName     UsersList
    ---------     ---------
    cifsgrp1      cifsusr2,cifsusr1
    Storage> cifs local group show cifsgrp2
    GroupName     UsersList
    ---------     ---------
    cifsgrp2      cifsusr3

    For example, to set the user quota for users of the winbind group:

    Storage>  quota  fs setbygroup "domain users" javadom 
    hardlimit numspace 50M fs2
    OK Completed
    Storage> quota fs show
    User Quota Details for filesystem fs2:
    
    User                     Space  Soft  Hard   Inodes  Soft   Hard
    Name                     Used   Space Space  Used    Inodes Inodes
    =======================  =====  ===== =====  ======  ====== ======  
    JAVADOM\administrator    0      0     50M    0       0      0
    JAVADOM\krbtgt           0      0     50M    0       0      0
    JAVADOM\support_388945a0 0      0     50M    0       0      0
    JAVADOM\java             0      0     50M    0       0      0
    JAVADOM\power            0      0     50M    0       0      0
    JAVADOM\james            0      0     50M    0       0      0
    JAVADOM\12345            0      0     50M    0       0      0
    JAVADOM\space            0      0     50M    0       0      0                   
    OK Completed

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)