LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-16-2012, 04:19 AM   #1
Steve W
Member
 
Registered: Mar 2007
Distribution: Ubuntu 12.04, Mint 12 LXDE
Posts: 431

Rep: Reputation: 36
"Lost space" for Ext3 and Ext4 file systems on hard drive


Is it normal for ext3 and ext4 to have "lost space", ie space reported by the system as "free" but "not available"?

On my system, I have one partition for Windows XP formatted NTFS. One /home partition, formatted ext3, and the Linux filesystem formatted ext4 (I created my separate /home partition before ext4 came along).

My system monitor is showing the NTFS partition as 10.9GB free, 10.9GB available; a memory stick I have mounted at the moment (vfat) is showing 7.7GB free and available. But the ext3 filesystem shows 1.1GB free but only 573.8MB available. The ext4 filesystem shows 13GB free but only 12.1GB available.

Is this lost space the penalty you pay for using ext3/4 filesystems, or does this lost space represent bad sectors? I am nervous about using any disk analysis or repair tools, as I am aware that one wrong move could be disastrous!

Does anyone have any advice? Thank you.
 
Old 10-16-2012, 04:25 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,856

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
By default ext2/3/4 filesystems reserve 5% for root which looks like lost space. Reserved space is supposed to reduce fragmentation as well as allow root to log in if the filesystem becomes full. You can use tune2fs to reduce reserved space and it is safe to reduce it to zero if not /.
 
Old 10-16-2012, 01:20 PM   #3
Steve W
Member
 
Registered: Mar 2007
Distribution: Ubuntu 12.04, Mint 12 LXDE
Posts: 431

Original Poster
Rep: Reputation: 36
Thank you for this information, it did not occur to me that this had something to do with the fragmentation resistance of ext. I looked up tune2fs and now know a lot more about this.

Thanks.
Steve
 
  


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
[SOLVED] Formatting hard drive with ext3/ext4 while getting full rwx permissions PasBern Linux - Newbie 10 12-30-2009 12:16 PM
seeking HOWTO scan drive for "lost" partitions and file systems SaintDanBert Linux - Software 1 12-13-2009 09:27 PM
"hdc: lost interrupt" - hard drive hangs philetus Linux - Hardware 18 03-14-2008 05:17 AM
How to link "free space on Hard Drive to LINUX" navin_karnam Linux - Desktop 2 06-21-2007 03:14 AM
Mandrake 10.1 - Linux doesn't "see" free hard drive space scottlyter Linux - General 3 10-15-2004 04:39 PM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration