Unable to downgrade my VPS
I'm using the $80 dedicated CPU plan with 320 GB disk but now I want to downgrade to dedicated CPU with 160GB disk(1 plan lower). But when I go to Advanced to reduce the volume size it gives error something like not enough free space.
But it has sufficient space. The df command shows this output:
Filesystem Size Used Avail Use% Mounted on
/dev/root 314G 41G 257G 14% /
devtmpfs 7.9G 0 7.9G 0% /dev
tmpfs 7.9G 89M 7.8G 2% /dev/shm
tmpfs 7.9G 8.7M 7.9G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
tmpfs 1.6G 4.0K 1.6G 1% /run/user/0
4 Replies
See my answer here:
https://www.linode.com/community/questions/18416/downgrade-my-linode-plan
You just need to resize your disks - it's not about the USED space, it's about the total size of your existing disks - they need to be shrunken so they fit… Currently you have a 257GB disk that can't be added to your new server that is limited to 160GB, so considering your used-space you can just shrink that disk down to 100GB and it should fit good :)
That's what I'm saying Shrink isn't working in my case. I've already read https://www.linode.com/docs/platform/disk-images/disk-images-and-configuration-profiles/#resizing-a-disk
It may be that your Linode's disk has a very large number of small files. This can prevent your disk from being resized in a couple of ways. Each file on your Linode's disk has a bit of space reserved before and after it. That space is unused, so it doesn't show up when running df
but it is reserved for use by that file as things are written to it, so it can't be used by other files or done away with in a disk resize.
If your Linode has over 2.5 million files, then it may be that you've run into the inode limit, and the disk can't be resized smaller since the automatic resize is trying to reduce the number of indoes as well. To double check you can run:
df -i
If your inode untilization is above 90% then I'd recommend reducing the number of files on your Linode, then trying to resize your Linode's disk once more.
Actually it is not documented in Linode's documentation, nor you people know it.
Linode will not allow to downgrade Dedicated CPU to dedicated CPU.
Instead I first migrated it to same size shared VPS then to dedicated CPU lower plan. It worked.
It seems Linode has shortage of support staff now a days. It takes a week to get reply from them.