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

0
votes
1answer
26 views

How can I grow an ext4 filesystem inside a dm-crypt/LVM volume?

I have a disk with this format: sdc 8:32 0 1,8T 0 disk └─sdc1 8:33 0 1,8T 0 part ├─vg-lv1 (dm-0) 254:0 0 900G 0 lvm ...
3
votes
0answers
22 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 ...
0
votes
1answer
910 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 ...
-1
votes
0answers
11 views

How to decrease size of an mdraid root partition without OOB access?

I was given a server that has a root partition over the whole mdraid (ext4) and no LVM underneath. Runs CentOS 6. I have no OOB access to the server. How do i go about decreasing the size of the ...
2
votes
3answers
6k views

changing filesystem format from xfs to ext4 without losing data

I have a fresh Lucid Lynx (Ubuntu 10.04) running on a laptop. where I defined the filesystems as: mount point / on ext4 (46 Gb) mount point /home on jfs (63 GB) swap as 3 Gb I left the machine ...
1
vote
1answer
46 views

Remount root RW without reboot

Today I did something stupid on production xen vm server. I mounted the external device mapper as read only to make a copy of the filesystem. This process went well but then the rootfs / become ...
0
votes
0answers
36 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 ...
8
votes
3answers
3k views

Causes of sudden massive filesystem damage? (“root inode is not a directory”) [closed]

I have a laptop running Maverick (very happily until yesterday), with a Patriot Torx SSD; LUKS encryption of the whole partition; one lvm physical volume on top of that; then home and root in ext4 ...
1
vote
0answers
32 views

Software-RAID with ext4 but without 64bit support

last year I set up a Software-RAID5 with 5x3TB yielding 12TB of usable capacity. Just today, needing more storage, I have finished growing the RAID to two more 3TB disks: Personalities : [linear] ...
0
votes
1answer
42 views

fsck ext4 inode error

Today while I was booting I got an error in an ext4 partition with some inodes. I just entered the root password and run fsck manually but I am a bit worried. fsck warned many times about some errors ...
1
vote
1answer
46 views

How do I replace the root filesystem (ext4) with a new one in LVM with one which has more inodes?

I have a few systems which have been running over a decade in a cluster on SLES 10 (now long past EOL). We're migrating to CentOS 6 64-bit. I got everything done but the final data syncs, and lo and ...
0
votes
1answer
32 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 ...
1
vote
1answer
178 views

Loss of data when trying to fix ext4 “group descriptors corrupted!”

When I try to mount an existing disk, I get the message sudo mount -t ext4 /dev/sdc1 /data mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, ...
-2
votes
3answers
55 views

Sharing disk space between two Ubuntu hosts [closed]

I have two Digital Ocean droplets (Ubuntu 14.04 LTS VPS instances): Alice: 40GB disk / 38GB used Bob: 20GB disk / 2GB used Alice’s storage needs will continue to grow slowly but steadily. Rather ...
0
votes
2answers
77 views

How to increase inodes? [duplicate]

How can I increase the maximum amount of inodes available on a dedicated server running CentOS 6.5 and ext4? The websites we are hosting create and use millions of small files. We are already hitting ...
0
votes
2answers
136 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
1answer
682 views

Ext4 self errors after some time on CentOS 5.8 64-bit

I get such warnings in dmesg: EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619328(bit 15808 in group EXT4-fs error (device md2): mb_free_blocks: double-free of inode ...
2
votes
1answer
46 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
56 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 ...
3
votes
4answers
312 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
264 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
59 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 ...
1
vote
0answers
370 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
169 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
2answers
219 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 ...
0
votes
1answer
56 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
3answers
3k views

Convert ext4 partition to NTFS

Is there a tool or command to achieve it? I did some search around here I didn’t find the answer. Is that possible? I must mention that my ext4 drive that I want to convert have data so it must just ...
0
votes
1answer
86 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
155 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
398 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
304 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
138 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
413 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
146 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
188 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
113 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
524 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
1answer
57 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 ...
2
votes
1answer
1k views

Where to get comprehensive list of tune2fs/tune4fs options per filesystem?

tune4fs can use many undocumented (I mean they are not yet in man tune4fs) options for ext4 filesystem. For example, huge_file, flex_bg, dir_nlink, extra_isize and some others. Is there a ...
0
votes
0answers
28 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
9
votes
1answer
2k 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 ...
0
votes
0answers
352 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 ...
23
votes
12answers
3k views

Storing and backing up 10 million files on Linux

I run a website where about 10 million files (book covers) are stored in 3 levels of subdirectories, ranging [0-f]: 0/0/0/ 0/0/1/ ... f/f/f/ This leads to around 2400 files per directory, which is ...
2
votes
1answer
137 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
131 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
346 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
343 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
119 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
vote
1answer
219 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 ...
5
votes
2answers
1k views

Disk (EXT4) suddenly empty without any sign of why

I have a Ubuntu 10.04 server with several disks in it. The disks are setup with a union filesystem, which presents them all as one logical /home. A few days ago, one of the disks appears to have ...