Questions tagged [ext3]

ext3 is the default file system for many Linux distributions.

Filter by
Sorted by
Tagged with
18 votes
2 answers
5k views

From bad sector to "damaged file" - did it for Linux/ext3, can I do it for Windows/NTFS?

When a SMART check on a disk reports a bad sector, it is important to be able to identify the file that has the bad sector - and restore it from backups. Below, I show how I did this for my Linux/ext3 ...
3 votes
3 answers
9k 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 ...
68 votes
9 answers
130k 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?
3 votes
2 answers
244 views

Accidentally overwrote first 400MB of hard drive with ext3 partition - possible to rescue?

Accidentally wrote /dev/zero to the first 371MB of a 500GB disk. Is it possible to rebuild the partition table and/or recover what data hasn't been overwritten?
0 votes
2 answers
55 views

Huge /var/log directory inode in ext3 after creating and removing many files

I have Debian Jessie, /var/log on root partition of type ext3 (rw,relatime,data=ordered). Four days ago logrotate dumped tens of thousands files, this was fixed and files deleted. After this: # du -...
9 votes
2 answers
1k views

Can Btrfs use SSD for metadata and leave bulk data on HDD?

is it possible for Btrfs to use SSD for metadata only & leave bulk data on less costly storage such as HDD? I refered to this page Using_Btrfs_with_Multiple_Devices and can not find a solution. ...
1 vote
4 answers
6k views

ext3: permissions of the mountpoint change when I mount

I need ordinary users to be able to mount /dev/loop0p1 and /dev/loop0p2 on my machine. /dev/loop0p1 is always going to be a FAT32 partition and loop0p2 - a ext3. To that end, I have: 1) created ...
2 votes
1 answer
1k 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:sec,...
179 votes
18 answers
286k 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 ...
123 votes
24 answers
68k 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 ...
32 votes
12 answers
56k 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 ...
19 votes
4 answers
28k views

Rsync -avzHP follows hardlinks instead of copying them as hardlinks

I use rsnapshot to create hourly/daily/weekly/monthly backups of my "work"-share. Now I'm trying to copy the whole backup-directory onto an external drive using rsync. I used this command/parameters ...
19 votes
3 answers
39k 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 ...
0 votes
2 answers
5k 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 ...
14 votes
3 answers
21k 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 ...
0 votes
4 answers
2k views

What is the purpose of having a "/" and a "/home" partition in linux?

I'm doing a clean install of CentOS 8 minimal, and by default it suggests these paritions: swap swap 4G /boot ext3 512M / ext4 2014G /home ext4 all (this is with a pair of 4TB NVMe drives in ...
2 votes
3 answers
13k views

How to get DRBD to automatically start after reboot, mount volume, start service, and configure primary/secondary

I have a great working version of DRBD across two Debian Stretch servers which I created by following this awesome guide: https://www.howtoforge.com/setting-up-network-raid1-with-drbd-on-debian-...
28 votes
5 answers
59k 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. ...
4 votes
3 answers
2k 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,...
7 votes
3 answers
981 views

Filesystem performance tuning options for ext3

I have a brand new server w/48G RAM which I am going to use as a DB server. I don't expect problems with disk reads, but I definitely would like to optimize for write intensive load patterns. The ...
13 votes
4 answers
134k views

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

Everything is working as usual except the disk is read-only and don't want to change back. thanks. root@NODE02:/tmp# df . Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda5 ...
1 vote
1 answer
1k views

EXT3-FS: error (loop0) ext3_lookup unlinking inode

Running CentOS 5.6 with mdadm RAID1, 2TB, 3 partitions (boot, swap and root). I had a kernel panic in the server, and after rebooting, the system stays up for about 5-10 minutes, the it starts ...
26 votes
12 answers
8k 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 ...
1 vote
2 answers
1k views

How do I improve my incremental-backup performance?

I'm currently using the traditional rsync+cp -al method to create incremental/snapshot backups of our server tree. The backups are going onto a pair of eight-disk towers connected to the backup ...
7 votes
2 answers
3k 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 ...
20 votes
3 answers
58k 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 /...
2 votes
1 answer
1k views

RedHat server not booting: "The superblock could not be read"

After restarting a RedHat server, it fails to boot into the operating system. It says "an error occurred during the file system check". After doing a fsck, it says The superblock could not ...
1 vote
0 answers
404 views

How to copy a file using using raw disk blocks?

