ext3 (third extended filesystem) is a journaled file system that is commonly used by the Linux kernel.

learn more… | top users | synonyms

1
vote
2answers
3k views

ext3 root filesystems goes read-only with aborted journal even after repairs

Short version: ext3 root filesystem on rackspace (xen) VM detects aborted journal on boot and mounts read-only. I've attempted to repair this from a rescue environment with tune2fs and e2fsck as ...
0
votes
3answers
26 views

Verify semantic integrity of filesystem

I just started up my linux box to find that one of my filesystem's had errors: I had to login as root to run fsck and hit y repeatedly. There were a lot of errors. So many that I used silly putty and ...
10
votes
7answers
34k views

Tell fs to free space from deleted files NOW

Is there a way to tell the kernel to give back the free disk space now? Like a write to something in /proc/ ? Using Ubuntu 11.10 with ext4. This is probably an old and very repeated theme. After ...
4
votes
2answers
53 views

Reliable way to detect ext2 or ext3 or ext4?

I need to detect a filesystem type from a C/C++ program using the filesystem superblock. However, I don't see much differences between superblocks for ext2 and ext4. The s_rev_level field is the same ...
1
vote
0answers
36 views

Mount EXT3 with 16KB blocks

I have a failing Sparc based Netgear ReadyNAS that uses LVM on Raid with EXT3 partitions with a 16KB block size. I would like to pull the drives out of the NAS and mount them read only in a Linux box. ...
5
votes
2answers
90 views

ext3 Filesystem shows full to most apps, but only 77% full to DF

Var is showing as full to many apps like Nagios, Puppet, and the LVM tools (pvs, vgs, etc) df -h output 6.0G 4.3G 1.4G 77% /var vgs output /var/lock/lvm/V_rootvg:aux: open failed: No space ...
1
vote
1answer
44 views

Why is it impossible to change the inode count of an ext filesystem?

I know that it isn't possible to change the inode count of an ext filesystem after its creation, but I haven't been able to find any explanation on why it isn't. Can anyone enlighten me?
0
votes
1answer
16 views

mke2fs difference between -i and -I options

