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?
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 '18 at 14:41e2fsck
command according to this link. Scroll down to 'Repair linux file systems with linux tools'. – sudodus Mar 31 '18 at 15:26sudo fsck.ext2 -fn /dev/sdXY
will show fragmentation. The problem probably is your partition is full – Panther Mar 31 '18 at 17:27