LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-16-2012, 04:19 AM   #1
Steve W
Member
 
Registered: Mar 2007
Distribution: Linux Mint 18.1
Posts: 520

Rep: Reputation: 44
"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: 25,679

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
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: Linux Mint 18.1
Posts: 520

Original Poster
Rep: Reputation: 44
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



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

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

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