LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-17-2007, 07:38 PM   #1
bluethumb
Member
 
Registered: Jan 2006
Distribution: RHEL 4, Scientific Linux, Centos, Ubuntu
Posts: 58

Rep: Reputation: 15
Question 2 TB quota limit on a RAID box?


Scientific Unix (clone of Red Hat Enterprise 5), x86_64
ext3 file system

I just set up a 6 TB RAID for a small group of users. There are some of them who will fill up all space available, so I decided to set quotas. I chose to make a hard quote of a little more than 2 TB, and I got a surprise. When I used edquota, it reduced the quota for a small number. After a bit of thought I realized that the number of disk blocks in 2 TB is the biggest number that will fit in a 32-bit unsigned integer. I cut the limit down to a little less than 2TB, and it seems to be happy.

Inquiring minds want to know:
Is this a general limit on ext3 file systems?
How would other file systems compare?
(Feel free to start a religious war about the various file systems; I'm curious.)
 
Old 08-17-2007, 08:11 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
Depending on the block size, there might be a limit of 2 TB. I don't think that is the issue though, seeing as how you already have a 6 TB partition.
 
Old 08-17-2007, 08:15 PM   #3
bluethumb
Member
 
Registered: Jan 2006
Distribution: RHEL 4, Scientific Linux, Centos, Ubuntu
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks. That clarifies my thinking. Probably the limit I hit is in the edquota program. I suppose I could write my own little program to set quotas using the quotactl() call. It appears to use 64-bit integers, according to the man page. Is there another way?

Last edited by bluethumb; 08-17-2007 at 08:22 PM. Reason: I learned about quotactl just after posting.
 
Old 08-17-2007, 08:38 PM   #4
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
How did you define the hard and soft limits, and what was the size difference between your quota and the reduced quota?
 
  


Reply

Tags
ext3, quota, raid



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quota Limit reached Jeebizz Slackware 19 04-23-2009 03:46 PM
ftp quota probs - 0kb files at quota limit ph_xm Linux - Newbie 0 02-02-2005 11:13 AM
User quota limit ust Linux - General 1 12-16-2004 06:55 AM
QMaiL quota limit ysg08 Linux - Networking 1 06-11-2004 03:01 PM
Quota issue, hard limit doesn't limit users Gratz Linux - Software 2 09-16-2003 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration