Questions tagged [defrag]

defragmentation is a process that reduces the amount of fragmentation

Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

Is there a way to backup files access and modified time before run e4defrag?

I have a folder with thousands of files sorted by modified date so I can resume from where I left. Recently, that HDD became full past the 90% mark, and filesystem access become so slow that system ...
0
votes
2answers
134 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?
1
vote
0answers
1k views

how do I make “/sys/kernel/mm/transparent_hugepage/defrag” never status to close the THP warning

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 ...
0
votes
0answers
52 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,...
2
votes
1answer
2k 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 ...
4
votes
0answers
392 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 ...
2
votes
1answer
1k 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 ...
4
votes
1answer
2k 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....
2
votes
0answers
370 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 ...
3
votes
1answer
3k 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.
1
vote
0answers
53 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 ...
16
votes
3answers
23k 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 ...
1
vote
3answers
1k 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 ...
0
votes
1answer
796 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 "...
0
votes
1answer
85 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?
0
votes
1answer
205 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?
4
votes
3answers
2k 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 ...
0
votes
2answers
180 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....
1
vote
1answer
2k 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 ...
8
votes
1answer
33k 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, ...
13
votes
1answer
23k 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 ...
7
votes
2answers
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?
5
votes
1answer
4k 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 ...
66
votes
6answers
155k views

How to defrag an ext4 filesystem

I don't want any answer saying that there's no need, please!
6
votes
0answers
873 views

Can Ubuntu defragment NTFS or FAT drives? [duplicate]

Can I use Ubuntu to defrag a Windows NTFS/FAT drive or partition?
1
vote
1answer
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 ...
4
votes
1answer
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-...
2
votes
3answers
2k 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 ...
11
votes
4answers
12k 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 (...
3
votes
3answers
1k 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 ...
17
votes
6answers
23k views

Defragging NTFS Partitions from Linux

Are there any tools that I can use to defrag my Windows partition from Linux?
1
vote
1answer
313 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 ...
23
votes
3answers
7k 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 ...
5
votes
1answer
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.
11
votes
1answer
7k 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 ...
11
votes
2answers
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 ...
6
votes
1answer
843 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?