LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-17-2003, 11:33 AM   #1
SammyK
LQ Newbie
 
Registered: Aug 2003
Posts: 24

Rep: Reputation: 15
How to convert KB to "Blocks and Inodes" or quota


Hi! I have set up quota on my system but now I need to know how to convert say 5MB to blocks. And what are inodes? I know they are "pointers" but how much should one generally give a user?

For example, here is a setup of one user on the machine:
Code:
*** Report for user quotas on device /dev/sdax
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
user1     --      44       0    1500             11     0  1500
To me, that looks like user1 has about 1.5MB of HD space and 1.5MB of inode space (which I really don't know what that's for.)

Does anyone know what I am talking about? Thanks!
 
Old 09-17-2003, 01:46 PM   #3
SammyK
LQ Newbie
 
Registered: Aug 2003
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for the links. Those helped a lot
 
Old 09-17-2003, 01:54 PM   #4
SammyK
LQ Newbie
 
Registered: Aug 2003
Posts: 24

Original Poster
Rep: Reputation: 15
Ok, another thing. So what seems to be the case is that

1000 blocks = 1M; so my initial presumption was correct. Now, does anyone know how many inodes I should set up for my user? Say I want him to have 5MB of HD space. If I gave him 5MB of inode space, does that mean the MAX space he could take up is 10MB?

Also, an inode is a "file pointer," yes? So if I set the inode size very small, he could only upload a few files before his inode space was maxed out. But if I changed the inode size to be large, he could store much more files until he exceeded the block space or inode space, which ever comes first.

Is that correct? Thanks again!
 
Old 09-17-2003, 01:57 PM   #5
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
you're very welcome...

by the way, i just noticed that howto is from '97...

here's a more recent version:

http://www.faqs.org/docs/Linux-mini/Quota.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
repquota (and edquota) report incorrect "used" blocks/inodes.. marcolof Linux - General 0 02-18-2005 09:26 AM
Quota on ReiserFS or "Reiser2Ext3" ? PhoenixHawk Linux - Software 1 08-20-2004 08:33 AM
Error message-"cannot convert `__gnu_cxx::__normal_iterator" ashwinipahuja Programming 1 05-13-2004 03:48 AM
IS there a way to implement a weekly "downloading quota"? linux-addict Linux - Networking 9 01-13-2004 10:42 AM
Writing shell script called "convert" bluewolf Programming 3 02-04-2003 10:52 PM


All times are GMT -5. The time now is 01:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration