You are not logged in.
Pages: 1
Hi,
On my arch linux vps on transip.eu, recently I have upgraded my plan from 50GB to 150GB. Before upgrade, there were two partitions /dev/vda1 of 2GB for swap annd /dev//vda2 of 48GB for root. After upgrade, another 100GB free space was provided to me. So using cfdisk command, I first of all deleted the partition /dev/vda2 and re-created having size 148GB keeping the starting sector of the partition same as before. Then I executed the command "resize2fs /dev/vda2 148G" to resize it. Now when I am viewing the output of "fdisk -l" command then it is showing the size of the partition /dev/vda2 to 148GB which is correct but when I am viewing the output of "df -h" command then it is still displaying the size of the partition to be 48GB. Similarly the system information being displayed by webmin is also displaying the size of local disk space to be 48GB. So it is very strange. Why it is happening?
Best Regards ...
Pankaj Kumar
Last edited by ccpplinux (2016-11-13 16:47:48)
Offline
After reading help at http://positon.org/resize-an-ext3-ext4-partition I again executed the command resize2fs command as follows without 2nd argument:
resize2fs /dev/vda2
And in this case it worked. Now the df -h command is displaying the partition size as 146GB. So now this problem has been fixed.
Offline
[Solved]
Offline
Please edit your topic title to reflect that the topic is solved.
Mod note: not an installation issue, moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
But how to change post title? I am not viewing any option for this. Please send me steps.
Offline
how to change post title?
Use the "Edit" button on your first post in this thread -- the title is part of that post (apparently
).
Jin, Jîyan, Azadî
Offline
Thanks. I have done this.
Offline
Pages: 1