LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-20-2005, 04:50 PM   #1
Wraezor
LQ Newbie
 
Registered: Apr 2005
Distribution: FC 2/3/4 & RHES 3/4
Posts: 15

Rep: Reputation: 0
Disk space used after initial partition is created


Hey folks,

I'm working on a RAID 0 array right now, and just wondering if anyone can give me any details as to why roughly 1% of the disk space is used immediately after formatting.

See the following:
Code:
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda              2.8T  121M  2.6T   1% /u01
or more specifically:
Code:
# df -m
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/sda               2860619       121   2717455   1% /u01
Now, 121MB is not 1% of 2.8TB. It should be closer to 28GB for that. I realize it's rounded up. Still 121 MB is a lot of space.

Even weirder is if I browse through a Samba share to this partition. I get the following details in the Explorer panel:

Capacity: 2.72 TB
Used: 139 GB
Free: 2.59 TB

Which is a whole lot more than 1%. That's more like 5%.

I'm not really concerned with what Windows is reporting, as long as the proper amount of storage is actually available. Can anyone provide insight into what requires 121MB of space on an empty drive?

It was formatted with mkfs.ext3 -Tlargefile4 /dev/sda

Thanks a lot.
 
Old 04-20-2005, 10:36 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
When an ext3 filesystem is created 5% (usual default value) is reserved for root use. This is supposed to keep fragmentation down as well as provide root space for filesystem maintenance. You can use tune2fs to change the value.
 
Old 04-21-2005, 10:01 AM   #3
Wraezor
LQ Newbie
 
Registered: Apr 2005
Distribution: FC 2/3/4 & RHES 3/4
Posts: 15

Original Poster
Rep: Reputation: 0
Awesome, thanks. I tuned it down to 2%, which I think should be plenty, seeing as how there's nothing but data files on here....no system files.

Appreciate the help.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ambiguity in free disk space in /home partition vharishankar Linux - General 15 02-22-2013 02:58 PM
Un partition Disk Space hansi umayangan Linux - General 3 03-15-2005 11:54 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
easiest way to know how much disk space is left on partition el jue Linux - Newbie 2 04-07-2004 09:19 PM
max disk space for a linux partition blas Linux - General 5 04-04-2003 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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