D 
		
				
			
		dns
Guest
I have read the documentation but I do not understand. I want to set disk qouta limit to group. How?
				
			quotas=NO
to:
quotas=YEScheck_quotas=YES*Recompile your kernel with the option:
 options		QUOTA
 (For help on recompiling your kernel see diffrent entry in this database)
*Add to you /etc/rc.conf file:
 enable_quotas="YES"
*Finally you will need to edit /etc/fstab to enable disk quotas on a per-file system basis.
 This is where you can either enable user or group quotas or both for all of your file 
 systems.
 To enable per-user quotas on a file system, add the userquota option to the options field
 in the /etc/fstab entry for the file system you want to to enable quotas on. 
 For example:
    /dev/da1s2g   /home    ufs rw,userquota 1 2
*Similarly, to enable group quotas, use the groupquota option instead of the userquota 
 keyword. To enable both user and group quotas, change the entry as follows:
    /dev/da1s2g    /home    ufs rw,userquota,groupquota 1 2
*Reboot your machine
*check if it work with 
 $ quota -v
*edit your quota's like so:
    # edquota -u test
    Quotas for user test:
    /usr: blocks in use: 65, limits (soft = 50, hard = 75)
            inodes in use: 7, limits (soft = 50, hard = 60)
    /usr/var: blocks in use: 0, limits (soft = 50, hard = 75)
            inodes in use: 0, limits (soft = 50, hard = 60)    Quotas for user test:
    /usr: blocks in use: 65, limits (soft = 50, hard = 75)
            inodes in use: 7, limits (soft = 50, hard = 60)
    /usr/var: blocks in use: 0, limits (soft = 50, hard = 75)
            inodes in use: 0, limits (soft = 50, hard = 60)dns said:Th.. Where i can set file limit and disk size limit per group ?
Code:Quotas for [red]user test[/red]: /usr: blocks in use: 65, limits (soft = [red]50[/red], hard = [red]75[/red]) inodes in use: 7, limits (soft = [red]50[/red], hard = [red]60[/red])
See the Handbook, section 19.15.2.dns said:Hi sir, please tell me what is soft = 50, and hard = 75.
...dns said:I have read the documentation but I do not understand. I want to set disk qouta limit to group. How?
