Setting user quotas for users of specified groups

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


Environment

Subject


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

Legacy ID



v58034913_v64777215


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


Terms of use for this information are found in Legal Notices