Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Bought additional hard drive

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
king718
Posts: 6
Joined: Tue Oct 20, 2015 4:32 am

Bought additional hard drive
  • Quote

Post by king718 » Thu Jun 29, 2017 6:14 pm

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?
Top

gecube_ru
Posts: 141
Joined: Thu Jun 22, 2017 1:21 pm

Re: Bought additional hard drive
  • Quote

Post by gecube_ru » Thu Jun 29, 2017 8:02 pm

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
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: Bought additional hard drive
  • Quote

Post by plutocrat » Thu Jul 06, 2017 4:18 am

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

Code: Select all

sudo du -h --max-depth=1 /
to find out where the disk is being eaten up. If for example you find the /home/ directory is the biggest, then do:

Code: Select all

sudo du -h --max-depth=1 /home
etc ...
Top

ohioiproject
Posts: 43
Joined: Tue Apr 18, 2017 10:54 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Bought additional hard drive
  • Quote

Post by ohioiproject » Sat Jul 15, 2017 1:50 pm

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.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password