This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Increase disk space by adding volume only, it is okay?
#1
Increase disk space by adding volume only, it is okay?
I'm using DO VPS, using 20 GB disk space, it's 70% now.

I want to increase space but "Resize" is double price, I dont want this.

So I intend to add more disk space by adding a new volume only, it's okay to do this?

This would create a new space storage on my VPS, then I just move old sites to new space / create new site on new space, then everything still works properly?

In vhost, I just point path to new storage then all will be fine, no problem with sentora or system?

Anyone advises please

Thank you

[Image: attachment.php?aid=1058]


Attached Files Thumbnail(s)
   
Reply
Thanks given by:
#2
RE: Increase disk space by adding volume only, it is okay?
(10-28-2024, 01:10 PM)7rdoq Wrote: I'm using DO VPS, using 20 GB disk space, it's 70% now.

I want to increase space but "Resize" is double price, I dont want this.

So I intend to add more disk space by adding a new volume only, it's okay to do this?

This would create a new space storage on my VPS, then I just move old sites to new space / create new site on new space, then everything still works properly?

In vhost, I just point path to new storage then all will be fine, no problem with sentora or system?

Anyone advises please

Thank you

[Image: attachment.php?aid=1058]

I don't believe creating a new volume will increase storage space. It will just partition a new 'drive' on the same storage space. I'd suggest downloading and saving any old or unused files to a local drive and making sure the log folders are being trimmed with log-rotate.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: Increase disk space by adding volume only, it is okay?
If you create a new volume, you will not be able to share it with the current volume.

Either moving all your files to the new volume or you need to manually split root sites and do a lot of manual moves.

As Tom pointed this is not a solution on the long run. As the new volume you mount it to /volume2 and not / so your /var/ will not see that space.

Best you do resize and 20 GB is really the basic DO droplet here.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by: 7rdoq
#4
RE: Increase disk space by adding volume only, it is okay?
yeah, so this is so bad, I'm not good at Linux

so the PHP (and sentora) could not process the new sites on /volume2 ? they can only process requests at /var/ ? I could not manually configure vhost file to point root sites of new sites to /volume2 ?

resize is the final solution, because I need more space only, I dont need RAM&CPU

---

basically: for adding volume, I need to edit manually vhost file for each new site like below, it's okay? Then PHP & sentora may still serve this new site on new volume properly? thank you


Code:
<virtualhost *:80>
ServerName site.domain
ServerAlias  site.domain
ServerAdmin zadmin@localhost
DocumentRoot "/newvolume/public_html/site_domain"
php_admin_value open_basedir none
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
<Directory "/newvolume/public_html/site_domain">
  Options +FollowSymLinks -Indexes
  AllowOverride All
  Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
</virtualhost>
Reply
Thanks given by:
#5
RE: Increase disk space by adding volume only, it is okay?
If you resize that will be transparent.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by: 7rdoq
#6
RE: Increase disk space by adding volume only, it is okay?
(10-30-2024, 05:25 AM)Me.B Wrote: If you resize that will be transparent.

but I want to add volume only, may you give the proper way to do this? such as how manual stesp I need to do for all new sites work properly, old sites would still be old space, now I need new volumes for new sites only

thank first
Reply
Thanks given by:
#7
RE: Increase disk space by adding volume only, it is okay?
(10-30-2024, 12:13 PM)7rdoq Wrote: but I want to add volume only, may you give the proper way to do this? such as how manual stesp I need to do for all new sites work properly, old sites would still be old space, now I need new volumes for new sites only

thank first

You can change the hostdata location (where the sites are stored). It's in the documentation HERE
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: 7rdoq
#8
RE: Increase disk space by adding volume only, it is okay?
You can't split sites among 2 volumes unless you got into very instable manual configuration, that is complicated to maintain.
Either you use the old or new volume and Tom pointed the doc for that.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#9
RE: Increase disk space by adding volume only, it is okay?
(11-02-2024, 11:35 AM)TGates Wrote: You can change the hostdata location (where the sites are stored). It's in the documentation HERE

this solution would work for both old sites (in old space) with new sites (new volume)?

basically, I would do:

1. add new volume
2. use Sentora cpanel to create new sites like the past
3. edit vhost configs of new sites to point the "DocumentRoot" to new volume for each site

My work is okay?
Reply
Thanks given by:
#10
RE: Increase disk space by adding volume only, it is okay?
Please read my previous statements.

If you change the root, it will apply to ALL Websites. That mean all websites will be in the new volume. So you have to move them.

Resize don't add volume unless you really understand the above and can manage that.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Adding Ips bucky 1 4 ,677 01-28-2020, 08:48 AM
Last Post: TGates
How do i increase memory limit for one user?? vickyperkin 1 5 ,125 07-31-2019, 08:44 AM
Last Post: TGates
Excessive disk usage testing 11 28 ,168 12-15-2018, 11:27 PM
Last Post: rsthomas

Forum Jump:


Users browsing this thread: 3 Guest(s)