Order an additional disk in OVH?

Dr. McKay

Well-known member
Registered
Joined
Nov 26, 2016
Messages
565
Points
28
Hi everyone,

I have a small VPS in OVH and running 3 websites on it. My websites are running slower and I checked that is due to disk space is near full.

Code:
[root@server public_html]# df
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/vda1       41152832 38456644    599552  99% /
tmpfs            3932304       28   3932276   1% /dev/shm
I want to buy extra disk from OVH and i found this option

Order an additional disk OVH.jpg

How does this disk work? it will add extra disk space to my VPS?
Can I delete temporary files or unnecessary files on this VPS to free up disk space? if that, how can I do?

Thanks
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
Hello @Dr. McKay,
It will not increase your VPS disk storage, but only plug another disk on your server. You will be able to mount this additional disk on the directory of your choice, but it will not fix your current issue (no space available on the main disk). If there are backup stored on your VPS disk, you can still move them on the additional disk to free up disk space.
 

ForwardWeb - Branden

Well-known member
Hosting Provider
Registered
Joined
Aug 31, 2018
Messages
198
Points
28
Hi do not upgrade unnecessarily first look at optimizing each of your websites with both image compression and browser caching if you are able review your code for problem areas use https://developers.google.com/speed/pagespeed/insights/ as a general guide for problem areas if all of that fails backup all data and consider a move
 

Dr. McKay

Well-known member
Registered
Joined
Nov 26, 2016
Messages
565
Points
28
You will be able to mount this additional disk on the directory of your choice, but it will not fix your current issue (no space available on the main disk).
So, adding additional disk for what purpose? :(
If there are backup stored on your VPS disk, you can still move them on the additional disk to free up disk space.
What do you mean for "backup stored on your VPS disk"? how can I move it to main disk that using for websites?
 

EthernetServers

Member
Registered
Joined
Nov 24, 2017
Messages
21
Points
3
Can I delete temporary files or unnecessary files on this VPS to free up disk space? if that, how can I do?
The following command will allow you to quickly/easily identify the top 10 largest files, and folders:
Code:
FS='/';clear;date;df -h $FS; echo "Largest Directories:"; du -hcx –max-depth=2 $FS 2>/dev/null | grep [0-9]G | sort -grk 1 | head -15 ;echo "Largest Files:"; nice -n 19 find $FS -mount -type f -print0 2>/dev/null| xargs -0 du -k | sort -rnk1| head -n20 |awk '{printf "%8d MB\t%s\n",($1/1024),$NF}'
It is completely informational and will not delete or modify anything.
 

BillEssley

Well-known member
Registered
Joined
Feb 19, 2013
Messages
358
Points
28
BillEssley
The OP is asking to delete unnecessary files, if you suggest to delete top 10 largest files, and folders on a server then it can cause problems for server because some files or folder is being used by server system :)
 

Dr. McKay

Well-known member
Registered
Joined
Nov 26, 2016
Messages
565
Points
28
Dr. McKay
Your commands are useful to find out top 10 largest files, and folders but to be honest, I want to find out unnecessary files on my vps to delete.
 

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top