A quota limits the amount of disk space and the number of files that a particular user or group can consume.
A quotas can assign for USER, GROUP, & QTREE
1) Get the quotas file from netapp
rdfile /etc/quotas
2) Edit the quotas file and change the quota for the required qtree.
Example : Edit quotas as below
/vol/vol1/qtree1 tree 250G #(Old entry)
A quota can also restrict the total space and files used in a qtree, or the usage of users and groups within a qtree.
A request that would cause a user or group to exceed an applicable quota fails with a “disk quota exceeded” error
A quotas can assign for USER, GROUP, & QTREE
Steps to ASSIGN quotas
1. Make the below entry in /etc/quotas
/vol/vol1/qtree1 tree 300mb
/vol/vol1/qtree1 - give the QTREE full path
tree - TYPE [ if we are assignining quotas for USER/GROUP mention as user/group]
300mb – size [Qtree SIZE]
2. quota on -w vol1 [ it will scan the /etc/quotas file and it will ON the quota]
3. quota off vol1 [it will OFF the quota]
1) Get the quotas file from netapp
rdfile /etc/quotas
2) Edit the quotas file and change the quota for the required qtree.
Example : Edit quotas as below
/vol/vol1/qtree1 tree 250G #(Old entry)
to
/vol/vol1/qtree1 tree 300G #(New entry)
3) Upload the quotas file to Netapp
wrfile /etc/quotas
/vol/vol1/qtree1 tree 300G #(New entry)
3) Upload the quotas file to Netapp
wrfile /etc/quotas
4) Use Quota resize command to resize the qtree quota.
quota resize vol1
5) Done.
5) Done.
No comments:
Post a Comment