LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2005, 10:18 AM   #1
jcruse
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
Why am I losing so much disk space with Linux (vs Windows)?


I'm a relative newbie with Linux, but fairly advanced otherwise. I previously had my media server setup with a hardware RAID card (the LSI Logic Megaraid i4) on Windows XP using Maxtor 300GB ATA drives. I recently filled my array, and have been playing around with Linux software RAID as a possible platform for my server.

The "300GB" Maxtors have a raw capacity of 283 GB. With hardware RAID under Windows XP, an NTFS formatted 7-disk RAID-5 array yielded a storage capacity of 1.67 TB. (which amounts to ~ 278 GB /disk) Also a non-raided drive yields the same 278 GB size after NTFS formatting.

Using Fedora Core 3, I created a 4-disk RAID-5 array using ext3 file system with the same 300 GB Maxtor drives. I was shocked to see my available capacity was only 783 GB (261 GB/disk). I installed the root and swap partitions on a separate system disk, so there is no usage of the array by the system. "df -h" indicates a size of 838 GB for the array, but with 1% usage and only 783 GB available? What happened to those 55 GB? Does the ext3 file system eat that much space? I was planning on running a 12-disk array ultimately, but with this difference in capacity, it is almost worth buying Windows Server 2003 and using its software RAID instead...

Any suggestions?
 
Old 02-17-2005, 10:26 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
By default 5% of an ext3 partition is reserved for root. Having reserved space is supposed to reduce fragementation and allow root to log on in case you fill up the drive. Use tune2fs to reduce the size.
 
Old 02-17-2005, 04:53 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Also, see what df -H gives you, it uses different rounding of KB and MB etc to -h
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Adding more disk space in Linux mkrishnanand Linux - General 1 06-19-2004 02:37 PM
I am losing mail is Cyber space john8675309 Linux - Software 1 02-14-2004 12:54 PM
reinstall windows without losing linux ereeno Linux - Software 30 09-04-2003 03:55 AM
Cant boot linux, out of disk space fooooo Linux - General 1 05-25-2001 05:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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