Setting UP Quota on HPUX
• Mount the file system
# mount /dev/vg01/lvol4 /home
# cpset /dev/null /home/quotas 600 root bin ( empty file created with at the root of file system with owner root grp bin permission for
root)
# /usr/sbin/edquota user
• type the following to limit
fs /home blocks ( soft = 10000, hard=12000) inodes ( soft = 200, hard = 300 )
• to set the time limit
# edquota –t username
• type following
fs /home blocks time limit = 10.00 days, files time limit = 15.00 days
• turn on quotas
#quotaon –v /home
• check the file system for quota
#quotacheck /dev/vg02/lvol3
• report the quotas
#repquota /home
• report the summary of qwnership
#quot /home
• report individuals
#/usr/bin/quota –v
Sunday, October 9, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment