Questions tagged [defrag]

defragmentation is a process that reduces the amount of fragmentation

Filter by
Sorted by
Tagged with
126 votes
6 answers
226k views

How to defrag an ext4 filesystem

I don't want any answer saying that there's no need, please!
user avatar
115 votes
5 answers
78k views

Why is defragmentation unnecessary?

Why is defragmenting unnecessary in Ubuntu?
Zango's user avatar
  • 5,011
30 votes
8 answers
46k views

Defragging NTFS Partitions from Linux

Are there any tools that I can use to defrag my Windows partition from Linux?
Alex's user avatar
  • 446
25 votes
3 answers
9k views

How can I queue file operations?

When I pick and choose files to copy to or from a single device, Nautilus accumulates file operations in parallel: I worry that in certain circumstances this could cause fragmentation of the ...
ændrük's user avatar
  • 76.7k
18 votes
6 answers
41k views

Is there any disk defragmenting GUI like piriform's Defraggler for Linux?

I'm looking for a tool that can give me a visual representation of my ext4 fragmentation. Something similar to how Defraggler, Puran Defrag, and many others (UltraDefrag being the best) display your ...
Tcll's user avatar
  • 735
17 votes
1 answer
28k views

Is it safe to defrag ext4 file system using e4defrag?

My file system partition is 90GB, and now 75% of the space is free after removing 53GB of recovered files using photorec from my home directory. I just want to know, is it safe to defrag the whole ...
ktcool's user avatar
  • 306
11 votes
4 answers
13k views

How does ecryptfs impact harddisk performance?

