Questions tagged [ext4]

The ext4 or fourth extended filesystem is a journaling file system for linux/*nix developed as the successor to ext3.

469 questions
6
votes
3 answers

Disabling ext4 write barriers when using an external journal

I'm currently experimenting with different ways of improving write speeds to a fairly large, rotating disk-based, software-raid (mdadm) array on Debian using fast NVMe devices. I found that using a pair of such devices (raid1, mirrored) to store the…
jcharaoui
  • 322
  • 2
  • 12
6
votes
4 answers

Linux KVM Client filesystem (BTRFS?)

in our company we have a lot of kvm clients on multiple server, most of the clients are running ubuntu 16.04 as well as their host systems. The filesystem of choice became EXT4, for clients and hosts. Recently I used some of the awesome snapshot…
chrstnwhlrt
  • 325
  • 6
  • 15
6
votes
1 answer

unmounted logical volume is "busy"?

I'm trying to shrink an ext4 filesystem on a CentOS 6 server. I did a lazy unmount of the filesystem while I waited for some processes to finish running. They've all finished running but I can't seem to do anything with the filesystem. How can I…
Jayen
  • 1,857
  • 4
  • 16
  • 28
6
votes
1 answer

Getting Error: "No space left on device" for a particular filename

I have a ext4 volume with lot of files inside a particular directory. Whenever I am trying to create a file inside it of a particular name, I am getting "No space left on device" error. $ touch…
pradeepchhetri
  • 2,698
  • 6
  • 37
  • 47
6
votes
4 answers

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 questions: Can I put a ext4 filesystem on a disk for storage (not a…
user300811
  • 183
  • 2
  • 10
6
votes
1 answer

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 filesystem in the VM and I don't really care about…
viraptor
  • 1,296
  • 6
  • 21
  • 41
6
votes
4 answers

Centos 6.3 install reiserFS support

I'm trying to change an existing ext4 partition to reiserFS in Centos 6.3 64bit. I've updated the kernel to Centos Plus: First, I've updated /etc/yum.repos.d/CentOS-Base.repo: In the [centosplus] section: enabled=1 includepkgs=kernel* Then I ran…
Alon Adler
  • 213
  • 2
  • 10
6
votes
2 answers

Resize2fs at 81h and counting

Setup: 12x 1TB drives in a RAID6 (MDADM) crypt-setup running ontop of MDADM LVM running on the crypted drives EXT4 on the LVM Background: I added a new drive to the RAID (increasing from 11 to 12 drives), and 'bubbled' up through the layers (MDADM,…
Adam
  • 63
  • 1
  • 3
6
votes
2 answers

How to find biggest (in entries, not size) ext4 directory?

Ubuntu 10.04.3 LTS x86_64, I am seeing the following in /var/log/messages: EXT4-fs warning (device sda3): ext4_dx_add_entry: Directory index full! Relevant info from dumpe2fs: Filesystem features: has_journal ext_attr resize_inode dir_index…
S19N
  • 1,803
  • 1
  • 19
  • 28
6
votes
2 answers

Best options to create and mount an ext4 volume containing > 10M files in one directory

What are the appropriate options to mkfs and mount for an ext4 filesystem with a folder containing >10 million files for read access? What I have so far: umount /media/dirsizetest mkfs.ext4 -L DIRSIZETEST -E lazy_itable_init=1 -E lazy_journal_init=1…
ligos
  • 181
  • 1
  • 1
  • 5
6
votes
6 answers

EXT4 "No space left on device (28)" incorrect

I have been through the other questions/answers regarding inode usage, mounting issues and others but none of those questions seem to apply... df -h /dev/sdd1 931G 100G 785G 12% /media/teradisk df -ih /dev/sdd1 59M 12M 47M 21%…
Aiden Bell
  • 609
  • 1
  • 6
  • 15
6
votes
4 answers

How do I find a file on Linux in an ext4 filesystem that's being written to frequently?

I've got a Ubuntu system which is writing a block to disk every 1-2 seconds. Some kind of log accruing an error. How do I find which file it is? I've been poring over lsof output and tailing suspects with no luck. Is there a way to find it, really…
qbxk
6
votes
2 answers

Ext4 superblock corrupted after successful(?) mdadm grow and resize2fs

Some system details AMD Phenom II X6 1090T, 16GB DDR3 1600 running 11.04 natty, 2.6.38-8-server Raid in question consists of 5 SATA drives; 4 Samsung, 1 Western Digital; 500 GB each Drives are connected to a LSI SAS 9201-16i Host Bus Adapter…
6
votes
3 answers

Best way to 'harden' embedded ext4 file server against unexpected loss of power?

First, a little background: my company makes an audio streaming device that is a headless, rack-mounted Linux box with a Solid State e-SATA drive attached. The drive is formatted with ext4. The users can connect to the system using Samba/CIFS to…
Jeremy Friesner
  • 1,323
  • 1
  • 14
  • 25
5
votes
2 answers

Ubuntu on Hyper-V and VHDX

I have a setup where I will run a Ubuntu Server on two VHDX disks. System 50GB and Data 4TB. They are located on a mirrored Storage Spaces Pool and are dynamic expanded. During the Ubuntu installation the system disk got created on first VHDX as a…
Sam
  • 370
  • 1
  • 4
  • 18