sudo mke2fs Usage: mke2fs [-c|-l filename] [-b block-size] [-C cluster-size] [-i bytes-per-inode] [-I inode-size] [-J journal-options] [-G flex-group-size] [-N number-of-inodes] [-m ...
2
votes
2answers
311 views

fdisk -l shows ext3 file system as HPFS/NTFS

I have an external HDD which I formatted as NTFS partition in Windows. Now, I formatted this HDD in my linux system using the below command. mkfs.ext3 /dev/sdb1 It was formatted successfully. ...
0
votes
2answers
25 views

Tool to create a bad physical location report on disk

I am in need of a tool that would run on an Ubuntu system that would be able to report the following: Bad physical locations on a disk (cylinders, sectors) Files that are affected by these bad ...
6
votes
1answer
171 views

md raid1 ext3 and 4k sectors slow with directory operations

I recently moved from a hardware RAID1 enclosure to using two eSATA drives with md. Everything seems to be working fine, except for the fact that directory traversals/listings sometimes crawl (on the ...
3
votes
0answers
83 views

linux io stack analysis

I'm trying to understand the Linux IO stack by analyzing blktrace trace. Below is the trace i captured by executing simple fio sequential write with no Direct IO (5 x 8k request size). 8,16 1 ...
2
votes
2answers
233 views

How to clean journals in ext3/ext4 filesystem? [closed]

Some preamble: I'm taking bitwise copy of disk devices (via dd command) from twin hosts (i.e. with the same virtualized hardware layout and software packages, but with different history of usage). To ...
2
votes
1answer
67 views

zerofree verbose returns what?

zerofree -v /dev/sda1 returned 123642/1860888/3327744. The man page does not explain what those numbers are: http://manpages.ubuntu.com/manpages/natty/man8/zerofree.8.html I found some code on ...
4
votes
1answer
108 views

How can I dump the contents of a filesystem's superblock?

I understand that I can list the location of a filesystem's superblocks using the following commands. Example First get the device handle for the current directory. $ df -h . Filesystem ...
3
votes
1answer
89 views

Is there a problem using resize2fs too often?

I have a partition which contains MySQL data which is constantly growing. My LVM PV has precious little free space remaining and therefore I find I'm frequently adding additional space to my /var ...
3
votes
1answer
52 views

Automatically set file attributes in a given directory

Let's say I want to set one or more attributes (in the chattr sense) on every file created in a given directory. Is there a way to achieve this automatically, like umask does for file permissions ? ...
2
votes
3answers
341 views

Safe to disable boot fsck on read-only ext3 file system?

I have a large, frequently read, ext3 file system mounted read-only on a system that is generally always hard power cycled about 2-3 times per day. Because the device is usually powered off by ...
2
votes
1answer
100 views

Minimizing “idle” writes on a file system

Leaving out many details, I need to create a read/write file system on a device with the following main goals: Eliminate all writes while data is not being explicitly written. Reduce all indirect ...
2
votes
1answer
322 views

How can I restore my linux?

I had an hard-drive with two partitions: one was 460GB NTFS and the other was 5GB ext3 Ubuntu 10.10. I wanted to extend the Ubuntu partition, so I was going to shrink the NTFS partition by 15GB, but I ...
3
votes
1answer
140 views

What would happen if we mounted a file system that e2fsck is already running on?

It is generally a bad idea to e2fsck a file system while the file system is mounted (the man page mentions one specific situation where it is safe: -n given, and -c, -l or -L not given, and even then ...
1
vote
3answers
489 views

is it safe to backup ext4 partition with partimage , which is detected as a ext3 partition

I use partimage to backup my ext4 partition, but during backup, the partition was detected as an ext3 partition. So I'm wondering if this can cause something bad.
2
votes
0answers
130 views

What caused this ext3 filesystem / mounting problem?

((K)Ubuntu 12.04, kernel 3.2.0-38-generic, fstype ext3) I recently came across the 'great idea' of using hibernation to save state in my main OS, while I boot another OS. I've done this without ...
11
votes
3answers
2k views

What mount option to use for ext3 file system to minimise data loss or corruption?

I have an embedded setup using an initramfs for the root file system but using a custom ext3 partition mounted on a compact flash IDE drive. Because data integrity in the face of power loss is the ...
0
votes
3answers
1k views

Unable to mount ext2 hard drive

I have been trying to mount an ext2 hard drive in ubuntu server, but when i run sudo mount /dev/sdb /media/mynewdrive -t ext2 I get wrong fs type, bad option, bad superblock on /dev/sdb1, missing ...
5
votes
2answers
302 views

Testing ext3 filesystem on embedded device [closed]

My set up: An embedded device with flash memory on it. Flash is partitioned into ext3 filesystem partitions. Have busybox on it. My Goal: To uncover errors /bugs/ problems on ext3 filesystems. ...
1
vote
1answer
133 views

Cannot make anyfs-tools. My e2fslibs package seems not to be the compatible version

anyfs-tools promises to convert a ntfs partition into ext3. That's what I want to do. (I have backed up what was necessary). But when I try to compile anyfs-tools I get a make compilation error ...
3
votes
3answers
169 views

Convert old /home from ext3 to ext4

I have an old /home partition, that dates back to former linux systems, and it is still in ext3 format. Whereas the rest of my system, / and some other mounted point are devices formated in ext4. I ...
2
votes
2answers
137 views

decreasing “reserved block count” does not show up in df output

By default my ext3 file system had 122060 blocks(5%) reserved. I decreased this to 24412(1%), but there were no changes in df output: root@t60:~# df -P Filesystem 1024-blocks Used ...
3
votes
0answers
235 views

Confusion with how to restore corrupt ext3 files if power outage occurs during a file write

I am running a small embedded system. Because the system will never be gracefully shutdown and will just have the power cable unplugged, I am running an initramfs but mounting an ext3 partition on a ...
5
votes
1answer
552 views

Is it possible to disable file permissions on a ext3 or ext4 file-system?

Is it possible to disable file permissions on an ext3/4 file-system? Just wondering if it's possible to completely disable or ignore file permissions on a ext3 or ext4 file system. Perhaps a mounting ...
5
votes
3answers
97 views

What makes ext3 determine how frequently to perform file system checks when no options are specified?

I created two partitions on a 1.5 TB drive, the first was 1 TB, the latter was the remaining .5 TB. Both were formatted as ext3. I don't mind the automatic filesystem checks occurring every so often, ...
3
votes
1answer
90 views

md5sum change after mount?

I have a ext3 filesystem on a .img file. After mounting and unmounting it, I noticed that the md5sum is changed, even if no file inside was changed! md5sum myfilesystem.img XXXX myfilesystem.img ...
1
vote
0answers
31 views

Recover files from ext3 formatted external hard drive [duplicate]

Possible Duplicate: Recovering deleted files on fedora I have an external hard drive that I had been using to store some photographs, but I accidentally installed Lubuntu on it. I'd like to ...
5
votes
2answers
1k views

Red Hat cannot boot after clone with dd

I used dd to clone a x4100 server with Linux Red Hat. The hardware is identical for old and new servers. Disks are sda, sdb and sdc(sdc1 and sdc2). But newly restored server gives following errors and ...
3
votes
2answers
456 views

Location of inodes (ext)?

Say I want to observe how the flow from file name to cluster on hard disc goes. I get the inode number of I file (which is mapped in a directory data): 1863 autorun.inf So, now i know that i have ...
31
votes
6answers
10k views

How do I know if a partition is ext2, ext3, or ext4?

I just formatted stuff. One disk I format as ext2. The other I want to format as ext4. I want to test how they perform. Now, how do I know the kind of file system in a partition?
1
vote
1answer
364 views

File access after fsck very slow for first-time access?

My drive started to show up errors, I unmounted it and ran fsck on it. It's a 2TB drive installed on Debian Squeeze, using ext3. The fsck too about 17 hours. I found some, luckily mostly unimportant, ...
1
vote
1answer
859 views

recover corrupted directory from ext3 partition

It's my mounted directory that I want to restore folder ostani. It contains many PHP, CSS, Javascript, etc. files. How can I access it? I use dd_rhelper to create an image and tried to fsck to repair ...
0
votes
1answer
258 views

Recover ext3 files from hard disk with bad sector [duplicate]

Possible Duplicate: Recover formatted ext3 partition I have a folder of about 5GB that suddenly disappeared. When I checked its hard disk, I found out it has bad sector for about 2-3MB on ...
2
votes
1answer
302 views

Any command to view the file system internal fragmentation size under a directory?

If the block size of a file system is 4KB, then for a 1KB file, 3KB space(which is internal fragmentation) is wasted. So, under a directory, is there any command to summarize how much disk space is ...
2
votes
2answers
139 views

Can I make low-level changes on a root fs mounted RO?

Related to this question: having a root file system that had to be mounted read-only (say it's completely broken), can I reformat the partition or dd a older backup image on top of it (and then ...
0
votes
0answers
105 views

ufs fails on debian

I am a longtime openSUSE user. However, my friend convinced me to give debian a try. When installing, I noticed there was no ext3 option (which I usually use), so I selected ufs. Then I got an ...
12
votes
1answer
444 views

How to compact a directory

Every so often, some application runs wild and fills a directory with a huge amount of files. Once we fix the bug and clean up the files, the directory stays big (>50MB) even though there's only 20-30 ...
3
votes
1answer
190 views

How do I choose between ext 3 and 4?

I tried looking at the difference, the main ones seem to be 4 supports more subdirectories in a file, supports larger files, has delayed write which I don't prefer as I don't want data loss. I also ...
2
votes
1answer
284 views

How to fix a fragmented ext disk - myth or truth?

I just read this article about the virtually non-existent disk fragmentation on *nix filesystems. It was mentioned that due to the way ext handles writing data to the disks, fragmentation may only ...
0
votes
5answers
2k views

Debian stucks at formatting 33%

I'm trying to install Debian Squeeze 6.0.5 on a new HP Proliant Microserver N40L with 4 GB RAM and 1.5 GHZ and 2 new Seagate BARRACUDA 2TB HDD (delivered yesterday). The installation stuck at the ...
3
votes
2answers
784 views

Besides the journal, what are the differences between ext2 and ext3?

I just saw an answer question about filesystems for embedded hardware on another Stack Exchange site. The question was "What file system format should I use on flash memory?" and the answer suggested ...
6
votes
1answer
3k views

largefile feature at creating file-system

Is useful to use -T largefile flag at creating a file-system for a partition with big files like video, and audio in flac format? I tested the same partition with that flag and without it, and using ...
5
votes
3answers
845 views

ext2/3/4 reserved blocks percentage purpose

I know that this feature dates back 20 years but I still would like to find out What is the purpose of the reserved blocks in ext2/3/4 filesystems?