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
2answers
359 views

Relabeling of filesystems (SELinux) fails

After compiling the policy modules and re-compiling my core packages (Gentoo 32bit) I wanted to relabel the filesystems (via rlpkg -a -r) and packages but I get these error messages: Relabeling ...
4
votes
1answer
198 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
380 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
1answer
39 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
159 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
102 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
503 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
465 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
619 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
75 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 ...
0
votes
1answer
68 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
333 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
62 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
223 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.
0
votes
1answer
307 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 ...
0
votes
1answer
150 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
632 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
193 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
257 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
134 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
324 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 ...
-3
votes
1answer
594 views

12.04 ext4 - cannot create regular file/No space left - with a lot of space and inodes

This seems similar: EXT4 "No space left on device (28)" incorrect but there is no explanation I created an ext4 filesystem on a RAID 1 array with: mke2fs -t ext4 -T small /dev/md0 ...
3
votes
0answers
95 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 ...
3
votes
0answers
283 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 ...
1
vote
0answers
758 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
497 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
464 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
169 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
224 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
707 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
482 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
362 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
33 views

Slow ext4 read performance on 24-drive hardware RAID6

I have a RAID6 configuration spanned over 24 drives (12x directly attached to the RAID card, 12x via external SAS) running on an ARECA ARC-1880IX-12 (fw V1.51 2012-07-04). The RAID makes up one single ...
0
votes
0answers
21 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
57 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
67 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 ...
0
votes
0answers
78 views

how to fix a PV in LVM without uuid in a new linux?

I have a server which its first hdd was broken , the server has 2 HDD , the first hdd crashed . datacenter replaced it for me with a new hdd. the second hdd used to have 2 PV on 2 partitions , and ...
0
votes
0answers
35 views

Decrease block size of ext4 on lvm

is it possible to ecrease block size from 4096 to 2048 of an ext4 on lvm partition without loosing data? Thanks for Help Heiko
0
votes
0answers
457 views

Direct I/O on Linux

I'm trying to enable Direct I/O on /opt (/dev/sda6, ext4) on Linux Mint 13. What I'm trying is: mount -o dio,rw /dev/sda6 /opt as root. The system responds with: mount: wrong fs type, bad ...
0
votes
0answers
28 views

Can quotas be turned on automatically when file system is mounted?

I was not clear on this point-- I have quotas enabled in /etc/fstab for several file systems on a file server. However, I have noticed that if I unmount the file system and then remount it (ext4), ...
0
votes
0answers
132 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 ...
0
votes
0answers
62 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?