Strange Results After Reallocating Partitions

General support questions
Post Reply
gw1500se
Posts: 222
Joined: 2012/05/07 13:53:35

Strange Results After Reallocating Partitions

Post by gw1500se » 2021/05/28 14:28:42

I have reallocated partitions to expand the root partition. I am now getting very strange results, although everything is working. When I run 'df' it tells me the partition is the same size as before the expansion:

Code: Select all

/dev/sda1          1984016    1768688      96500  95% /
However, when I look at that partition with 'gparted' it shows the partition as expected:
gparted snapshot
gparted snapshot
snapshot7.png (67.68 KiB) Viewed 457 times
How is this possible and how do I fix it? TIA.

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Strange Results After Reallocating Partitions

Post by tunk » 2021/05/28 15:31:15

How did you repartition it? Never done anything like this, but
I would guess you have to expand the file system as well?

gw1500se
Posts: 222
Joined: 2012/05/07 13:53:35

Re: Strange Results After Reallocating Partitions

Post by gw1500se » 2021/05/28 15:37:33

I used 'gparted' to shrink sda4, then moved sda3 and sda2 down. Then expand sda1 into the resulting unallocated space. I guess I didn't realize I had to do both. I used 'resize2fs' now and that did the trick. Thanks.

Post Reply