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

1
vote
1answer
221 views

Online resize of ext2 - Bug?

An ext2 filesystem can be resized - as long as the underlying block device can be resized - but not ONLINE. However, as another posting of mine has showed, if the ext2 filesystem is mounted as ext4 ...
0
votes
1answer
77 views

RAID5 Bad Superblock, not booting to OS

I've been running Ubuntu 12.04 LTS for about 6 months on a computer that has 3 180gb SSDs in EXT4 RAID5 configured through the motherboard's BIOS. The OS froze and computer had to be forced down. On ...
2
votes
1answer
212 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
1answer
48 views

Obtaining ext4 metadata

Is there any way of obtaining the following metadata on an ext4 filesystem? latest modified files files modified during a certain period largest file files within a size range
1
vote
1answer
138 views

Which directory hierarchy will be the best/fastest?

I have a pretty big directory with many cache files which I want to reorganise for max performance (access times). 2x 2TB SATA III drives, software RAID 1 (mirroring) OS: Ubuntu 12.04 LTS ...
2
votes
4answers
10k views

How to extend an ext4 partition and filesystem?

I have a 400GB disk with a 320GB ext4 partition. I would like to grow the ext4 partition to use the left space (80GB of free space). +--------------------------------+--------+ | ext4 ...
0
votes
2answers
220 views

ext4 on faulty disks. How to avoid remount read-only?

The Problem: I'm in charge for a Hadoop cluster of 44 nodes. We have 1.5TB WD Green Drives with (quite unknown) the Load Cycle Count problem. These disks work fine but as they get older they show an ...
1
vote
2answers
403 views

Are ext4 RAID5 tuning options useful under LVM?

I'm setting up a system with a system with a mdadm RAID5 which is the sole PV for a VG which hosts 4 LVs. When I make the filesystem, would the mkfs.ext4 -E option be useful? Or is its effect not ...
1
vote
1answer
78 views

Inodes after extending filesystem

If I make a ext4 filesystem and add about 20% of extra inodes, how would this effect the inode count if later I extend the filesystem? Would the extended filesystem also automatically add an extra 20% ...
0
votes
1answer
444 views

Storing many small files with xattr in XFS and ext4

I have many small files (20 millions) with xattr on XFS drives. The average size of files is around 20KB and the average size of xattr is about 512 bytes. Because I would like to move them to ext4, I ...
2
votes
1answer
313 views

linux loopback remount-ro, ext4_da_writepages: jbd2_start: 8192 pages, ino 130135; err -30

I have a loopback device formatted with ext4 (^has_journal, disabled journalling). During shutdown, when I try to force remount as read-only, the loopback mounted filesystem. echo "u" > ...
1
vote
2answers
151 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
149 views

100% SSD usage Linux

Every 20-30 seconds my HDD usage goes to 100% (iostat). iotop is showing that [flush-8:0] is using 99% HDD during these times. In between HDD usage is 1-10%. iostat output: 04/22/2013 08:58:44 AM ...
1
vote
0answers
151 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
46 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 ...
1
vote
1answer
99 views

Setup 1x RAID5 array with multiple LVs and differnt filesystems?

Centos 5.9 - 2.6.18-348.3.1.el5 i686 Raid5 - 4 Disks + 1 Spare (all WD RED 3TB) Does it make sence to create multiple LV within the same VP and configure them as differnt filesystems: Example: LV1: ...
0
votes
1answer
913 views

No posix acl in debian Wheezy with ext4

I was running a new script and encountered the following error: Your filesystem or build does not support posix ACLs So I thought no problem, just add acl,user_xattr to my fstab. It now looks ...
8
votes
1answer
476 views

EXT4 performance has become really bad on system with lots of small files

I have a small embedded device that has only 128MB of RAM attached to this device is a 2TB USB2 hard disk I've been very happy with the performance of the device up until recently when either the ...
1
vote
2answers
517 views

Recovering a file with bad blocks in the middle

A large file on our ext4 file system may have picked up a bad block in the middle. Copying the file to another drive results in an input/output error part way through. Data beyond the bad sectors ...
0
votes
0answers
114 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
153 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
77 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
73 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
335 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
346 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
100 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
314 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 ...
1
vote
1answer
1k 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
98 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
194 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.
2
votes
2answers
4k 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 ...
0
votes
2answers
363 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 ...
1
vote
1answer
1k 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
231 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
57 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
95 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
138 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
171 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
150 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
130 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
471 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
125 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
212 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 ...
5
votes
1answer
2k 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
768 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
184 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
119 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 ...
-3
votes
2answers
207 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
145 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
156 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 ...