Wrong size of unused space on /home partition shown by GPARTED after installing Kali Linux
Hello. I am new to this forum and I hope that I post at the right place.
I have just completed my first installation of Kali Linux on my system (NVMe SSD). I have partitioned the space for Kali as follows: swap : 12 GB (I have 12 GB RAM) / : 60 GB /home : 350 GB However, just after installation, GPARTED indicates that my /home partition has: used space: 6 GB unused space: 319 GB I find it weird to have 6 GB of home space already used when I haven’t even started to use this newly installed system ! To be noted that I have another installation – Linux Mint LMDE4 – on the same system/SSD and I do not face this problem: right after installation, GPARTED indicated just a few MB of used space on /home. Could anyone guess what’s going on ? |
I suggest that you list the files on the new /home partition to see what is on it.
boot into Linux Mint LMDE4 open a terminal su to root create a mountpoint, say /media/xxx mount the new /home partition on the mount point issue the ls command: ls -l /media/xxx You should get a listing of the directories and files on the new /home |
What is displayed in gparted is the total amount of space used in relation to the partition not the filesystem itself. Filesystems contain metadata which basically is the stuff necessary to find your files. How much overhead depends on the filesystem type and ext4 is around 2%. Total space used = files + metadata = 350GB.
What is displayed using filesystem tools like df does not include metadata. In addition if using ext4 there is reserved space (defaults 5%) which is also not included. I don't think gparted has changed.... |
additionally I would try to use df to check that partition/filesystem.
|
Many thanks for your answers. As per the advice I was given, I did the following.
Code:
┌──(root💀kali)-[/] Code:
┌──(root💀kali)-[/] |
There's also something called "reserved blocks".
See Code:
man tune2fs |
All times are GMT -5. The time now is 05:36 PM. |