We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Bought additional hard drive
Bought additional hard drive
I ran out of space on my server and was getting "NO LANGUAGE DEFINED" error on Vesta when logging in. I figured out that it was because the harddrive was full on my VPS. So I just bought additional Hard drive and mounted it with putty using these:
I see it under my VPS Control panel that it is Connected, but I am still getting the same error from Vesta and my website. Any solution?
Code: Select all
mkdir -p /mnt/vdb
mkfs.ext4 /dev/vdb
mount /dev/vdb /mnt/vdb
I see it under my VPS Control panel that it is Connected, but I am still getting the same error from Vesta and my website. Any solution?
Re: Bought additional hard drive
Good day!
It looks like that you ran off free space on your root (/) filesystem located on vda device.
What can you do?
If you use lvm, you can just extend existing volume and you extend the root filesystem too.
But if you use standard partitioning, you will need to think what mount point you will assign to vdb device. It can be any catalogue (like /var, /opt, or /usr).
Of course, the most preferred method of adding free space is extending of vda device in control panel of your VDS hosting
It looks like that you ran off free space on your root (/) filesystem located on vda device.
What can you do?
If you use lvm, you can just extend existing volume and you extend the root filesystem too.
But if you use standard partitioning, you will need to think what mount point you will assign to vdb device. It can be any catalogue (like /var, /opt, or /usr).
Of course, the most preferred method of adding free space is extending of vda device in control panel of your VDS hosting
Re: Bought additional hard drive
Not really a Vesta question, but usually your VPS provider will have an option to resize your VM. You choose the larger sized disk, and it will shut down and transfer to the bigger size.
Just adding more storage won't work. It has to be mounted at the correct place in the file system.
Do you know where all the space is being used? Try
to find out where the disk is being eaten up. If for example you find the /home/ directory is the biggest, then do:
etc ...
Just adding more storage won't work. It has to be mounted at the correct place in the file system.
Do you know where all the space is being used? Try
Code: Select all
sudo du -h --max-depth=1 /
Code: Select all
sudo du -h --max-depth=1 /home
-
- Posts: 43
- Joined: Tue Apr 18, 2017 10:54 pm
- Os: Ubuntu 15x
- Web: apache + nginx
Re: Bought additional hard drive
Hey friend. Don't know if you can, but check under /home/backup since I found out that all failed backups from Vesta are kept as .tmp files and aren't removed automatically which caused all my websites to 500, and the whole system to freeze. Try to only allow one backup per user, and then put in your crontab -e every week to rm -rf *.tmp files in that directory.