10-26-2014, 08:59 PM
Assuming you have an ext4 file system, one method to defrag would be to use the command
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
Example, defrag file system starting a root
The source article below will give more information and examples.
Source:
http://www.hecticgeek.com/2012/10/defrag...ag-ubuntu/
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/