LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-02-2006, 01:26 PM   #1
flycast
Member
 
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
Format 320Gb drive with ext3


Debian distro.

I just formatted my new 320 GB second drive with ext3 and mounted it. When I check properties it incorrectly reports the size as 278.5 GB.

Did I do something wrong?

Should I be formatting with a different format?
 
Old 12-02-2006, 02:40 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
What you did wrong was believe a sales blurb.
What they sold you was 320*(1000*1000*1000)
What you got in computing terms was that number divided by 1024**3 - which equals 298 Gig. That's the true number before you start.
Ext3 reserves 5%, so you're down to around 283 Gig - and from that you lose a little with the journal and filesystem overhead.

There should be plenty of threads of other people complaining about similar.
 
Old 12-02-2006, 03:33 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The 5% is not from the journal. The 5% is root reserved. User files can not use more than 95% of the space because 5% is reserved for root. EXT3 is ok for small capacity, but the default reserve hurts large capacity drives. In your case it is taking away about 15 GB. You can change the root reserved to 1% or to 0%. If you are going to use the space for small files, it is ok to use EXT3 because they do not need high throughput. If you are going to use the space for files that need high throughput and/or the count of files in a directory will reach to millions, I suggest XFS.
 
Old 12-20-2006, 09:58 PM   #4
georgiozoze
Member
 
Registered: Oct 2003
Posts: 35

Rep: Reputation: 15
Thank you guys.
It was very helpfull.

Is there an option for recovery Files in XFS?
If i use ext3 for large files, what will be the problem?
 
Old 12-21-2006, 01:11 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
No problem - ext3 is a mature and robust filesystem. I use nothing else personally.
But then i tend to limit my partitions to around 80 Gig each so I can back them up to my 100 Gig Lacie USB externals - personal choice.
 
Old 12-21-2006, 11:05 AM   #6
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
Ext3 is, as syg00 stated, tried and true.

I probably wouldn't use XFS unless it's for a MythTV box or something else that needs a really responsive disk system (for playing videos and deleting/moving them concurrently)...

There's some good information on it at the Wikipedia article: http://en.wikipedia.org/wiki/Xfs
 
  


Reply



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
attempting to format second hard drive to ext3 irishxpride Linux - Hardware 8 01-30-2008 03:43 AM
Western Digital My Book Ext3 format reports "Ext3-fs: Journal inode is deleted" ChronusDark Linux - Desktop 3 10-31-2006 03:56 PM
320GB hard drive shows up as 150GB bluelightning Linux - Hardware 4 07-03-2006 06:26 AM
FC1 Trying to mount second hard drive (HDB7) format ext3 with no luck stutes Linux - Newbie 4 05-26-2006 09:36 AM
how to mount a external hard drive in ext3 format? kuertensun Linux - Newbie 12 09-06-2005 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:16 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