Increase disk space by adding volume only, it is okay? 10-28-2024, 01:10 PM (This post was last modified: 10-28-2024, 01:10 PM by 7rdoq.)
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?
RE: Increase disk space by adding volume only, it is okay? 10-29-2024, 06:54 AM
(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
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.
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!
RE: Increase disk space by adding volume only, it is okay? 10-29-2024, 02:27 PM (This post was last modified: 10-29-2024, 06:32 PM by 7rdoq.)
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
RE: Increase disk space by adding volume only, it is okay? 10-30-2024, 12:13 PM
(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
RE: Increase disk space by adding volume only, it is okay? 11-02-2024, 11:35 AM
(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
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!
RE: Increase disk space by adding volume only, it is okay? 11-03-2024, 08:17 AM
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
RE: Increase disk space by adding volume only, it is okay? 11-03-2024, 12:37 PM (This post was last modified: 11-03-2024, 01:38 PM by 7rdoq.)
(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