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

6
votes
1answer
864 views

Failing to mount root from ramdisk while PXE boot

I have a working TFTP/DHCP PXE boot environment where I've already booted some images successful. Now I built an CentOS 6.5 diskless image and this one is failing booting with the following error: No ...
4
votes
1answer
579 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 ...
2
votes
1answer
723 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" > /proc/sysrq-...
1
vote
1answer
28 views

How to mark a linux volume as a blank/empty (before deleting partition table)

I have a bunch of disks where the partition tables are very similar (nearly identical) I need to 'erase' these disks, such that when a new partition table is created any volumes that existed prior to ...
1
vote
1answer
107 views

Fsck finds errors in OS, but not using LiveCD

Running fsck on a booted machine yields errors on the root file system. In an attempt to fix this, I booted from a LiveCD - but fsck on the LiveCD instance doesn't find any errors at all. I also tried ...
1
vote
1answer
163 views

Create KVM storage pool using a ext4 formatted drive

I have a secondary hdd that I would like to use as a storage pool for my KVM host. Here is the xml file I use to create the storage pool, <pool type='disk'> <name>guest_images_disk<...
1
vote
1answer
201 views

impossible creating a ext4 fs with block size of 1024

Im triying to build up a new server for a service that saves the data on very small files of max 1 kb on the fs. The problem its, now we are using a block size of 4 kb and we are wasting a lot of ...
1
vote
1answer
342 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
1answer
127 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: ...
1
vote
1answer
416 views

Linux Container conversion to Vagrant and back

