ext3 is the default file system for many Linux distributions.

learn more… | top users | synonyms

50
votes
21answers
15k 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 ...
3
votes
3answers
694 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 ...
3
votes
2answers
1k views

e2fsck / resize2fs problems

I've got 6 drives (each 1.5T, all same model and firmware revision) that are part of a RAID5 array. The RAID5 makes a LVM volume group and a logical group. The latter contains only one ext3 partition. ...
2
votes
2answers
820 views

How to copy directories using debugfs?

The debugfs manpage gives the impression that the command 'rdump . .' will recursively copy all files found on the specified filesystem from the debugfs cwd to the native filesystem's cwd. Instead I ...
1
vote
2answers
24 views

Expanding ext3 /usr partition safely with minimal downtime

I have inherited a Centos 5.5 server provided by Softlayer. My /usr partition is filling up, and I can't see any quick wins by deleting cruft. It looks like the sheer number of cpanel accounts is to ...
0
votes
1answer
53 views

Resizing Partitions on Live RHEL/cPanel Server

I've resized many partitions over the years on Linux, Windows and Mac OS X -- but always using a GUI. However, the time has come where the preset partition sizes my data center placed on my server ...
0
votes
0answers
19 views

Defragmenting an ext3 filesystem after modifying using tune2fs

We have a number of servers that use local storage for a high performance data warehouse. We were running into issues with running out of space (the reserve space for ext3 volumes). We modified this ...
1
vote
4answers
458 views

Shredding data on a live server

Which is the best way to shred all data from a live dedicated server? I have no physical access nor any out of band remote management functionality to the server, only SSH access. Server is running ...
3
votes
4answers
304 views

If I upgrade an ext3 fs to ext4, will it automatically increase the maximum amount of directories per directory?

Due to an external unavoidable situation*, I need to have more than 32k directories in a directory (but as far as I can tell, less than 64k). I'm hitting the limit of ext3. I presume the original ...
0
votes
0answers
54 views

Debian mail server's Maildir folder with too many files causing disk I/O to go on high load

I have a Debian mail server running Postfix, Courier and Maildir, with disks on EXT3 filesystem. I have noticed that when I use my webmail application (Squirrelmail, in this case). It gets some kind ...
18
votes
8answers
16k 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 ...
0
votes
0answers
35 views

mke2fs.ext3 stripe-width option missing

I'm trying to set up an ext3 filesystem on a RAID 6 array (with 6 disks) on XenServer 6.2 linux. All the help I can find tells me to use the -E stride=xx,stripe-width=xx options. However my version ...
12
votes
8answers
47k views

How do you re-mount an ext3 fs readwrite after it gets mounted readonly from a disk error?

Its a relatively common problem when something goes wrong in a SAN for ext3 to detect the disk write errors and remount the filesystem read-only. Thats all well and good, only when the SAN is fixed ...
1
vote
1answer
77 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 ...
0
votes
2answers
794 views

Message: mkdir() [function.mkdir]: Too many links

We run a web application as a production. Some days ago I discovered the error signed in subject of this theme. I know what's the problem, but want to ask, what is right way for resolve this? Yes, we ...
1
vote
1answer
47 views

ext3 mount options differ from linux kernel doc

I'm playing in my server lab with ext3 filesystem mount options, looking the kernel doc https://www.kernel.org/doc/Documentation/filesystems/ext3.txt I'm using redhat 5.8, if try to mount the fs ...
0
votes
1answer
389 views

Mount .vhd stored on ext3-NAS in Windows 7 without copying to NTFS Disk. Is this possible?

i have an vhd-Image stored on a NAS. I can't directly mount it, because the NAS stores the file in an ext3-system (i read this is causing trouble). I can't copy the file to a NTFS disc, because it's ...
-1
votes
3answers
149 views

What happens if fsck.ext4 -y is run on a ext3 fs and how to I recover from it

I had a mountable fs (pretty sure it was ext3), fsck.ext4 was run with -y and ended in a segmentation fault. Now it is unmountable (dmesg says it's corrupt) and identifies as a ext4 fs via the "blkid" ...
6
votes
5answers
1k views

How do I get transparent, efficient, file system snapshotting or versioning on ext3/4?

I've long thought about versioning file systems. This is a killer feature and I've looked at Wayback, ext3cow, zfs, fuse solutions, or just cvs/svn/git overlays. I consider ext3cow the model for my ...
3
votes
1answer
88 views

could fsck -Af -M cause corrupt filesystem?

Last night my server encounter "Read-only file system" error. So then I ran "fsck -Af -M" to trying to repair but no use, these are output: fsck 1.39 (29-May-2006) e2fsck 1.39 (29-May-2006) /: ...
3
votes
3answers
796 views

How to recover this Linux partition?

I have this netbook, where the partition table looks like this ~$ fdisk netbook.dd Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite) Command (m for help): p Disk ...
11
votes
1answer
2k views

CentOS thinks Disk is busy, can't mount or fsck

I'm a longtime user, and first time question submitter. I've spent a full day searching this and many other sites for a solution, but I must resort to requesting assistance to resolve my situation. ...
0
votes
2answers
72 views

Program complains not enough disk space even if the disk space exists

I have an EXT3 partition mounted in ordered data mode. If a power failure occurs when a program is creating files on that partition, I see that space usage reported is normal and I don't see any ...
0
votes
1answer
83 views

force fsck to fail on boot