I have my home directy encrypted with ecryptfs. Does ecryptfs lead to fragmentation? I have the feeling that reading files, displaying folders and login became continuously slower and slower (...
Freddi's user avatar
  • 111
11 votes
2 answers
9k views

Do I need to defrag EXT file systems? [duplicate]

Possible Duplicate: Why is defragmentation unnecessary? I've been told that EXT file systems don't need to be defreagged because of the way they handle writes. Is this true? Would I benefit from ...
Jeremy's user avatar
  • 2,846
11 votes
1 answer
8k views

Is e4defrag ready for use?

I want defragment my root ext4 partition after upgrade to 10.10. But I can't find e4defrag in standart repos. May I build it from source? And is it safe for use? UPD: Now in 12.04, we have e4defrag ...
Extender's user avatar
  • 2,358
9 votes
1 answer
37k views

How can I defrag an NTFS hard drive from Ubuntu? [duplicate]

I state I am asking if it is possible and HOW. I note many forum answers are 'you can't' or 'you don't need to on Linux cause it is perfect and wonderful' - none of these answers will help. Firstly, ...
mike's user avatar
  • 103
7 votes
2 answers
8k views

What software is available to de-fragment Ubuntu filesystems?

I would like to defragment Ubuntu; however, I cannot find software that I can download. What is available?
Ronald Coleman's user avatar
7 votes
1 answer
5k views

What's the command to defrag XFS?

I have a /home partition in a separate disk with XFS, how do I de-fragment it ? (on-line or off-line) I haven't tried anything yet and the / partition has BTRFS. Also how to schedule it would be nice....
userDepth's user avatar
  • 2,010
6 votes
1 answer
869 views

Can you still defrag Vista if you use Wubi?

Would like to defrag Vista seperately,understanding that Ubuntu does not need it. While Ubuntu files are included on the c drive will it cause problems?
user avatar
6 votes
0 answers
897 views

Can Ubuntu defragment NTFS or FAT drives? [duplicate]

Can I use Ubuntu to defrag a Windows NTFS/FAT drive or partition?
Levan's user avatar
  • 10.9k
5 votes
1 answer
5k views

How do I show the current amount of fragmentation on a btrfs filesystem

Wiki pages for btrfs and other how-tos talk about online defragmentation and other related topics but they don't say how to find out how fragmented a file system is. Is there a method to determine how ...
user89037's user avatar
5 votes
1 answer
2k views

How to make ext3 converted to ext4 support e4defrag?

I have two ext3 filesystems that are very old and have been 99% full for a long time, leading to fragmentation. Also, they've been used for running VMs with dynamic disk images and other fragmentation-...
otus's user avatar
  • 873
5 votes
1 answer
2k views

How does Ubuntu handle file-system fragmentation? [duplicate]

Possible Duplicate: Why is defragmentation unnecessary? This could be for any file system but EXT4 works. Does Ubuntu need to be defragged like windows. Does it do this on its own.
Seth Hikari's user avatar
4 votes
3 answers
3k views

Is it safe to Defrag Windows 8 while dual booting Ubuntu?

I have owned my laptop now for about 8 months a feel its slightly slowing a bit and I think it is time for a Defrag. Should I be worried about windows 8 effecting the Ubuntu partion part of my ...
user245869's user avatar
4 votes
0 answers
612 views

What's the most reliable stable way to defrag a fragmented Ext3 volume in 2017? Can e4defrag be used to defrag ext3? [closed]

Is there a ext3 defragmenter? There's plenty of threads on here about Defrag for Ext3 and Ext4 and largely it seems E4Defrag is the most reliable new way to defrag in Linux. But, there is no ...
Alex S's user avatar
  • 165
3 votes
3 answers
2k views

defragmentation of ext2

Is it worth it? there is e2defrag. How long will it takes for 120GB? 8h will be enough? I would like to improve read/write on the hard disc. hard disc seems to be new(9 months old). its in my work ...
UAdapter's user avatar
  • 17.6k
3 votes
1 answer
4k views

NTFS defrag tool for Ubuntu

I am searching for a NTFS defrag tool for Ubuntu and I came across this : Defragging NTFS Partitions from Linux. I want to know how to install UltraDefrag on Ubuntu 14.04.
Neil's user avatar
  • 4,475
3 votes
1 answer
8k views

How to analyze and defragment drive in ubuntu 16.04

I want to check whether my root drive requires a defragmentation. If requried I am planning to do this sudo e4defrag -c /dev/<my partition> I followed this method to analyze my disk. sudo touch ...
Eka's user avatar
  • 2,967
3 votes
1 answer
4k views

e4defrag - what does output mean?

e4defrag shows many lines like (filename) 100% [ OK ] or (filename) 0% [ NG ], and at finish shows success/failures. Does NG mean it was not moved, OK means it was defragmented? What are the ...
NoBugs's user avatar
  • 1,400
3 votes
1 answer
2k views

Is initrd.img (grub's "Loading initial ramdisk ...") slowing down my boot?

I'm on an SSD where file fragmentation shouldn't matter that much anyway but I noticed "loading initial ramdisk ..." message in grub is taking longer that I think it should. It lasts about 7 seconds ...
WinEunuuchs2Unix's user avatar
2 votes
3 answers
3k views

How can I completely defragment ext4 filesystem

I want all my files in an ext4 filesystem not fragmented because of reasons. Sadly e4defrag (advised here: How to defrag an ext4 filesystem) fails to defragment several files. What are my ...
abukaj's user avatar
  • 465
2 votes
3 answers
4k views

Defragmenting tools on Ubuntu for non EXT* formats

I have a flash drive that I use for general use around the house and at school. I use exclusively Ubuntu, but at school and on other family computers, they use Winblows. Therefore, my flash drive is ...
Ryan McClure's user avatar
  • 6,021
2 votes
2 answers
6k views

how do I make "/sys/kernel/mm/transparent_hugepage/defrag" never status to close the THP warning [duplicate]

reboot the linux (ubuntu 16.04 redis 4.011) /var/log/redis.log shows # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage ...
robspin's user avatar
  • 133
2 votes
3 answers
3k views

do I still have to defrag my NTFS drive

so I know that my primary ext SSD doesn't need to be defragmented, but I have a storage HDD that is formatted as NTFS. Does this drive still need to be defragged? If so, what programs would you ...
Alex shepard's user avatar
2 votes
0 answers
696 views

"sudo btrfs filesystem defragment -r /" can't defrag immutabe files, right?

Files made immutable by sudo chattr +i can't be defragmented by "sudo btrfs filesystem defragment". I get the message: "ERROR: defrag failed on /path/filename: Success total 1 failure" Is this a bug ...
v217's user avatar
  • 358
1 vote
1 answer
506 views

How to improve file access speed?

My computer is very slow when starting applications. You clearly hear how the hard disk seems to read files from all over the disk. A first idea would be to check for fragmentation (since the drive is ...
Freddi's user avatar
  • 11
1 vote
0 answers
61 views

How to defrag ext4 file system on Ubuntu 10.04? [duplicate]

I have an Ubuntu 10.04 Server with ext4 as file system. e2fsprogs is installed, but e4defrag is only packaged since Ubuntu 12.04. How do I defrag the file system or how can I install e4defrag? Maybe ...
splash's user avatar
  • 318
1 vote
1 answer
1k views

Is there a disk defragger for NTFS file systems? [duplicate]

Possible Duplicate: Defragging NTFS Partitions from Linux I have a couple NTSF disks I'd like to defrag without having to log into my Windows partition. Is there a program for Ubuntu that does ...
Ceipheed's user avatar
0 votes
1 answer
101 views

Do I need to worry about defragmentation? [duplicate]

I am new to Ubuntu (and Linux in general, as a home installer/user). Do I need to worry about fragmentation of the file system on a Linux partition on one's hard drive?
user277950's user avatar
0 votes
1 answer
256 views

Defrag NTFS partition without messing up ext4 partition

A while back when I had Windows and Ubuntu on the same hard drive, I defragged from windows and it messed ubuntu up. Is there a way so that I can defrag it without touching the ext4 partition?
kyle_hamblett's user avatar
0 votes
1 answer
59 views

Tens of file systems from `$ df -hT`: is it ok? [duplicate]

I was trying to follow this link to check if my system needs a defrag, and I found out this. Is it ok? $ df -hT File system Type Dim. Used Available Use% Mounted on udev devtmpfs 7....
Py-ser's user avatar
  • 687
0 votes
0 answers
285 views

Output of e4defrag

e4defrag - the only defragmentation tool I know for Linux - outputs a lot of information not covered by its manual. I assume that if a command outputs something, it is important thus I would like to ...
abukaj's user avatar
  • 465
0 votes
2 answers
4k views

I need to defragment external HDD on Kubuntu [duplicate]

I need to defragment external HDD. I use Kubuntu 16.04.6 LTS. Is there a defragmenting tool to do that or should I go to a friend with Windows? Or maybe a Windows tool that works via Wine?
Robert 's user avatar
0 votes
0 answers
225 views

BTRFS defragment only new files added after last defragmentation

I am using sudo btrfs fi defragment -rv /media/user/mountdir to defragment my offsite server backups now counting millions of small files an several TB of data. Every time I run the defragment command,...
Mike's user avatar
  • 5,691
0 votes
1 answer
1k views

TRIM and file fragmentation on an SSD

I ran the TRIM test proposed by frostschutz and also found here. The result 1MB file is highly fragmented. How can that be ? My one and only storage device /dev/sda is a Samsung 500GB SSD. It is "...
Cbhihe's user avatar
  • 2,761
0 votes
2 answers
202 views

Defragging the hardrive [duplicate]

After I partition the drive for Ubuntu and Windows, can I use the Windows defrag utility on the Ubuntu partition, or do I defrag each with their own utilities? I am planning on installing version 12....
user239532's user avatar