The situation is the following: we have an lxc (linux-container), which contains a Debian Squeeze distribution, built up with a preseed file. We wanted to add some extra packages (packages for the OMF ...
1
vote
1answer
694 views

Iozone record sizes and real-life purpose

I am puzzled about Iozone record sizes. My questions are: how to find out what record size my application uses?; what is the correlation between Iozone record size and the filesystem Block Size?; ...
1
vote
1answer
520 views

Does anybody have experience with Dump(8) and the ext4 fs

I have done some research online and some people claim dump/restore have good ext4 support and others claim the system is broken and restores come back corrupt. My question is, do they work well ...
1
vote
1answer
813 views

Why does this loopback device creation malfunction?

The stackoverflow people thought this was more appropriate here, I put it there as it is part of a program but I can see their POV, so here it is: At the bottom of the code you can see it failing. In ...
0
votes
1answer
34 views

Need to recover a file using extundelete. Is there any risk about running it without unmounting, aside from that the partition might keep writing?

I need to recover a few files from a Linux machine. These files are important, but not enough to warrant dismounting the partition. Is there any risk from running on a mounted partition, except from ...
0
votes
1answer
1k views

Warning :mounting fs with errors, running e2fsck is recommended

Linux server will hang and when I restart it will take around 2 hours to come up and resume normal operations. I checked the system log files and found mounting fs with errors, running e2fsck is ...
0
votes
1answer
351 views

How do I allow users to add/modify files in a directory but not change the directory - Linux

How can I modify a directory so that it is owned by a group and users in that group can add and delete files and create sub directories but are unable to change the permissions on the parent directory?...
0
votes
1answer
159 views

Why is file rewrite slower?

on Linux, using various benchmark tools (bonnie++, iozone, etc) on ext4 (but i guess it's the same on other FS), rewrite is always slower than write to new files. For example, using bonnie++, with ...
0
votes
1answer
672 views

remount / move root folder to another partition on centos

We have an EC2/CentOS6 instance with "/" mounted to an EXT4 partition, and now another bigger sized hard disk formatted in XFS attached to the system. Since the former partition for "/" is ...
0
votes
1answer
90 views

How can I deal with a directory on an ext4 volume that has so many files ls won't work?

I setup a motion detection software on linux and in the process created a directory with so many jpg files in it that running "ls mydirectory" just hangs. How can I split the content into several ...
0
votes
1answer
158 views

Problems with degraded RAID arrays

My Ubuntu backup server was recently upgraded in storage space to a RAID 10 array... now it consists of 8T of raw drive space which was before 2T of space. But I have been having trouble when it ...
0
votes
1answer
830 views

Mounting ext4 in CentOS5.6 on EC2

I've been unable to successfully mount an ext4 formatted drive to any of my EC2 instances. All are running CentOS 5.6 (32 and 64-bit mix) all successfully yum upgraded from one of public RightScale ...
0
votes
1answer
197 views

[Fedora 14][LVM2&EXT4] Overwritten partition config

Accidentally, I deleted my '/etc' & '/bin' folder (I know, my fault). Then, I boot liveCD and tried to copy or fix this issue. And then when I can't figure nothing to fix it, I don't know why, I ...
0
votes
1answer
299 views

Mac Fonts stored on Ext (Linux File System)

I currently have a PowerPC g5 running Mac OSx. I've network shared one of the external hard drives (which is mac formatted, hfs+ journalled i believe). I'm now upgrading this to an ubuntu computer, ...
-1
votes
1answer
225 views

Samba4 provides high I/O load

I use sernet-samba package (version 4.0.9-6) on Debian 7. Samba configured as additional AD controller. Samba process infinitely writes something to disk and makes high I/O load: Total DISK READ: ...
-1
votes
1answer
760 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 ...
-2
votes
1answer
99 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/...
4
votes
0answers
509 views

Cannot set ACL on ACL-enabled EXT4 partition

I am trying to enable xattrs and acls on a Debian machine. I've (re)mounted the partition in question with user_xattr and acl. (/dev/md3 is the partition in question) root@fs01:/# mount | grep /dev/...
3
votes
0answers
50 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. ...
2
votes
0answers
1k views

ext4 root filesystem corruption under XenServer 6.2 DomU

We're with a problem with filesystem corruption in guest machines in a XenServer 6.2 It only happens in Linux Machines. Randomly the filesystem remounts as read-only and them corruption starts on the ...
1
vote
0answers
94 views

Why is nfs server not seeing resized filesystem size?

On the NFS server, when I extend the the logical volume (using lvm2) and subsequently the ext4 fs on top of it (using resize2fs), I'm able to see the new size locally with df. But the NFS clients ...
1
vote
0answers
138 views

Trouble creating ext4 filesystem when trying to mount EBS volume on AWS instance

I'm trying to mount an EBS volume on my AWS instance. Following Amazon's instructions, I get the following error when running sudo mkfs -t ext4 /dev/xvdf: Allocating group tables: done ...
1
vote
0answers
107 views

Alternative to ReiserFS for storing many small files in one block?

I know that ReiserFS is able to store multiple small files in a single block, and at one time was recommended for use with s3backer because of that feature, as fewer blocks to store on S3 mean lower ...
1
vote
0answers
3k views

recover a damaged partition table with ext4 fs

I have an external 2TB HD, that should have only one ext4 partition but the partition table is damaged and I'd love to rebuild/restore the partition. Things ain't that easy so here's the longer ...
1
vote
0answers
989 views

SMB Share (samba) Centos 6 Mounted hard drive Permission Denied

I have set up a SMB share on Centos for all users. This share is available and working correctly. Guide followed -> CentOS 6.4 Samba Standalone Server With tdbsam Backend Procedure: For diagnostic ...
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
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 ...
1
vote
0answers
1k views

ext4 loopback device, Buffer I/O Error on reboot

I am trying to mount a loopback device on my ext4 formatted ssd drive. I get these errors when I reboot on Linux kernel 2.6.38.8 Buffer I/O error on device loop1, logical block 0 Here is what I do: ...
1
vote
0answers
654 views

Heavy disk write on a Debian VPS gives “ata1: lost interrupt (Status 0x50)”

I have a new Debian VPS that appears to fail almost every time I run a heavy disk write test on ext4 filesystem. The filesystem goes to read-only mode and "ata1: lost interrupt (Status 0x50)" is ...
1
vote
0answers
463 views

e2fsck miserably aborts: memory allocation failed on 64 bit OS and scratch directory

After an unsuccessful Virtualbox VDI drive resize following the instructions here, the primary ext4 partition became of unknown type. I fixed this with testdisk and then boot-repair, which made it be ...
0
votes
0answers
20 views

Debian: USB HD Random Disconnect

I've a debian box (Sheevaplug) everything seems to be ok, however I've an external hard drive attached to the USB port and sometimes the drive seems to disconnect itself randomly... and connect, I get ...
0
votes
0answers
37 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 ...
0
votes
0answers
37 views

Can't mount SATA drives when moved from USB enclosure to internal

I have had 4 external drives connected over USB to my Dell Precision 490 workstation. They are in /etc/fstab by uuid and formated as UUID. UUID=04c37bff-b93e-440e-acd0-3d984ddb2ec3 /mnt/drive0 ext4 ...
0
votes
0answers
31 views

Is ext4's feature of “reserved blocks” broken?

I could not find more information and reading the code makes me think I'm running into a compatibility issues. Here's the story: This is in a virtualized multi-tenant environment. We've been trying ...
0
votes
0answers
51 views

change file system from ext3 to ext4 effict on MySQL

I have a situation where MySQL was installed in Linux with a ext3 file system. One table (InnoDB) reached the maximum size allowed for ext3 (2 TB) , insert statement gave "The table 'foo' is full". I ...
0
votes
0answers
82 views

Correct permission strategy for Samba DC shares using ACL

I have Samba running as a DC at home. I'm in the process of migrating shares to using ACL's etc instead of the "basic" way of samba to handle permissions etc. On top of this I plan to run Greyhole ...
0
votes
0answers
46 views

using testdisk to restore old superblock, cryptowall3.0 restoration

I have a drive that was infected with cryptowall3.0 Documentation states that the file is deleted and then from memory a new file is encrypted and that memory file is rename. Hypothetically restoring ...
0
votes
0answers
115 views

AWS volume from snapshot missing data

This is a weird one. On a new ec2 instance + new data volume attached at /dev/xvdb mounted with: mkfs -t ext4 /dev/xvdb mkdir /mnt/xvdb mount -t ext4 /dev/xvdb /mnt/xvdb I take a snapshot of /dev/...
0
votes
0answers
132 views

Resizing a software RAID remotely, no LVM, / partition

I have a server that has a software RAID without LVM. That is only mdadm. There are the partitions /dev/sda2 and /dev/sdb2 which form /dev/md2. There is also a lot of space after both /dev/sda2 and /...
0
votes
0answers
150 views

Linux filesystem ext4 fragmentation

I have a question about the filesystem ext4 and disk fragmentation: Does ext4 place files in the same directory near or next to each other on the disk? And if so how is it fragmented, for example is ...
0
votes
0answers
351 views

Replacing files with symlinks takes more space - Fedora19 EXT4

Background: We are using PHP CacheLite. In order to have a human readable path to cache files cache_{hash}_{hash}, there is a symbolic link that is more descriptive of the cache contents. We ...