I am working on a embedded debian linux device. Owing to the power being pulled at any time resulting in a sudden power loss, we have set FSCKFIX from "no" to "yes" in the /etc/default/rcS file. ...
23
votes
12answers
3k views

Storing and backing up 10 million files on Linux

I run a website where about 10 million files (book covers) are stored in 3 levels of subdirectories, ranging [0-f]: 0/0/0/ 0/0/1/ ... f/f/f/ This leads to around 2400 files per directory, which is ...
5
votes
2answers
771 views

Apache's htcacheclean doesn't scale: How to tame a huge Apache disk_cache?

We have an Apache setup with a huge disk_cache (>500.000 entries, >50 GB disk space used). The cache grows by 16 GB every day. My problem is that the cache seems to be growing nearly as fast as it's ...
1
vote
1answer
80 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 ...
4
votes
1answer
259 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 ...
1
vote
5answers
4k views

How to run fsck on startup after a crash without the root password?

when the Red Hat 5.x workstation of a user crashes and leaves its filesystems with errors, on the next boot, it ask for the root password to enter single mode and run fsck manually. This is annoying ...
0
votes
0answers
87 views

File corruption on Centos 6.4 KVM VM, ext3 ephemeral drive, not on xfs - why?

First off, let me say I am a software guy, not an admin, so please forgive me if I get terminology wrong. I'm writing software that runs on a Centos 6.4 VM on Openstack Grizzly, running KVM. It has a ...
-2
votes
1answer
84 views

Liferay cluster with SAN storage with ext3 [duplicate]

I'm deploying an liferay portal in a cluster which has 2 node load balanced, and config both to access to the same data location in a SAN storage devide. The problem is each node can not see the other ...
1
vote
3answers
18k views

mount: cannot remount block device /dev/sda5 read-write, is write-protected

So, this is it. Everything is working as usual except the disk is read only and dont want to change back. ^_^! thanks. root@NODE02:/tmp# df . Filesystem 1K-blocks Used Available Use% ...
-5
votes
2answers
336 views

How to convert lvm to ext3/4? [closed]

I have an old box(CentOS 5) that was formatted as lvm but now I want to convert it to ext3/4 file system without losing data. I have some empty disks that can be used, so is there an easy way to do ...
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 ...
4
votes
2answers
940 views

Major issues with fsck of 10TB ext3 RAID 6 (memory allocation failed, etc.)

I recently added a 7th 2TB drive to a linux md software RAID 6 setup. After md finished reshaping the array from 6 to 7 drives (from 8 to 10TB), I was still able to mount the file system without ...
0
votes
1answer
180 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 ...
-1
votes
2answers
152 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!
-1
votes
1answer
281 views

Impossible to read / delete some files

How can I fix a message like this (read after a dmesg command)? EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197 EXT4-fs error (device hdb1): ext4_free_inode: bit already ...
5
votes
3answers
694 views

User reduced LVM logical volume without resizing filesystem

I received an email yesterday that one of our users was trying to make room for a heartbeat/clustering package which requires its own partition to act as a voting disk. To do this, he attempted to ...
3
votes
1answer
60 views

Multiple segmentation faults on Linux host

I have an old Slackware 9.0 mail server on a VM at Linode.com. It has around 130GB of mail hosted on it, in Maildir format on partitioned, separate Ext3 filesystems (largest one is 92GB). I'm in the ...
0
votes
1answer
68 views

Migration from ext3 to Mogilefs

I have gigs of images on ext3 file system and I want to move them to Mogilefs on a live running site. In your opinion what would be the best approach?
0
votes
1answer
64 views

Where do ext3 inode / meta-data reside?

Just a quick question about ext3: Are inodes stored in the same area as file data, or are there separate regions on the disk reserved exclusively for meta-data and others reserved exclusively for ...
2
votes
1answer
203 views

ext4: Online resize not detected

On a RedHat 6 server, we ran into an issue with online resizing of an ext4 filesystem. With only /dev/sda we had 13GB available in the volume group, but needed 20GB more on one logical volume which ...
0
votes
2answers
202 views

How to repair a disk on Ubuntu when fsck fails?

I was able to start a broken raid 1 system with one available and one broken disk by issuing the following command. mdadm --assemble --force /dev/md9 /dev/sda1 /dev/sda2 I was able to copy the ...
6
votes
2answers
12k 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 ...
0
votes
2answers
1k views

can i say “NO” to “Clone multiply-claimed blocks” in fsck?

I need to know if i can still mount the volume when i tell fsck "no" in that question. i dont need to repair all the files in the volume, i just need recover one single file for this event. the ...
3
votes
1answer
262 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: ...
1
vote
2answers
146 views

ext3 converted to ext4 still being mounted as ext3

I have a somewhat bizzare problem at the moment with my Debian-system (mainly testing). I used to have a root-partition on lvm that was formatted as ext3. I now booted a live-system and converted ...
0
votes
1answer
85 views

simple Linux alternative to Windows extpart to extend basic system disk without downtime?

On Windows there is Dell's extpart which allows one to extend a basic system disk (NTFS) of a running system without downtime. It looks like this: C:\>extpart.exe ExtPart - Utility to extend ...
1
vote
1answer
418 views

Hard disk error

There seems to be something wrong with my hard drive, but I'm not sure what, or how to proceed. The first sign of any problems was this: I tried making a new directory on my server, but when I did ...