S3/Block Storage and Quotas?

I currently have a Virtualmin VPS (Vultr) with client sites/email, as well as some of my own. It has 160GB of storage, which is about 50% full.

I’d like to find a way to scale out the storage, without having to just increase the size of the VPS (which would get expensive fast).

I can add S3-compatible storage or block storage much more economically.

If I mount another storage volume, can I have some of the virtual servers files stored on that, and and the rest of them stored on the original vm disk?

Would quotas still be enforceable?

Speak to vultr support they should help, you need to grow the /home directory and I’m not sure you can do that with block storage.
It also say’s you can’t snapshot block storage or have it in the auto backup. You need to do that via VM backup’s (cheaper backup anyway)
You should be able to mount as /home maybe and move its all there.
Try a test instance and see if you can do it.

Check this, he uses /var/www but you should be able to use /home

Since /home already exists, obviously, would it break anything if I renamed /home to something else, mounted the storage to /home, then moved all the files over? Or must this be done on a brand new server before installation Virtualmin?

Need to do some testing.

I did a quick test. What I did was the same as doc but I made /home2 and mounted.
Rsync /home to /home2. Deleted /home content. Unmount block from /home2 and mounted to /home.

I thought it worked of but I was missing websites (wordpress) so I might of Rsync incorrectly.
So I will have to try again but i theory it should work.

P.S. Got it working, but when I recheck config I get this error
Quotas are not enabled on the filesystem /home which contains home directories under /home and email files under /home. Quota editing has been disabled

So I have to figure out how to enable on the block storage,

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.