Page 1 of 1
Bought additional hard drive
Posted: Thu Jun 29, 2017 6:14 pm
by king718
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:
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
Posted: Thu Jun 29, 2017 8:02 pm
by gecube_ru
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
Re: Bought additional hard drive
Posted: Thu Jul 06, 2017 4:18 am
by plutocrat
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 ...
Re: Bought additional hard drive
Posted: Sat Jul 15, 2017 1:50 pm
by ohioiproject
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.