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

2
votes
1answer
26 views

How to add partition table to existing EXT4 filesystem

I have software RAID6 on 8x3TB disks (18TB), there is filesystem od device /dev/md1, but EXT4 can`t be bigger than 16TB so there is 2TB of free space. I would like to use this space. My first idea was ...
0
votes
0answers
49 views

I accidentally formatted the wrong volume - is it possible to restore the previous Ext4 filesystem? [migrated]

I know that a similar question has already been asked. This morning I accidentally formatted the wrong volume, containing mostly video files (about 30GB each). I am currently trying to restore the ...
0
votes
1answer
26 views

Best parameters for ext4 filesystem for storing virtualbox disk images

I have partition, which I'm going to use for keeping VirtualBox disk images (VDI, or may be VMDK). They are fixed-size (not dynamically-allocated) images. There are no other files/directories on ...
0
votes
0answers
13 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 ...
1
vote
1answer
66 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 ...
0
votes
1answer
16 views

/proc/self/mountinfo per-mount-options vs per-super-options

I am trying to check for the current status of a mounted partition, rw/ro. On Cent6 /proc/self/mountinfo has some interesting info. One of the items contained in the output for each mount point is ...
0
votes
0answers
97 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 ...
2
votes
0answers
55 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 ...
0
votes
1answer
41 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
60 views

ext4 production ready on kernel 2.6.32 (debian6)?

I've to maintain a production system on debian6 (kernel version 2.6.32). I'd like to use ext4 on a ssd disk (and generally hope to improve performance upgrading from ext3). I can't find any reference ...
-1
votes
3answers
130 views

What happens if fsck.ext4 -y is run on a ext3 fs and how to I recover from it

I had a mountable fs (pretty sure it was ext3), fsck.ext4 was run with -y and ended in a segmentation fault. Now it is unmountable (dmesg says it's corrupt) and identifies as a ext4 fs via the "blkid" ...
1
vote
1answer
210 views

Qnap TS-410 deleted folder by accident anyway to recover data (raid 5 / ext4)?

I am not in a very good situation at the moment, and bit stressed! I have a Qnap nas (TS-410), this operates on a Marvell 6281 800MHz CPU, while I SSH'ed into the Nas box, I deleted the wrong folder ...
1
vote
0answers
160 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 ...
3
votes
1answer
79 views

Kickstart partitioning with ext4 in autopart mode?

When installing CentOS 6.x, how to specify the filesystem type with ext4 and also use the autopart directive in kickstart file? The default filesystem type with autopart directive used is ext3, which ...
0
votes
1answer
141 views

Unable to repair ext4 filesystem, getting errors(

I just tried to boot from live CD and checked my file system using fsck,fsck.ext4, no errors was reported/fixed (i.e. says file system is clean), yet when I'm inside of system it tells me something ...
0
votes
2answers
101 views

FS for many small files, mostly reads?

I need a direction since all the blogs/benchs seems to contradict. Goal: Having a lot of small files on FS in a directory tree fashion similar to this AB/CD/EF... Two size groups : G1 : 10-20 kB G2 ...
0
votes
1answer
88 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 ...
2
votes
4answers
75 views

Partition required for ext4 filesystem?

I read on the arch wiki that it is not recommended to partition a disk before creating the ZFS filesystem on it. I searched but did not find any such statement about ext4. So my question is: can I put ...
1
vote
3answers
256 views

How can I compact the VHD file with Ubuntu?

I use windows server 2008r2 with role Hyper-V. The guest system is Ubuntu 12.04 LTC. It is situated on the dynamic virtual hard disk. I want to compact this VHD (The real size is 50 GB, 360 GB on the ...
0
votes
0answers
24 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
1answer
55 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 ...
9
votes
1answer
1k views

How can I recover an ext4 filesystem corrupted after a fsck?

I have an ext4 filesystem on luks over software raid5. The filesystem was operating "just fine" for several years when I was beginning to run out of space. I had a 9T volume on 6x2T drives. I began ...
1
vote
0answers
22 views

Restored VG has shifted volumes

I'm recovering a PV on a mdadm RAID 1 with a single VG containing several LVs. The underlying devices have several bad sectors (one just a few, the other really much) and a silly typo made it ...
0
votes
0answers
225 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 ...
1
vote
1answer
98 views

Linux: File is not shown in ls but cannot be touched with message “File exists”

I can remember creating this file but it disapeard. But not completely: root@XXX:/etc/vz/conf# ls -al total 0 drwxr-x--- 2 root www-data 0 Okt 1 16:04 . drwxr-x--- 2 root www-data 0 Okt 1 16:04 .. ...
0
votes
0answers
76 views

How to calculate available space using tune2fs

I know that I can get the available space in a partition with df, for example: S.ficheros 1K-blocks Usados Disponibles Uso% Montado en /dev/mapper/vg_sebelk-otherdistro ...
11
votes
1answer
276 views

ext4 listing of files very slow in one specific directory that contained lots of files before

Background I had a small logrotate misshap... Logrotate would rotate the archived logs by misstake causing a quadratic growth of files in my /var/log/. And by the time I caught wind that something ...
0
votes
1answer
213 views

An LVM snapshot of an ext4 fs does not seem very clean

I create an LVM snapshot of a mounted ext4 fs: lvcreate -L 10GiB -s -n "root-snapshot" "/dev/myvgname/root" If I then run e2fsck on /dev/myvgname/root-snapshot, it says: e2fsck 1.42.5 ...
-1
votes
1answer
105 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: ...
-5
votes
2answers
295 views

How to convert lvm to ext3/4? [closed]

I have an old box(CentOS 5) that was formatted as lvm but now I want to convert it to ext3/4 file system without losing data. I have some empty disks that can be used, so is there an easy way to do ...
0
votes
0answers
27 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
1answer
139 views

Zero byte files after power failure - ext4 centos 6.4 [closed]

Files written within a minute of a power failure are zero bytes when the system comes back. Testing for a system that we can not guarantee will have ups backup. Centos 6.4 kernel ...
1
vote
1answer
2k 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
55 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
259 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
29 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
504 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
144 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 ...
0
votes
0answers
109 views

EXT4-fs error after mounting an OS and changing files

I mounted a VPS guest OS and changed a file. Then I umounted it and started the guest OS. But I got error messages during booting: EXT4-fs error (device vda1): mb_free_blocks: double-free of inode 0's ...
3
votes
1answer
116 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
92 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
130 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
68 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
170 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
47 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
133 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 ...
0
votes
4answers
6k 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
174 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
349 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
56 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% ...