ext3 is the default file system for many Linux distributions.

learn more… | top users | synonyms

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: ...
1
vote
2answers
371 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 ...
1
vote
1answer
146 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
1k 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 so,...
2
votes
1answer
417 views

Replacement raid1 drive is one block smaller. What to do?

Apparently once should always leave a bit of empty space at the end of each raid1 partition. But if we're too late for that, what can be done if a replacement RAID1 drive is slightly smaller than the ...
1
vote
1answer
463 views

EXT3 with no (write) cache

I want to mount an ext3 filesystem with no caching at all, most importantly no write caches since I want everything to be flushed to disk right away. Can anyone share the needed flags for such a ...
1
vote
0answers
290 views

deleting files only frees space partially (ext3 / ext4)

I just did something similar to this: $ du -sh /bigdata/stuff 1022G /bigdata/stuff $ df -h /bigdata Fileystem Size Used Avail Used% mounted on /dev/sda5 1,8T 1,7T 140G 93% /bigdata $ rm -...
1
vote
1answer
64 views

Moved data from an ext4 volume to an ext3 volume and it is consuming more space, why?

Just need a simple answer, did some searching and couldn't find it. What is the metadata overhead with ext3 as compared to ext4? I migrated a number of volumes from a SAN that was using ext4 volumes ...
4
votes
3answers
23k views

How to recover data from a corrupted ext3 partition?

A server of mine had a drive failure of some sort which caused the OS (CentOS 5) to crash and stop working (it refuses to boot). So we put another drive with a working OS and from there we try to ...
11
votes
2answers
14k views

Should we mount with data=writeback and barrier=0 on ext3?

We've been running a server on a VM at a hosting company, and have just signed up for a dedicated host (AMD Opteron 3250, 4 cores, 8GB RAM, 2 x 1TB in software RAID, ext3). While running performance ...
3
votes
3answers
114 views

How do you *tag* a partition as ext4?

I have an ext3 partition so when I do this: mount /dev/blah /mnt/blah it is mounted automatically as ext3. I can get it to mount as ext4 by running mount -t ext4 /dev/blah /mnt/blah and it works....
3
votes
4answers
630 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 ...
3
votes
2answers
311 views

Failed volumes on RAID - how to handle?

I've got a situation on a RAID that I've taken over responsibility for recently and really could use some advice. I hope I haven't mucked it up to much. A couple server on the ad-hoc cluster I'm ...
1
vote
1answer
440 views

Why is kjournald extremely active on a mostly quiescent filesystem?

Note: This is a "documenting my process" question that I'll be writing an answer to. Happily, serverfault already helped me solve this, because writing up my situation so others would be able to ...
2
votes
1answer
283 views

SLES 11 recommended filesystem

We are upgrading some servers from SLES 10 to SLES 11 and I just saw that ext4 is not supported. Should I move to XFS or keep ext3? I will be moving the programs and databases to a new VM so ...
1
vote
1answer
340 views

Recover ext3 files from hard disk with bad sector

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 this folder. Maybe it is on the folder's pointer. The partition ...
0
votes
1answer
300 views

Debian - move partitions to a new drive

I have a XenServer6 VM with Debian Squeeze 64bit and only 1 partition /dev/xvda1 95 GB + linux partitions: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 95G 63G ...
4
votes
1answer
1k views

rsync copies unmodified files between different file systems

I try to synchronize files between two machines using rsync, but it seems to copy all the files regardless file modification time. Two consecutive call of the command produces the same results, so it ...
1
vote
0answers
309 views

LVM failure recovery

We have an server PC with "intel matrix storage manager" raid (or maybe 'fake' raid) controller. Firstly there were one RAID-1 with two equal seagate disks of 1TB size. We've installed ubuntu server ...
-2
votes
2answers
1k views

Copy past speed very slow for a large number of files on Windows

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 ...
9
votes
2answers
2k views

Is post-sudden-power-loss filesystem corruption on an SSD drive's ext3 partition “expected behavior”?

My company makes an embedded Debian Linux device that boots from an ext3 partition on an internal SSD drive. Because the device is an embedded "black box", it is usually shut down the rude way, by ...
3
votes
3answers
177 views

one 16K random read I/O issues 2 scsi I/O (16K and 4K) requests in linux

I noticed weird issue when benchmarking random read I/O for files in linux (2.6.18). The Benchmarking program is my own program and it simply keeps reading 16KB of a file from a random offset. I ...
0
votes
1answer
142 views

Why would an ext3 filsystem be rolled back on a Debian VM running in VirtualBox after loss of power to the host

A Debian Virtual machine runs as a Guest VirtualBox VM. It's filesystem is EXT3. The host system loses power and after booting up the host system and guest VM, I find that the VM's filesystem has been ...
-1
votes
3answers
95 views

Will the data be deleted when resizing a partition [closed]

I'm planning to resize one of the server partition from 40GB to 1900GB. The current partition has files on it while the space to be added is unallocated. Will my existing files be deleted? Any help ...
4
votes
2answers
2k views

How can I track down the cause of ext3 filesystem corruption?

