Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

quota / block

 
   Database Forums (Home) -> PHP SQL RSS
Next:  Dynamic pop up list  
Author Message
Séverin_Richard

External


Since: Jun 24, 2007
Posts: 3



(Msg. 1) Posted: Fri Dec 14, 2007 7:58 am
Post subject: quota / block
Archived from groups: alt>php>sql (more info?)

Hi all,
I have a dedicated serveur gentoo.

I enconter problems managing disk quotas.

I thought that hard limit was in Mo, but it's obviously "blocks"
But trying to evaluate the size of a block give me unexpexted results:


1_ How can i know the size of my blocks??
i know 2 commands:
$$$> edquota username
and $$$> du /home/userdir

user1:
edquota gives me 156212 blocks
and du /home/user1 : 8 920 (Mo)
thus a block size is about: 8920 (000) / 156 212 == 57 o / block

user2:
edquota gives me 367 372 blocks
and du /home/user2: 28 964 (Mo)
thus a block size is here: 28 964 (000) / 367 372 == 78 o /block

What is the relation between "block" and disk usage????

How can i manage my disk quota in Mo.

This is a big problem because when quota exeeds, any file uploaded is
set to 0ko and erase the existing file. And all internet website goes wrong.



Thanks for help.

 >> Stay informed about: quota / block 
Back to top
Login to vote
Tom

External


Since: Dec 12, 2006
Posts: 238



(Msg. 2) Posted: Sun Dec 16, 2007 6:37 pm
Post subject: Re: quota / block [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived

 >> Stay informed about: quota / block 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Block Level File Access? - Hi All, I'm writing a free-for-all online project management system of sorts, and I'm having trouble thinking my way around how to store the files of each project in my database. Currently, the database just keeps track of the file location, and has...

multiple column sort MySQL - I am using $qryResult = mysql_query("ALTER TABLE MyTable ORDER BY County"); But I would like it sorted by multiple columns such as $qryResult = mysql_query("ALTER TABLE MyTable ORDER BY County"); $qryResult = mysql_query("ALT...

One query and problem LIMIT - Hi all, I have 2 tables: articles and categories articles table: ------------ articleid categoryid name categories table: --------------- categotyid name description I want to get the last entred 5 articles for each category with one quey: like..

multiple select but ......php/mysql/html - hello, Maybe someone can help me out with this one where i am stuck where i solve this in html or other code? html/php and mysql using in a html form: <tr> <td><?php echo"<font face=$b_fontface size=$b_fontsize&...

Create Tabel - Hi I am having some problems using MySQL. I am trying to create a table in a database using the query "CREATE TABLE enquiries (id int(6) NOT NULL auto_increment,name varchar(80) NOT NULL,email varchar(80) NOT NULL,company varchar(80) NOT NULL,tele...
   Database Forums (Home) -> PHP SQL All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]