Questions tagged [ext3]

Ext3 is a linux filesystem.

ext3 (or third extended filesystem), is a journaled file system that is commonly used by the Linux kernel. It is the default file system for many popular Linux distributions. S

The filesystem was merged with the mainline Linux kernel in November 2001 from 2.4.15 onward.

Its main advantage over ext2 is journaling, which improves reliability and eliminates the need to check the file system after an unclean shutdown.

Its successor is ext4

See Wikipedia for details on ext and ext3.

121 questions
16
votes
2 answers

How can I simulate ext3 filesystem corruption?

I would like to simulate filesystem corruption for the purpose of testing how our embedded systems react to it and ultimately have them fail as gracefully as possible. We use different kinds of block device emulated flash storage for data which is…
David Holm
  • 15,666
  • 6
  • 44
  • 47
14
votes
3 answers

How do I create a file with a specific inode number?

How can I create a file in ext3 filesystem with a specific inode number? (ex: I want to create a file with inode-number = 12253)
montini
  • 141
  • 1
  • 3
9
votes
1 answer

ext4 Specifications?

Where can I find the ext4 file system specifications? (Unofficial drafts are fine, so long as they're reasonably up-to-date; if unavailable, ext3 would be fine too.)
user541686
  • 189,354
  • 112
  • 476
  • 821
9
votes
0 answers

why NTFS filesystem is so slow compared to EXT3 filesystem when copying large amount of small files?

I've run the following test I've created a folder containing 15'000 files of 400 bytes using this batch : @ECHO off SET times=15000 FOR /L %%i IN (1,1,%times%) DO ( fsutil file createnew filename%%i.txt 400 ) then I copy past it on my Windows…
Arno 2501
  • 7,587
  • 7
  • 34
  • 49
8
votes
1 answer

Accessing ext3 / ext4 journals

ext3 and ext4 file systems have journaling. Is there any chance there's some API to get details or events about files? Some kind of API that will allow a user space program to access journal entries for files. Or even journal events, like "file x…
6
votes
1 answer

Android filesystem journaling

ext3 has 3 journaling options: journal, ordered, and writeback. According to the wikipedia entry, these range from least risky to most risky for crash recovery. For some reason, Android's version of Linux only supports the latter two options, and…
Ravi
  • 3,418
  • 6
  • 35
  • 52
6
votes
2 answers

What kind of JBOD in hadoop? and COW with hadoop?

New to hadoop, only setup a 3 debian server cluster for practice. I was researching best practices on hadoop and came across: JBOD no RAID Filesystem: ext3, ext4, xfs - none of that fancy COW stuff you see with zfs and btrfs So I raise these…
user2580961
  • 79
  • 1
  • 6
5
votes
2 answers

How does the length of a filename affect remaining storage space on a disk?

How does the length of a filename affect remaining storage space on a disk? I realize this is filesystem dependent. In particular I am thinking about the EXT series of file systems. I don't fully understand how inodes affect disk space and how the…
SO Stinks
  • 2,991
  • 4
  • 27
  • 36
5
votes
7 answers

SD card write performance

I am writing a little application, which is writing jpeg images at a constant rate on a SD card. I choose an EXT3 filesystem, but the same behaviour was observed with an EXT2 filesystem. My writing loop looks like this…
shodanex
  • 14,098
  • 10
  • 54
  • 86
4
votes
3 answers

How to "defragment" a directory on ext3?

I am running a daemon which analyses files in a directory and then deletes them. In case the daemon is not running for whatever reason, files get stacked there. Today I had 90k files in that directory. After starting the daemon again, it processed…
Bada
  • 49
  • 2
4
votes
1 answer

Linux filesystem benchmarking best practices

(Not really a programming question, sorry) I'm working on benchmarking various filesystems (most importantly: ext3) with various filesystem options (for instance: noatime, relatime etc.) for specific situations on a Linux box. For raw filesystem…
wzzrd
  • 560
  • 3
  • 13
4
votes
1 answer

blktrace to measure the IO performance

This is the ouput of the blktrace. I could not understand what is "N 0 (00 ..) [multipathd]". I'm testing the write IO performance of the FS. I have 2 doubts, N - is a action, but I dont find the usage of it in the blktrace.pdf. What is the…
Angus
  • 10,450
  • 28
  • 81
  • 135
4
votes
2 answers

Does python have hooks into EXT3

We have several cron jobs that ftp proxy logs to a centralized server. These files can be rather large and take some time to transfer. Part of the requirement of this project is to provide a logging mechanism in which we log the success or failure…
OhioDude
  • 1,040
  • 2
  • 10
  • 16
3
votes
1 answer

Android mkdirs() sets invalid permissions, locks other apps out of folder

I'm working on a media file organization program for Android and I want to move media files into a directory structure such as root/Artist/Album/Song.flac. I am looping through a data structure containing this information and making folders using…
3
votes
1 answer

How to build a customized ext3 filesystem

I want to do some experiments in ext3's source code. Any pointer on how to compile it and make it usable? Thanks
Oxdeadbeef
  • 993
  • 2
  • 9
  • 24
1
2 3
8 9