10-26-2014, 11:36 PM
(10-26-2014, 08:59 PM)Scott(0) link Wrote: Assuming you have an ext4 file system, one method to defrag would be to use the command
Code:e4defrag
The -c option will generate a fragmentation score and let you know if defragging is necessary.
Example, get a fragmentation score for the root file system
Code:sudo e4defrag -c /
Example, defrag file system starting a root
Code:sudo e4defrag /
The source article below will give more information and examples.
Source:
http://www.hecticgeek.com/2012/10/defrag...ag-ubuntu/
Yes I did have the ext4 file system, but when I entered the "sudo e4defrag -c /" command it asked for my password and then it did nothing at all - looked like it was waiting for more from me.
Thanks