We have a VMware vSphere 5 environment running CentOS 5.8 virtual machines. In the past two weeks we have had five incidents of virtual machines having a filesytem become corrupt, requiring an fsck to ...
7
votes
3answers
656 views

DRBD configuration

I was going through the configuration of DRBD on two nodes. The DRBD has already configured, but I would like to enable the dual primary mode feature. On drbd site I have seen that it requires the ...
-2
votes
1answer
9k views

RHEL - blocked FC remote port time out: saving binding

My Server went into a faulty state since the database could not write on the partition. I found out that the partition went into Read Only mode. Finally to fix it, I had to do a hard reboot. Linux 2....
1
vote
3answers
497 views

Compact Flash mounted Read Only

I have a board, running linux (RedHat, kernel: 2.4.32). The board has been up and running since long time. However suddenly, some errors are being observed in the logs, and the Compact Flash (present ...
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/...
1
vote
1answer
2k views

Solaris support for ext4/ext3/btrfs

Does anyone know if Solaris 11 (Sparc version) supports mounting ext3/ext4 or even better Btrfs volumes ? Most of the topics I find on the web are quite outdated (2006/2007) and reference old ...
4
votes
1answer
2k views

Mounted filesystem / changed to read-only

This is how / should be mounted mount /dev/md0 on / type ext3 (rw,errors=remount-ro) but in fact, it is mounted read-only because of unknown reason so far for me. cat /proc/mounts /dev/md0 / ext3 ...
1
vote
1answer
287 views

LVM striping bottleneck

So, I have a server with a 3.5TB mysql database with innodb file for each table. It has 24 2.5" 10K HDs in 4 disk RAID 10 groups attached as 1TB datastores via vmware ESXi. All 6 are LVM striped into ...
1
vote
4answers
968 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
2answers
625 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 ...
0
votes
2answers
1k 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 ...
3
votes
4answers
197 views

Data consistency with RAID 5 and BBWC

I have a few questions about RAID 5, BBWC (Battery Backed Write Cache), filesystem (ext3) and optionally mysql. I have a hypothesis and I ask Server Fault community to validate or not this one: The ...
4
votes
1answer
1k views

Online resize of large ext3 file system - is performance affected?

I am planning for a resize of a rather large file system hosting an Oracle instance (one of several on the same server). The disk is 4 TB striped over several LUNs, I'm increasing by 1 TB keeping the ...
3
votes
2answers
9k views

Does CentOS 5.x support ext4?

I believe the default OS file system in CentOS 5 is ext3. Is it possible to use ext4 on Centos 5.x, or only on 6.x? Can I upgrade an existing ext3 filesystem to ext4?
3
votes
2answers
884 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,...
5
votes
1answer
2k views

Why is ext3 so slow to delete large files?

I have a server, which makes an incremental backup of a system every night. Now on saturdays, there is a full backup. But after the full backup has finished, a script kicks in, that deletes the ...
3
votes
3answers
2k views

Journaled filesystems and power failure

I heard that even a journaled filesystems such as EXT3/EXT4 might corrupted during power failure, e.g. from wikipedia [1]: In the event of a system crash or power failure, such file systems are ...
5
votes
3answers
1k 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 ...
5
votes
1answer
629 views

What exactly does the automated ext3 root file system check?

Recently we encountered a problem (bad blocks) with an ext3 formatted compact flash card running an embedded Linux system. On startup, the root file system check was started, but it seemed to hang ...
2
votes
2answers
2k views

MySQL InnoDB ext3 block size

I'm looking for recommendations for ext3 filesystem block size for MySQL 5.6 using InnoDB. Running a CentOS 5.4 VM in VMware ESXi 5, VMFS 5 datastore on NetApp FibreChannel LUNs (which have 4k chunk ...
1
vote
2answers
606 views

File system for a lot of small files

I'm using NetApp device as a NAS storage. I have a lot of small files (30-60k) and dirs. For example I have: 30000 dirs with another 1000-2000 dirs. A lot of dirs are empty, but most of them have ...
2
votes
1answer
888 views

Debian package performance on XFS, btrfs, ext3, ext4

I did 4 clean installations of debian 6 and measured time of installing some average virtual package. FS options are default. time apt-get install build-essential I got very strange results (min:...
3
votes
1answer
991 views

Relatime vs noatime for flash drives

I am running a web server off of a SheevaPlug, and the OS and system are stored on an SD card with an ext3 file system. I know that atime is a major source of writes that wear out flash memory. ...
-2
votes
2answers
399 views

How can I “trick” an ext3 directory to store more than 32000 sub dirs

The easy answers are 1.) move to ext4 and/or 2.) "shard" the directory somehow - by placing them in sub folders either numbered or lettered. These changes won't be easy to make though so I'm looking ...
2
votes
2answers
154 views

Consolidate separate /var and swap drives back to / drive in CentOS

The genius that originally set up the web server at my company put the swap, /var, and / directories on different drive pairs. I need to some how consolidate all three into one drive for migration ...
2
votes
2answers
1k views

After using lvextend, I can't recover unused space

I needed to add more disk space to my CentOS VM, so I added another virtual disk, then used lvextend to add the space to the existing partition. The steps I followed was: echo "- - -" > /sys/...