Sample Header Ad - 728x90

How can I disable ext4's automatic defragmentation?

0 votes
1 answer
776 views
I'm running tests that require some files to be heavily fragmented. I came up with a method to generate fragmented files, but something is working in the background to defragment them. I'm using hdparm --fibmap and I see it start out with thousands of fragments, then a lot of disk IO later, I see it have under a hundred fragments. Is it possible to disable this?
Asked by Daffy (465 rep)
Jan 24, 2020, 09:58 AM
Last activity: Jan 25, 2020, 04:22 AM