ext3 is the default file system for many Linux distributions.

learn more… | top users | synonyms

44
votes
9answers
68k views

Disk full, du tells different. How to further investigate?

I have a SCSI disk in a server (hardware Raid 1), 32G, ext3 filesytem. df tells me that the disk is 100% full. If I delete 1G this is correctly shown. However, if I run a du -h -x / then du tells me ...
72
votes
23answers
27k views

rm on a directory with millions of files

Background: physical server, about two years old, 7200-RPM SATA drives connected to a 3Ware RAID card, ext3 FS mounted noatime and data=ordered, not under crazy load, kernel 2.6.18-92.1.22.el5, uptime ...
29
votes
11answers
23k views

How to make `rm` faster on ext3/linux?

I have ext3 filesystem mounted with default options. On it I have some ~ 100GB files. Removal of any of such files takes long time (8 minutes) and causes a lot of io traffic, which increases load on ...
8
votes
2answers
13k views

Running out of memory running fsck on large filesystems

I look after an old Debian linux box (running etch) with only 512 MB of RAM, but a lot of external storage attached. One ext3 filesystem is 2.7 TB in size, and fsck can't check it, because it runs ...
17
votes
11answers
25k views

Filesystem large number of files in a single directory

OK, not so large but I need to use something where around 60,000 files with average size of 30kb are stored in a single directory (this is a requirement so can't simply break into sub-directories with ...
24
votes
9answers
19k views

Maximum number of files in one ext3 directory while still getting acceptable performance?

I have an application writing to an ext3 directory which over time has grown to roughly three million files. Needless to say, reading the file listing of this directory is unbearably slow. I don't ...
26
votes
4answers
36k views

How do you get e2fsck to show progress information?

I'm running e2fsk on a very large (1TB+) ext3 disk with e2fsck -v /dev/sda1 from RIPLinux booted with PXE. I get e2fsck 1.41.6 (30-May-2009) /dev/sda1 contains a file system with errors, check ...
8
votes
1answer
8k views

ext3_dx_add_entry: Directory index full

Background: I'm running lighttpd 1.4.28-1 on CentOS 5.3 to serve the static assets. Signal: recently, it gets slow sometimes. I'm getting the below errors in the kernel log and /var/log/messages: ...
2
votes
1answer
568 views

how to tell if a directory on ext3 is indexed already?

It's often recommended to enable dir_index option on ext3 filesystems e.g. with sudo tune2fs -O dir_index /dev/dm-1 However, existing directories on that filesystem are not converted to indexed ...
0
votes
1answer
692 views

SAN Storage shared disk, files copied from other servers cannot be seen without re-mounting

I have a SAN Storage connected to my servers using fibre HBA. Using multipath, I've successfully mapped the device, formatted it as ext3, and mount it to my file system. But the problem is, the host ...
29
votes
7answers
56k views

How do I determine the block size of an ext3 partition on Linux?

How do I determine the block size of an ext3 partition on Linux?
16
votes
2answers
8k views

Production-ready, highly reliable filesystems on Linux: ext4 ext3 XFS or JFS (or ZFS)?

The last real question I've seen on this topic is from about two years ago (is ext4 ready for production usage). In the intervening time, how has ext4 improved? XFS, JFS, and ext3 are the standby ...
11
votes
2answers
18k views

How to tell the language encoding of a filename on Linux?

I have a directory with ~10,000 image files from an external source. Many of the filenames contain spaces and punctuation marks that are not DB friendly or Web friendly. I also want to append a SKU ...
12
votes
6answers
24k views

What are the differences between ext3, ext4 , ReiserFS?

And why should I pick one instead of the other?
8
votes
1answer
3k views

Best practices for choosing fs block size on ext3/4?

I never really pay block size much attention but obviously there can be benefits to choosing something other than the default. I am looking for a good "best practices" paper on choosing block size. ...
2
votes
1answer
2k views

Do large folder sizes slow down IO performance?

We have a Linux server process that writes a few thousand files to a directory, deletes the files, and then writes a few thousand more files to the same directory without deleting the directory. What ...
12
votes
3answers
22k views

How long should resize2fs take on a 1TB partition?

I've got a new computer at the university and almost set up everything for myself on it when I've noticed that the previous user of the machine used a huge 1TB ext3 partition only. I usually keep /...
12
votes
4answers
11k views

What Windows ext3 driver should I use? [closed]

I understand that there are several alternatives for using/accessing ext2/ext3 in Windows, such as those described in a HOWTO Forge article and in a another article from a year ago. However, none of ...
10
votes
10answers
1k views

How does the number of subdirectories impact drive read / write performance on Linux?

I've got an EXT3 formatted drive on a Linux CentOS server. This is a web app data drive and contains a directory for every user account ( there are 25,000 users ). Each folder contains files that ...
5
votes
1answer
1k views

find file by block number on ext3 fs on lvm

smartd has detected a bad block on my hard drive and I'd like to know what file does that block belong to. I have ext3 filesystem on a logical volume. Google gave me a lot of tutorials (like this one: ...
4
votes
3answers
27k views

Read-only root file system - ext3 error?

I have a problem with ext3 filesystem. It's not writable and I can't remount it. # echo 1 > /file -bash: /file: Read-only file system # mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) # ...
3
votes
2answers
693 views

optimizing ext[234] for small file throughput

I have a system that has a high throughput of small files on disk, i.e. a huge number of small files are created, written and deleted within seconds. Are there any reasonable ext2/ext3/ext4 mount ...
5
votes
1answer
524 views

Is the Ext3 filename limited to 255 symbols or 255 bytes?

I cannot save the file with the name containing more than 127 Cyrillic UTF-8 symbols on my Ext3 filesystem. It is possible so save the files containing up to 255 English UTF-8 symbols though. So is ...
3
votes
2answers
895 views

Ext3 Stride/Stripe-Width Calculation for 3-Disk Software RAID1E

For reasons too complex to get into here, I'm using a 3-disk RAID1E on some linux systems. See here for more info on that. So my understanding is that for optimizing filesystem layout on this volume,...
2
votes
3answers
4k views

How do I restore a partimage image to a smaller drive?

Without thinking, I made a partimage image of a ~1TB ext3 partition, which only actually contained about 2GB of data, so gzipped down to that size. I then wiped it and used it for something else. I'd ...
2
votes
0answers
456 views

Updating OpenBoot PROM on Sun Fire v440

After i have updated ALOM firmware on Sun Fire v440, i decided to update OpenBoot PROM, but when i try to load the patch using boot disk /flash-update-SunFire440 i get: SILO Fatal Error: Multiple ...
5
votes
3answers
2k views

Unable to list contents/remove directory (linux ext3)

System is CentOS5 x86_64, completely up to date. I've got a folder that can't be listed (ls just hangs, eating memory until it is killed). The directory size is nearly 500k: root@server [/home/user/...
4
votes
3answers
2k views

how do I convert a live root ext3 filesystem to ext4?

I have a root filesystem thats live and mounted and I'd like to convert it to ext4. All the howto's i've read deal with booting off a live CD but thats not an option.
4
votes
1answer
815 views

“No space left on device” error when writing certain session filenames

I have some filenames (session files) that can't be written ("No space left on device"). Other filenames (same directory) are fine. Disk is not full. The filesystem is ext3 PHP is giving an error ...
2
votes
2answers
171 views

Storing 64000+ files and growing in one folder (ext3)

I'm using a directory as a staging area for my files before shipping them to Amazon S3 buckets. This staging directory has no sub-directory structure /a/b/c or /year/month/day ... it's only files /cdn/...
2
votes
1answer
744 views

e2fsck aborts: memory allocation failed

I am trying to fix a 9 TB filesystem with e2fsck, however the scan always fails after about 10% or so with the following error: Error storing directory block information: ... Memory allocation failed ...
2
votes
4answers
1k views

Huge directory, not files inside, but directory itself

I have been trying to delete a directory from a centos server using rm -Rf /root/FFDC for the past 15 hours and am having great difficulty. I can't do a directory listing because it hangs the system (...
1
vote
1answer
266 views

Reclaiming Space That 'df' Says Should Be Available

I have a linux server hosted on one of Rackspace's CloudServers and it is showing that I have both no room available, yet also shows I have 12GB not used on the root partition. This server's only job ...
-1
votes
2answers
876 views

How to corrupt an ext3 partition so that it will undergo fsck to fix automatically at boot? [closed]

I'm looking for a way to corrupt an ext3 partition safely, so that it can be recovered by fsck on next boot, for testing purposes. Thanks!