I have installed ubuntu on my machine alongside with windows, I allocated 55GB for it. After a period, I decided to rise the space allocated to UBUNTU to 60 GB. after this augmentation (using gparted
) I found that there is a non accessible space in this partition I can't found the problem. The df -h
command shows me:
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3868944 8 3868936 1% /dev
tmpfs 776332 1240 775092 1% /run
/dev/sda5 60057700 55396248 1587616 98% /
none 4 0 4 0% /sys/fs/cgroup
none 5120 0 5120 0% /run/lock
none 3881640 536 3881104 1% /run/shm
none 102400 52 102348 1% /run/user
/dev/sdb1 488384000 464704372 23679628 96% /media/salah/LaCie
the sudo fdisk -l
shows :
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x26464dec
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 409806847 204800000 7 HPFS/NTFS/exFAT
/dev/sda3 409806848 829968383 210080768 7 HPFS/NTFS/exFAT
/dev/sda4 850939904 976771071 62915584 5 Extended
/dev/sda5 850941952 973240319 61149184 83 Linux
/dev/sda6 973242368 976771071 1764352 82 Linux swap / Solaris
the properties of the computer disk (the root filesystem) shows me:
As I can I see, the total capacity is not shown in the used and the free space.
Is that problem resulting from changing the partition capacity? Thanks
/
and one for/home
. This will allow you to separate you data from the operating systems data. This will help if you ever need to change disro, or if an upgrade fails. – ctrl-alt-delor Jan 22 '17 at 11:59df
shows only free space of mounted partitions. Either you enlarge the root partition, or add a new partition which needs to be formated and mounted (in/etc/fstab
). If you calculate 60GB in a base of 1000 it's actually 58,59GB since a GB. is actually 1024 MB - 60GB are 61.440MB ... My guess is that thedf
cmd shows data in a 1024 base and the graphical thing (properties of the computer disk) shows it on a 1000 base – Michael D. Jan 22 '17 at 12:23