View Single Post

   
  #2 (permalink)  
Old 01-19-2008, 07:29 AM
Andreas Janssen
 
Posts: n/a
Default Re: Ext2FS eating harddisk space?

Hello

Kees Damen (<vote@gmx.net>) wrote:

> [...]
> I copied a large number of medium sized (3~10 MB) MP3 files to one of
> the ext2FS partitions.
>
> When I run df, I get the following result:
>
> Filesystem 1k blocks Used Available
> /dev/hdc3 128076316 4453272 117117124
>
> If I substract the number used blocks (4453272) of available blocks
> (128076316 ) I get 123623044 as the result. However, according to df,
> the available space is 117117124. A 6 GB difference!


man mke2fs:

-m reserved-blocks-percentage
Specify the percentage of the filesystem blocks reserved
for the super-user. This value defaults to 5%

You can change the value using tune2fs.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html
Reply With Quote