OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Used + Available 1k Blocks Don't Equal Total, for ext3 CF cards
ShiroiKuma
post Jul 16 2007, 11:15 AM
Post #1





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



I've just noticed this. When I run df, the number of Used and Available 1k blocks doesn't equal the Total number reported for ext3 formatted CF cards. For vfat cards it matches exactly. For ext3 cards the difference exceeds 400 meg for an 8 gig card - huge difference.

I've split the card into three partitions, one ext3, one swap, and one non-mkfs-ed. Does this have any effect?

And why the difference? Is this normal?
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 16 2007, 01:17 PM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Ext filesystems reserve blocks for the super user (5% by default), so that may account for the blocks. Also, there are a few other blocks that are backup blocks or something.

I may have something wrong, but I'm sure somebody will come along and elaborate/correct.
Go to the top of the page
 
+Quote Post
dougeeebear
post Jul 16 2007, 02:57 PM
Post #3





Group: Members
Posts: 551
Joined: 8-July 04
From: Mid-South, USA
Member No.: 3,959



You can use the command:
mke2fs -m 0 /dev/hda1
to format a CF card to ext2 without creating the reserve blocks.

Maybe something like:
mke3fs -m 0 /dev/hda1
would work that way for ext3, I don't know.
Go to the top of the page
 
+Quote Post
the_oak
post Jul 17 2007, 06:38 PM
Post #4





Group: Members
Posts: 426
Joined: 10-February 04
From: Virginia, USA
Member No.: 1,794



I have always heard that ext3 file system is hard on CF cards due to journaling putting excess writes to disk. Maybe whoever posted this info before can elaborate on newest opinion concerning use of ext3?
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 18 2007, 01:18 PM
Post #5





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I heard the same thing, that using EXT2 on flash is better for it, eg causes less wear.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd October 2014 - 08:32 AM