The ext4 or fourth extended filesystem is a journaling file system for linux/*nix developed as the successor to ext3.

learn more… | top users | synonyms

0
votes
0answers
178 views

reallocate pending sector smartctl

smartctl is reporting smartctl_exit_status 64 after there was a current_pending_sector, so i think the data isn't still reallocated and i have to do it myself? munin graph can be found here munin ...
1
vote
1answer
211 views

TRIM persistence across reboots

Let's say we have an ext4 filesystem image we dumped onto an SSD (with dd). After a few mounts we learn that we should use the discard flag to emit TRIM commands to the drive. As it is unclear ...
2
votes
1answer
90 views

Why would disk reads be heavier than writes with a simple java app that creates many small files?

I've got a very simple java 7 app that reads from a proprietary file format (Hadoop sequencefile) sitting on disk xvdb and creates millions of 2-20kb files on disk xvdf. ByteBuffer byteBuffer = ...
1
vote
2answers
81 views

Strange behavior with `find -delete`

I'm using Ubuntu 12.04 with 2 x 2TB SATA3 harddisks in software RAID1. The filesystem is ext4 with data=writeback. When using find . -maxdepth 1 -name '*' -delete to delete a large number of files in ...
-2
votes
1answer
400 views

Disable ext4 journaling for website? [closed]

/var/www/website contains the files that powers a website, and /var/www/media contains many tiny media files like images in subdirectories named after their date of creation. Deleting/pruning an ...
2
votes
1answer
434 views

CentOS OpenVZ kernel panic when mounting ext4 truecrypt volume in nokernelcrypto mode

I am experiencing kernel panic when trying to mount a ext4 filesystem which itself resides on a truecrypt volume mounted using -m nokernelcrypto option. The system is CentOS 6.3, OpenVZ Kernel ...
3
votes
3answers
112 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 ...
3
votes
4answers
483 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 ...
2
votes
1answer
3k views

How can i fix it: EXT4-fs warning (device sda3): ext4_dx_add_entry: Directory index full

I have noticed that in dmesg and syslog i have something like that: EXT4-fs warning (device sda3): ext4_dx_add_entry: Directory index full! I have checked df -i too: Filesystem Inodes ...
1
vote
1answer
117 views

Recover Crypt password on Partition - RHEL 6

I'm new around here and I'm not sure if this is the right place to post. I was recently asked to bring in a used server from another site of ours. On booting, I found that it has been encrypted using ...
0
votes
1answer
374 views

How i can restrict certain file extension upload via ssh?

How can I restrict certain file extensions and file upload size via SSH? I am using Ubuntu 12.10 default installation and Open-ssh server.
3
votes
2answers
7k views

How to hot backup/snapshot an ext4 partition (in the absence of LVM)?

I'm currently tasked with bringing up a existing server to (at least more) professional standards - with as little disruption as possible to end-users. To have a proper rollback, I need to backup the ...
1
vote
2answers
527 views

Filesystem recommendation for 5 TB file storage

I have a locally attached 5 TB RAID6 system (IBM DS3512). It will be used as a storage for large data files that are written in sequential writes, and then read back for processing. Eventually the ...
2
votes
1answer
3k views

Kernel Errors Present: EXT4-fs

Logwatch is giving me the following error: WARNING: Kernel Errors Present EXT4-fs (sda1): error count: 4 ...: 1 Time(s) EXT4-fs (sda1): initial error at 1350482172: e ...: 1 Time(s) EXT4-fs ...
0
votes
1answer
280 views

~18m files total files EXT4 poor performance, any advice?

So on my linux server which runs Ubuntu 12.04, I have a folder in there that has ~3000 folders and within those folders they contain about 3000 text files each. In total, this takes roughly 80 GB. ...
0
votes
0answers
74 views

List unsynced blocks/files?

Is it possible to somehow list changed blocks or file system buffers that have not been written to the disk yet? How?
2
votes
2answers
105 views

fstab filesystem editing

UUID=f5be9b96-da41-49fd-a8e2-dbbf37f5cd7d / ext4 defaults,usrquota 1 1 UUID=31a1c8d1-18ee-4c97-a0b9-b92599247112 /boot ext4 defaults 1 2 ...
0
votes
2answers
163 views

is running rsync after filesystem crash enough?

On my Debian Squeeze server, a filesystem crashed badly. I ran fsck.ext4 on it and it corrected many things. Now everything seems to be fine. Additionally, ran an rsync from a recent backup to the ...
2
votes
1answer
233 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 ...
2
votes
1answer
197 views

Ext2: e2fsck what do the “errors” mean? [closed]

So, my hard drive was acting all slow, and after checking through my syslog, I found all these errors. Some googling led me to try to run e2fsck -c -c on the drive. So, it's been going for about 2 ...
2
votes
1answer
193 views

recreating ext4 journal: reboot required?

Most docs on disabling/creating the ext4 journal for root involve a reboot. If we: turn off the journal via tune2fs fsck the filesystem turn the journal back on via tune2fs fsck the filesystem then ...
4
votes
1answer
932 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 ...
0
votes
3answers
221 views

mysql crashs. bad hard drive or hardware

ive seen highloads and mysql crash 2 times in 1 week now. could this be the cause any idea? Jan 3 09:49:19 HOST kernel: [2272100.568769] res 51/40:38:78:7f:f1/40:00:35:00:00/e0 Emask ...
1
vote
0answers
269 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 ...
7
votes
2answers
3k views

How to get checksum data integrity on ext4?

On file systems like btrfs you can preform a scrub, which will go though all the data to see if the data still matches the file system checksum. I would like to check the data on ext4 if it is ...
1
vote
3answers
1k views

Ext4 kernel panic

I'm getting such kernel panics: EXT4-fs error (device md2): ext4_ext_find_extent: bad header/extent in inode #97911179: invalid magic - magic 5f69, entries 28769, max 26988(0), depth 24939(0) ...
0
votes
1answer
234 views

How to log kernel panics without KVM

My server is crashing and I can't find an answer why. It all started after my datacenter upgrade RAM from 16 GB to 32 GB. I also found such logs in dmesg - they've started to show itself just before ...
-1
votes
1answer
141 views

Cloning my hard drive as a backup [closed]

At the moment, I have an Ubuntu 11.04 installation on a single 500GB hard drive in my laptop. The hard drive is partitioned into four parts: 500MB for the boot information, 2GB for the swap ...
-2
votes
2answers
303 views

fsck an active disk provides different results than fsck on an unmounted disk

I have a VM running ubuntu LTS with an ext4 filesystem. We had performance problems that were related to IO tasks. I checked the filesystem with fsck.ext4 -nv /dev/sda1 e2fsck 1.41.11 ...
1
vote
1answer
204 views

Rescue ISO with e4fsck

I've got an Oracle Enterprise Linux system, on which I want to convert an ext3 to ext4 partition. This is also the root partition - and I can't unmount it and run e4fsck in the same session. Is there ...
1
vote
2answers
185 views

where on disk is space allocated for new files inside LVM lv with ext4 file system?

I run a multi-disk server with LVM2. Several large disks serve as LVM2 physical volumes for one volume group, containing one logical volume formatted with ext4. Nothing fancy, just your standard ...
1
vote
3answers
368 views

Rebooting a linux server correctly to avoid fsck

Is there a correct way to reboot a server to avoid FSCK and just avoid getting FSCK in general? I have been using the reboot command to reboot servers.
0
votes
1answer
3k views

EXT4-fs error (device loop0): ext4_lookup: deleted inode referenced:

EXT4-fs error (device loop0): ext4_lookup: deleted inode referenced: Is this a serious issue? Just noticed it after doing a 15GB CPanel Account Restore.
5
votes
2answers
2k views

e2fsck extremely slow, although enough memory exists

I've got this external USB-Disk: kaefert@blechmobil:~$ lsusb -s 2:3 Bus 002 Device 003: ID 0bc2:3320 Seagate RSS LLC As can be seen in this dmesg output, there is some problem that prevents that ...
8
votes
1answer
665 views

How do you create large, growable, shared filesystems on Linux at AWS?

What are acceptable/reasonable/best ways to provide large, growable, shared storage at AWS, exposed as a single filesystem? We're currently making 1TB EBS volumes ~biweekly and NFS exporting with ...
1
vote
1answer
2k views

Can I lvreduce after lvextend without losing the ext4 partition inside it?

In a botched attempt to move my root partition from one disk to another I have done the following: added new disk partitioned it with parted (part #3 is now almost totally filling the disk) ...
5
votes
2answers
1k views

Disk (EXT4) suddenly empty without any sign of why

I have a Ubuntu 10.04 server with several disks in it. The disks are setup with a union filesystem, which presents them all as one logical /home. A few days ago, one of the disks appears to have ...
0
votes
2answers
2k views

ext4: error loading journal [closed]

I have an external hard drive with two partitions: A small FAT32 which is mostly empty and works fine and a large ext4 with tons of data, most of which isn't backed up. The ext4 is visible, but can't ...
1
vote
1answer
102 views

File system prefer to write low LBA first?

Maybe the title is confusing, but let me explain a little... Our mysql servers (on xen virtual machine) sometimes generate huge tmp files on disk. So we need a big tmpdir to store them. And we decide ...
1
vote
2answers
259 views

Optimal directory structure for keeping millions of files on an ext4 system

I need to keep millions of files on an ext4 system. I understand that having a structure with multiple subdirectories is the general accepted solution. I wonder what would be the optimal approach in ...
1
vote
1answer
1k 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 ...
1
vote
2answers
2k views

Resize2fs at 81h and counting

Setup: 12x 1TB drives in a RAID6 (MDADM) crypt-setup running ontop of MDADM LVM running on the crypted drives EXT4 on the LVM Background: I added a new drive to the RAID (increasing from 11 to 12 ...
17
votes
6answers
3k views

Which filesystem for large LVM of disks (8 TB)?

I have a Linux server with many 2 TB disks, all currently in a LVM resulting in about 10 TB of space. I use all this space on an ext4 partition, and currently have about 8,8 TB of data. Problem is, I ...
0
votes
1answer
398 views

running mke2fs with limited memory

I'm working on a computer with very little memory (128MB) - for my application I need to format large drives (4TB) I'm able to format greater than 2TB disks, up to about 2.5TB, but beyond that I'm ...
1
vote
2answers
1k views

Testdisk won’t list files for an ext4 partition inside a LVM inside a LUKS partition

I have accidentally deleted a file that I want to recover. The partition is an ext4 partition inside an LVM partition that is encrypted with dm-crypt/LUKS. The encrypted LUKS partition is: /dev/sda2 ...
0
votes
1answer
179 views

rsnapshot ext4 to ext2 input output error

When making a rsnapshot backup from a ext4 to a ext2 filesystem, about 90% of the files cannot be opened and produce Input/Output errors. When the target is ext4 too, it works flawless. Any ideas ...
3
votes
4answers
901 views

How can I reduce inode utilization on an ext4 filesystem?

Summary of My Need We put a large amount of files on a filesystem for analysis at a later time. We can't control how many files we're going to have, and this one box needs access to all of them. ...
2
votes
1answer
5k views

Recommended filesystem for MySQL (xfs vs ext4)

Setting up a MySQL 5.5 server, and wondering what the recommended filesystem is? ext4 or xfs? Running InnoDB and 40% writes 60% reads. Thanks.
27
votes
1answer
2k views

Why does deleting a big file take longer?

My understanding is that running rm on a file simply unlinks it, marking the space as free in the filesystem. It should then follow that deleting one file always takes roughly the same amount of time ...
0
votes
1answer
247 views

file read performance degrades as number of files increases

We're observing poor file read IO results that we'd like to better understand. We can use fio to write 100 files with a sustained aggregate throughput of ~700MB/s. When we switch the test to read ...