How to analyze and defragment drive in ubuntu 16.04
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
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 /forcefsck
sudo tune2fs -c 1 /dev/<my partition>
Then I rebooted my system but its showing nothing on my reboot and directly goes to the login page. How to analyze and defrag a drive in ubuntu 16.04?
16.04 partitioning fsck defrag
add a comment |Â
up vote
1
down vote
favorite
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 /forcefsck
sudo tune2fs -c 1 /dev/<my partition>
Then I rebooted my system but its showing nothing on my reboot and directly goes to the login page. How to analyze and defrag a drive in ubuntu 16.04?
16.04 partitioning fsck defrag
Have you considered downloading Bleachbit from the Ubuntu Software Centre?
â Graham
Mar 31 at 14:38
I did thissudo bleachbit -c --preset
for clearing my system. But it exits after sometime with a errorfilesystem root has 99 MB left
. Tried unchecking some options and rerun bleachbit but the problem still exists. Thats why I am not going to go bleachbit way
â Eka
Mar 31 at 14:41
I suggest that you try to repair the root file system. Boot from another drive, for example an Ubuntu install drive (USB or DVD) and run ane2fsck
command according to this link. Scroll down to 'Repair linux file systems with linux tools'.
â sudodus
Mar 31 at 15:26
1
Looks like the problem is your partition is full . Significant fragmentation is very rare in linux
â Panther
Mar 31 at 17:19
1
sudo fsck.ext2 -fn /dev/sdXY
will show fragmentation. The problem probably is your partition is full
â Panther
Mar 31 at 17:27
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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 /forcefsck
sudo tune2fs -c 1 /dev/<my partition>
Then I rebooted my system but its showing nothing on my reboot and directly goes to the login page. How to analyze and defrag a drive in ubuntu 16.04?
16.04 partitioning fsck defrag
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 /forcefsck
sudo tune2fs -c 1 /dev/<my partition>
Then I rebooted my system but its showing nothing on my reboot and directly goes to the login page. How to analyze and defrag a drive in ubuntu 16.04?
16.04 partitioning fsck defrag
16.04 partitioning fsck defrag
edited Mar 31 at 14:36
asked Mar 31 at 14:28
![](https://i.stack.imgur.com/F8mcb.jpg?s=32&g=1)
![](https://i.stack.imgur.com/F8mcb.jpg?s=32&g=1)
Eka
92761735
92761735
Have you considered downloading Bleachbit from the Ubuntu Software Centre?
â Graham
Mar 31 at 14:38
I did thissudo bleachbit -c --preset
for clearing my system. But it exits after sometime with a errorfilesystem root has 99 MB left
. Tried unchecking some options and rerun bleachbit but the problem still exists. Thats why I am not going to go bleachbit way
â Eka
Mar 31 at 14:41
I suggest that you try to repair the root file system. Boot from another drive, for example an Ubuntu install drive (USB or DVD) and run ane2fsck
command according to this link. Scroll down to 'Repair linux file systems with linux tools'.
â sudodus
Mar 31 at 15:26
1
Looks like the problem is your partition is full . Significant fragmentation is very rare in linux
â Panther
Mar 31 at 17:19
1
sudo fsck.ext2 -fn /dev/sdXY
will show fragmentation. The problem probably is your partition is full
â Panther
Mar 31 at 17:27
add a comment |Â
Have you considered downloading Bleachbit from the Ubuntu Software Centre?
â Graham
Mar 31 at 14:38
I did thissudo bleachbit -c --preset
for clearing my system. But it exits after sometime with a errorfilesystem root has 99 MB left
. Tried unchecking some options and rerun bleachbit but the problem still exists. Thats why I am not going to go bleachbit way
â Eka
Mar 31 at 14:41
I suggest that you try to repair the root file system. Boot from another drive, for example an Ubuntu install drive (USB or DVD) and run ane2fsck
command according to this link. Scroll down to 'Repair linux file systems with linux tools'.
â sudodus
Mar 31 at 15:26
1
Looks like the problem is your partition is full . Significant fragmentation is very rare in linux
â Panther
Mar 31 at 17:19
1
sudo fsck.ext2 -fn /dev/sdXY
will show fragmentation. The problem probably is your partition is full
â Panther
Mar 31 at 17:27
Have you considered downloading Bleachbit from the Ubuntu Software Centre?
â Graham
Mar 31 at 14:38
Have you considered downloading Bleachbit from the Ubuntu Software Centre?
â Graham
Mar 31 at 14:38
I did this
sudo bleachbit -c --preset
for clearing my system. But it exits after sometime with a error filesystem root has 99 MB left
. Tried unchecking some options and rerun bleachbit but the problem still exists. Thats why I am not going to go bleachbit wayâ Eka
Mar 31 at 14:41
I did this
sudo bleachbit -c --preset
for clearing my system. But it exits after sometime with a error filesystem root has 99 MB left
. Tried unchecking some options and rerun bleachbit but the problem still exists. Thats why I am not going to go bleachbit wayâ Eka
Mar 31 at 14:41
I suggest that you try to repair the root file system. Boot from another drive, for example an Ubuntu install drive (USB or DVD) and run an
e2fsck
command according to this link. Scroll down to 'Repair linux file systems with linux tools'.â sudodus
Mar 31 at 15:26
I suggest that you try to repair the root file system. Boot from another drive, for example an Ubuntu install drive (USB or DVD) and run an
e2fsck
command according to this link. Scroll down to 'Repair linux file systems with linux tools'.â sudodus
Mar 31 at 15:26
1
1
Looks like the problem is your partition is full . Significant fragmentation is very rare in linux
â Panther
Mar 31 at 17:19
Looks like the problem is your partition is full . Significant fragmentation is very rare in linux
â Panther
Mar 31 at 17:19
1
1
sudo fsck.ext2 -fn /dev/sdXY
will show fragmentation. The problem probably is your partition is fullâ Panther
Mar 31 at 17:27
sudo fsck.ext2 -fn /dev/sdXY
will show fragmentation. The problem probably is your partition is fullâ Panther
Mar 31 at 17:27
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Ubuntu doesn't need disk-defragmenting
From this article:
If youâÂÂre a Linux user, youâÂÂve probably heard that you donâÂÂt need to
defragment your Linux file systems. YouâÂÂll also notice that Linux
distributions donâÂÂt come with disk-defragmenting utilities. But why is
that?
To understand why Linux file systems donâÂÂt need defragmenting in
normal use â and Windows ones do â youâÂÂll need to understand why
fragmentation occurs and how Linux and Windows file systems work
differently from each other.
1
Although very rare one can see significant fragmentation in Linux. This happens when the partition is full and the op suggests this may be the case
â Panther
Mar 31 at 19:12
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Ubuntu doesn't need disk-defragmenting
From this article:
If youâÂÂre a Linux user, youâÂÂve probably heard that you donâÂÂt need to
defragment your Linux file systems. YouâÂÂll also notice that Linux
distributions donâÂÂt come with disk-defragmenting utilities. But why is
that?
To understand why Linux file systems donâÂÂt need defragmenting in
normal use â and Windows ones do â youâÂÂll need to understand why
fragmentation occurs and how Linux and Windows file systems work
differently from each other.
1
Although very rare one can see significant fragmentation in Linux. This happens when the partition is full and the op suggests this may be the case
â Panther
Mar 31 at 19:12
add a comment |Â
up vote
3
down vote
accepted
Ubuntu doesn't need disk-defragmenting
From this article:
If youâÂÂre a Linux user, youâÂÂve probably heard that you donâÂÂt need to
defragment your Linux file systems. YouâÂÂll also notice that Linux
distributions donâÂÂt come with disk-defragmenting utilities. But why is
that?
To understand why Linux file systems donâÂÂt need defragmenting in
normal use â and Windows ones do â youâÂÂll need to understand why
fragmentation occurs and how Linux and Windows file systems work
differently from each other.
1
Although very rare one can see significant fragmentation in Linux. This happens when the partition is full and the op suggests this may be the case
â Panther
Mar 31 at 19:12
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Ubuntu doesn't need disk-defragmenting
From this article:
If youâÂÂre a Linux user, youâÂÂve probably heard that you donâÂÂt need to
defragment your Linux file systems. YouâÂÂll also notice that Linux
distributions donâÂÂt come with disk-defragmenting utilities. But why is
that?
To understand why Linux file systems donâÂÂt need defragmenting in
normal use â and Windows ones do â youâÂÂll need to understand why
fragmentation occurs and how Linux and Windows file systems work
differently from each other.
Ubuntu doesn't need disk-defragmenting
From this article:
If youâÂÂre a Linux user, youâÂÂve probably heard that you donâÂÂt need to
defragment your Linux file systems. YouâÂÂll also notice that Linux
distributions donâÂÂt come with disk-defragmenting utilities. But why is
that?
To understand why Linux file systems donâÂÂt need defragmenting in
normal use â and Windows ones do â youâÂÂll need to understand why
fragmentation occurs and how Linux and Windows file systems work
differently from each other.
answered Mar 31 at 17:20
![](https://i.stack.imgur.com/2SXNl.jpg?s=32&g=1)
![](https://i.stack.imgur.com/2SXNl.jpg?s=32&g=1)
WinEunuuchs2Unix
35.8k759133
35.8k759133
1
Although very rare one can see significant fragmentation in Linux. This happens when the partition is full and the op suggests this may be the case
â Panther
Mar 31 at 19:12
add a comment |Â
1
Although very rare one can see significant fragmentation in Linux. This happens when the partition is full and the op suggests this may be the case
â Panther
Mar 31 at 19:12
1
1
Although very rare one can see significant fragmentation in Linux. This happens when the partition is full and the op suggests this may be the case
â Panther
Mar 31 at 19:12
Although very rare one can see significant fragmentation in Linux. This happens when the partition is full and the op suggests this may be the case
â Panther
Mar 31 at 19:12
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020848%2fhow-to-analyze-and-defragment-drive-in-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Have you considered downloading Bleachbit from the Ubuntu Software Centre?
â Graham
Mar 31 at 14:38
I did this
sudo bleachbit -c --preset
for clearing my system. But it exits after sometime with a errorfilesystem root has 99 MB left
. Tried unchecking some options and rerun bleachbit but the problem still exists. Thats why I am not going to go bleachbit wayâ Eka
Mar 31 at 14:41
I suggest that you try to repair the root file system. Boot from another drive, for example an Ubuntu install drive (USB or DVD) and run an
e2fsck
command according to this link. Scroll down to 'Repair linux file systems with linux tools'.â sudodus
Mar 31 at 15:26
1
Looks like the problem is your partition is full . Significant fragmentation is very rare in linux
â Panther
Mar 31 at 17:19
1
sudo fsck.ext2 -fn /dev/sdXY
will show fragmentation. The problem probably is your partition is fullâ Panther
Mar 31 at 17:27