PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Defragment Linux Drives

Go down

Defragment Linux Drives Empty Defragment Linux Drives

Post by jamied_uk 19th June 2015, 14:36

Defragment Linux Drives

(replace sda with the correct drive and use fdisk in terminal to list your drives)

Code:
sudo fdisk -l




Method 1

Code:
sudo e4defrag -c /








Method 2

You can defrag all partitions on all drives but you should do this from the Grub and system console, here I am doing it from the Terminal and you simply type:
Code:
sudo e4defrag /dev/*

Or you can do a single partition it would look like this:
Code:
sudo e4defrag /dev/sda6

or to defrag the whole drive (all partitions)
Code:
sudo e4defrag /dev/sda*


You may have to use a command like

Code:
sudo e4defrag -c /dev/sdc*







More Found @ http://jsmylinux.no-ip.org/performance/using-e4defrag/
Original Concept Found @ https://youtu.be/y_lhqg_p21k
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum