- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- quotas query
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
Forums
Discussions
Discussions
Discussions
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
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
05-02-2006 07:31 PM
05-02-2006 07:31 PM
fs /user06 blocks (soft = 0, hard = 0) inodes (soft = 0, hard = 2)
In I need to ask what are blocks and what are inodes , how do i define space for the users based on them
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 07:41 PM
05-02-2006 07:41 PM
Re: quotas query
if you do:
man 5 quota
you should get a basic understanding of the quota system.
default block size is 1k
inodes are internal 'file pointers'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 07:58 PM
05-02-2006 07:58 PM
Re: quotas query
Inodes - are the FS metadata structure where the characteristics of the file are stored. e.g. size, address of data blocks define above, permission, number of links, uid, gid, modified time, accessed time etc... this is the info ls command spits out when used with "-l" option. Basically it is using "fstat()" and "stat()" system call to fetch the inode details.
To see the contents of the inode try ...
man fstat and see how the structure "struct stat" is defined to get an idea of inode.
If you want to know more of quota, please refer the man page of quota as peter suggested.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 11:36 PM
05-02-2006 11:36 PM
Re: quotas query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 11:43 PM
05-02-2006 11:43 PM
Re: quotas query
As each block is 1K => 10000K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 11:44 PM
05-02-2006 11:44 PM
Re: quotas query
Let us assume you want to set quota on /dev/vg01/lvol5. Now check the block size of the file system with the below command.
fstyp -v /dev/vg01/lvol5
in my case it is "f_bsize: 8192" meaning 8 KB.
So if i were to allocate 10000 such blocks then I would effectively allocated approx : 80MB
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 11:54 PM
05-02-2006 11:54 PM
Re: quotas query
I think what Peter is saying is correct - the block size is in 1k blocks.
Please refer man page of quota(5)
man 5 quota
regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 12:26 AM
05-03-2006 12:26 AM
Re: quotas query
this is a preety large value =1024 MB am I correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 08:52 PM
05-04-2006 08:52 PM
Re: quotas query
I did a quick test on my system and it appears the unit is 1K.
You seem to have quite a few questions open.
Can you please review the solutions given, award points and close the threads.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 09:06 PM
05-04-2006 09:06 PM
Re: quotas query
What do you mean 1024MB is a pretty large value - its the filesystem size you are pointing out at ? Nowadays filesystems can be prety huge - even 50-100GB . Size is relative - and depends on for which application/what purpose the filesystem is allocated.
Now if you are talking about if quota is 1024MB its a huge figure then you may be right, but again as I said its relative and depends on purpose. So you are the best judge for your set of environment to decide whats a large size for quota for a particular user.
Again -would like to highlight that the f_size is not quota but your filesystem size.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 09:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 10:31 PM
05-04-2006 10:31 PM
Re: quotas query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 10:40 PM
05-04-2006 10:40 PM
Re: quotas query
So regardless of what f_bsize is, a block quota of 10000 is 10000K.
Please read:
man 5 quota
man 1m edquota