Defragment Linux Drives

View previous topic View next topic Go down

Defragment Linux Drives

Post by jamied_uk on 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
avatar
jamied_uk
Admin

Posts : 2191
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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