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
18
votes
8 answers

Is btrfs production ready?

I've seen a lot of information on btrfs lately. I have been considering ext4 for my next filesystem, but am tempted by btrfs instead. How widely used is btrfs? What are the pro's and con's?
mdpc
  • 11,856
  • 28
  • 53
  • 67
17
votes
2 answers

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 was awry, /var/log/ already contained a few million…
Emma
  • 394
  • 3
  • 12
17
votes
2 answers

How to get checksum data integrity on ext4?

On file systems like btrfs you can preform a scrub, which will go though all the data to see if the data still matches the file system checksum. I would like to check the data on ext4 if it is correct before a backup. Question ext4 doesn't have file…
Sandra
  • 10,303
  • 38
  • 112
  • 165
16
votes
4 answers

max files per directory in ext4

I manage an application that contains a filestore in which all the files are stored with the filenames equal to their md5 sums. All files are stored in one directory. Currently there are thousands, but soon their should be millions of files on the…
Jeroen Ooms
  • 2,239
  • 8
  • 34
  • 51
16
votes
2 answers

Production-ready, highly reliable filesystems on Linux: ext4 ext3 XFS or JFS (or ZFS)?

The last real question I've seen on this topic is from about two years ago (is ext4 ready for production usage). In the intervening time, how has ext4 improved? XFS, JFS, and ext3 are the standby reliable choices. I've only used ext4 on recent…
warren
  • 18,369
  • 23
  • 84
  • 135
15
votes
6 answers

What are the differences between ext3, ext4 , ReiserFS?

And why should I pick one instead of the other?
Andrea Ambu
  • 480
  • 1
  • 8
  • 13
14
votes
1 answer

Whats "Birth" field in stat command output

I'm using Fedora-16 with ext4.Suddenly with stat command I can see something called "Birth". # stat history_file1.txt File: `history_file1.txt' Size: 8944 Blocks: 24 IO Block: 4096 regular file Device: 802h/2050d …
webminal.org
  • 273
  • 1
  • 5
  • 19
14
votes
6 answers

Is the F.U.D. about ext4 justified? Or would it be safe to use in some production systems?

I am wondering if ext4 is safe to use on my servers. But I've heard so much FUD about it that I am concerned. Our system could lose some data, and it would not be too big a deal. Even a full days worth of data would not ruffle too many feathers.…
Stu Thompson
  • 3,349
  • 7
  • 31
  • 47
14
votes
4 answers

Linux: Why change inode size?

Tune2fs allows to change inode size from default (128 bytes on ext3, 256 bytes on ext4) to almost anything, but it should be power of two. What are the reasons for changing default inode size? Here it's written that this can be done to be able to…
Vladislav Rastrusny
  • 2,671
  • 12
  • 42
  • 56
13
votes
4 answers

How to delete millions of files without disturbing the server

I'd like to delete an nginx cache directory, which I quickly purged by: mv cache cache.bak mkdir cache service nginx restart Now I have a cache.bak folder which has 2 million files. I'd like to delete it, without disturbing the server. A simple rm…
hyperknot
  • 701
  • 2
  • 9
  • 16
13
votes
2 answers

Performance impact of running different filesystems on a single Linux server

The book "HBase: The definitive guide" states that Installing different filesystems on a single server is not recommended. This can have adverse effects on performance as the kernel may have to split buffer caches to support the different…
Alex
  • 7,939
  • 6
  • 38
  • 52
13
votes
5 answers

Which "features" of ext4 existing ext4 partition uses?

When I create ext4 filesystem, there are many "features", which I can enable and disable - like has_journal, extent, huge_file and so on. Is there any way to know, which options were used while creating ext4 filesystem (after it been created, I…
Alexey Chernikov
  • 315
  • 1
  • 4
  • 7
12
votes
2 answers

Ext4 usage and performance

I've got a cluster of machines running Carbon and Graphite that I need to scale for more storage, but I'm not sure if I need to scale up or out. The cluster is currently comprised of: 1 Relay Node: Receives all metrics and forwards to the relevant…
Sammitch
  • 2,111
  • 1
  • 21
  • 35
11
votes
6 answers

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 disk). But I can not do this, because the Ubuntu…
AmShegar
  • 259
  • 1
  • 2
  • 9
11
votes
1 answer

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 upgrading to 3T drives by doing the mdadm fail,…
Regan
  • 1,011
  • 1
  • 7
  • 15
1
2
3
31 32