Site Tools


start:ext4secret

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
start:ext4secret [2022/05/10 19:54] – created peterstart:ext4secret [2023/09/14 20:46] (current) peter
Line 1: Line 1:
 +DATE CHECKED THIS PAGE WAS VALID: 14/09/2023 
 +
 Ext keeps some reserved space so that if the disk is full a root user can login and still do stuff in the reserved space. However this value is quite large. If you have a modern disk then it can be many GB of space. As its default is 5% then for example on a 2TB disk that is approx 100GB of space reserved. Ext keeps some reserved space so that if the disk is full a root user can login and still do stuff in the reserved space. However this value is quite large. If you have a modern disk then it can be many GB of space. As its default is 5% then for example on a 2TB disk that is approx 100GB of space reserved.
  
Line 8: Line 10:
  
 Then you can get some of the reserved space back :) Then you can get some of the reserved space back :)
 +
 +To check the current reserved space:
 +<code>
 +tune2fs -l /dev/sda2  | grep 'Reserved'
 +</code>
 +
 +Compare the reserved block count prior and after running the change and it will be different. Unfortunately it does not display a %.
 +
 +Run the commands with sudo if not root.
start/ext4secret.1652212457.txt.gz · Last modified: 2022/05/10 19:54 by peter