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

5
votes
1answer
7k views

Is it possible to on-line shrink a EXT4 volume with LVM?

Today I tried this on my machine with OpenSUSE 12.3 (kernel 3.7): # resize2fs /dev/mapper/system-srv 2G resize2fs 1.42.6 (21-Sep-2012) Filesystem at /dev/mapper/system-srv is mounted on /srv; on-line ...
2
votes
1answer
91 views

Re-creating a filesystem on runtime (need more inodes)

I have a machine at a datacenter with 3HDDs and running Debian Wheezy, at one of them I have an ext4 filesystem mounted on /data that has ran out of inodes (I've chosen an inappropriate inode size at ...
-1
votes
1answer
375 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 ...
0
votes
1answer
36 views

Multiple VMs mounting and writing on the same partition

I have multiple VMs ( XEN domains ) which are getting data and writing it on a directory in a ext4 partition. Is this going to introduce data loss or corruption?
-1
votes
2answers
1k views

How to convert an HFS+ drive to EXT4 while retaining data? [closed]

Is there any direct way to convert an HFS+ drive to EXT4 and if so how? Was thinking maybe gParted? If not, I'll just copy contents off, reformat, copy back on. Just trying to avoid moving 2TB of ...
0
votes
1answer
173 views

Extending ext4 partition on debian7.0 on vsphere

I have allocated thin provisioning of 15GB when i found 8GB as insufficient. Now debian guest is not able to recognize the change of size. root@debian7-x64:~# lvdisplay --- Logical volume --- LV ...
4
votes
1answer
224 views

Ext4 cache options on a virtual machine

I'm trying to speed up a standup of virtual machines used for development / automated test environments and wanted to verify some assumptions about disk writes caching. I'm using ext4 for the root ...
3
votes
1answer
128 views

ext2 to ext4: Convert/upgrade or create new

We have a filesystem, on LVM, created as ext2 - and in daily use running 8-10 webservers (software, tempfiles, logfiles). The discs are "local" to the OS, but are really SAN disks provided to the ...
1
vote
1answer
405 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
90 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
291 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
50 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
140 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 ...
3
votes
5answers
22k 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
343 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
554 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
130 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
580 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
427 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
215 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
163 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
187 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
54 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
109 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
2answers
1k 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
681 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
903 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
143 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
180 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
85 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
76 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
361 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
400 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
107 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
410 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
2k 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
109 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
245 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
5k 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
425 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
2k 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
259 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
66 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
100 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
150 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
200 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
169 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
161 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
687 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
157 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 ...