- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk space limitation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 08:16 AM
тАО01-10-2002 08:16 AM
I wanna know if it's possible to set a limit of space on a home directory or other directory that a user can use. I explain my self:
For exemple I have 2 user, who their home dir are: /home/user1 ans /home/user2 can I say for user1 that he can put for 1gb of data in is home and for user2 he can put 500mb of data in si home... And can I limit the number of files in a directory???
If so, how can I see the limitation and how can I set that thing..
Thanks!!!
Jo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 08:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 08:27 AM
тАО01-10-2002 08:27 AM
Re: Disk space limitation
There are a number of quota commands. I recommend looking at the man pages for them all:
hercules: /exc/etc/scripts # man -k quota
edquota(1M) - edit user disk quotas
quota(1) - display disk usage and limits
quota(5) - disk quotas
quotacheck (generic)(1M) - file system quota consistency checker
quotacheck (hfs)(1M) - quota consistency checker for HFS file systems
quotacheck(1M) - VxFS file system quota consistency checker
quotactl(2) - manipulate disk quotas
quotaon, quotaoff(1M) - turn HFS file system quotas on and off
repquota(1M) - summarize file system quotas
rquotad(1M) - remote quota server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 08:40 AM
тАО01-10-2002 08:40 AM
Re: Disk space limitation
I'm gonna check to put some quota...
ChoW!
Jo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 08:44 AM
тАО01-10-2002 08:44 AM
Re: Disk space limitation
you should have a look at the quota thing. This will limit the amount of disk space allocated to a particular user. You cannot limit the no of files in a directory,
Try this link below,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/49-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/49-toc.html&searchterms=quota&queryid=20020110-084950
Look for "Setting Up and Turning On Disk Quotas "
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 09:08 AM
тАО01-10-2002 09:08 AM
Re: Disk space limitation
I haven't used quotas for quite some time, but if I recall correctly quota will only take into account files OWNED by the user. If the user is "smart" or evil enough to chown some of his (large) files, he will not be stopped by quota. So to play safe chown should be disabled (setprivgrp).
regards,
Thierry.