The underlying raw disk blocks that a file uses can be seen with command filefrag. And in the example below I could use dd to copy all 11 chunks and cat them together to construct an exact copy of ...
1 vote
1 answer
1k views

Can we add more volumes/disks to an existing mounted ext3/ext4 mountpoint?

Have a quick question on adding space via a new disk/block device to a non-root/ext3 mount-point that has data and is mounted. I Have an ext3 mountpoint '/u01', which has a device '/dev/sdb' attached....
16 votes
5 answers
40k views

How do I list a file's data blocks on Linux?

As I understand it, each file on a Unix-like operating system has an inode number (which can be viewed with "ls -i"), and each inode is a list of disk blocks that contain the actual data of a file. ...
-1 votes
1 answer
2k views

tune2fs says "clean with errors". What next?

tune2fs says "clean with errors". What next? We rebooted the server, but this did not help. What is not the next most feasible step? This is a production system. I would like to avoid down-times. ...
1 vote
4 answers
6k views

How many subdirectories does the XFS filesystem support within a given directory?

EXT3 supports 32,000 subdirectories. EXT4 supports 64,000... I've read about people having millions of subdirectories on the XFS filesystem, but can't find an exact value referenced anywhere. How ...
4 votes
3 answers
6k 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 ...
9 votes
3 answers
1k views

DL380 G5, RAID5, ext3, RAID Failed

We have an old HP DL380G5 server, with 5 300GB SCSI 3.5'' disks in a RAID5 array, in an external bay, formatted as a logical volume with ext3 filesystem, that hosts 1.2 TB of sensitive clinical ...
56 votes
4 answers
81k 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 ...
4 votes
3 answers
12k 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?
0 votes
0 answers
35 views

Behaviour of ext3 filesystem when it hits %100

We had an unexpected increase on one of our mount points (~40GB) on a old RHEL 4 server (2.6.9-89.0.2 x86_64 kernel). It hit %100 usage ( Size and Used both said 37G, Avail said 0) as per df -h. I ...
15 votes
6 answers
32k views

What are the differences between ext3, ext4 , ReiserFS?

And why should I pick one instead of the other?
2 votes
6 answers
14k 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 ...
2 votes
1 answer
3k 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
1 answer
314 views

Prevent corruption on ext3 Linux Vms running on Xenserver after Equallogic hung for 45 minutes

I face a problem today with my Storage Equallogic PS4000E, they get stucked for 45 minutes then goes up and running normally, no logs, no nothing to help us discover what happens. Well, I run a ...
-2 votes
1 answer
255 views

my ext3 to ext4 dont work

my tools on centos 5.11 kernel - 3.2.69 util-linux-ng-2.17 ( mount 2.17 ) e2fsprogs-1.41.14 grub-1.97 this tool and kernel are all working my steps boot on recovery change the fstab (/dev/...
0 votes
2 answers
448 views

read-only symlinks replaced with file when edited

I'm about to make a copy of a website (templates) Would it be possible to make symlinks, so changes in the original is reflected in the copy, but if I edit the copy, the symlink is replaced with the ...
3 votes
1 answer
1k views

EXT4 filesystem corruption

I have a CentOS 6x server and running a Java application on it, the application is using a mount point /javapp which is an EXT4 filesystem. suddenly I got the following error in the system logs: ...
2 votes
2 answers
1k views

sharing an ext3/ext4 partition on external drive

is there a way of sharing an ext3/ext4 formatted partition on an external USB drive between different users (uids) on different Linux machines without creating a group for this purpose, setting the ...
0 votes
0 answers
599 views

Having trouble mounting an mdadm array. Corrupted Filesytem?

I have a server that crashed and won't power on. I don't care about the server, but I'd like to recover the data attached to 2 external usb drives that were mirrored (raid 1) using mdadm. This system ...
18 votes
7 answers
78k 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 ...
2 votes
2 answers
3k views

How to copy directories using debugfs? [duplicate]

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 ...
4 votes
1 answer
1k views

ext2 or ext3 without journaling

I've recently came across several servers with different "strategies" for their /boot partition (btw, always as /dev/sda1, 512M) Some servers use ext2 for /boot, some use ext3 for /boot, and for the ...
9 votes
5 answers
42k views

kernel: journal commit I/O error

I am having some problems with a Dell 1950 server. I am installing RHEL 4.6 along with Oracle and some other software on here. I am randomly getting an error message saying "kernel: journal commit I/...

1
2 3 4 5 6