Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Misc > edquota + gigabites

Forgot Password?
 Misc   Any questions or Linux discussion that does not fit in any of the other technical areas.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 4 Weeks Ago   #1 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 3
edquota + gigabites

Hi all,

This is a recurrent question that pos to my head every year and finally I want to put an end to it, with your kind help:

1 - in edquota how are disk sizes espressed ?? in megabites, bites, kilobites ???? I know it would depend on the disk inode or block allocation which could be either 1024 or 2048 4056 etc, so it wouls change upon this.

Supposing that the block allocation is in my disk is 1024, I assume 30 gigabites are expressed in edquota as 300000000 (lets say hard limit ) and then 29 gigs for soft limit would be : 290000000

Is that correct ??

How can I find out what the block allocation is for my disks ??

Many thanks for your help.
mahuro is offline  


Reply With Quote
Old 3 Weeks Ago   #2 (permalink)
Just Joined!
 
chris81's Avatar
 
Join Date: Jan 2009
Posts: 62
Hi

I don't know for your first question, but you surely can try it by adding 1 as a quota to a partition, then try by writting
1K of data. If it worked then try
1M of data. If it worked then try
1G of data. If it worked then try
1T of data. If it worked then something is misconfigured (?)

Otherwise, you will get filesize 'units' used.

For the 2th question :
1K = 8 bits (1 byte)
1M = 1024K
1G = 1024M
1T = 1024G

chris81
chris81 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:31 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2