I have a partition of size 50GB and made image via some disk tool (through GUI). But it had size of entire partition (50GB).
Then I resized that image to 8.7GB:
e2fsck -f -y xxx.img
resize2fs -M xxx.img
Then I mounted it on partition with size 15GB:
dd if=myIMG.img of=/dev/sda13
But problem is that when I open system monitor it keeps showing me that system max size is 8.3GB instead of 14GB.
And in "lsblk" i can see that partition have 14GB
I don't know how to fix it. Probably I did any stupid mistake but I don't know how to fix it.
dd
command?