Virtual server on a separate volume

Hello,

I am using Digital Ocean droplets and added additional ‘Volume’ (Extra HDD).
How can I configure one of the newly created virtual server to solely use this volume?
I want all the files for this virtual server to be stored in this volume?
Is this possible?

Normally, how does added volumes behave?
If the root volume is full, do the files get automatically saved to additional volumes?

-Josin

1 Like

Don’t.

See the many discussions about adding a new disk to a Virtualmin system here in the forum.

If you’re talking about logical volumes managed with LVM, you can just add the new volume to whatever volume hosts /home (sounds like the root volume, /, which is fine…add the volume to that one). Then expand the filesystem to use the full volume.

It can’t possibly know that’s what you want. You need to configure the volume to behave how you want. And, once added to your existing volume, you need to expand the filesystem (probably ext4, so you’d use resize2fs) to fill it.

If this is not an LVM volume, and instead some terminology your host uses to talk about block storage or something, I don’t know what you need to do. You’ll need to check your hosting providers docs in that case.

Out of interest what plan are you on, I know with Vultr increasing the plan is pretty seamless, you just have more space.

4 GB Memory / 2 AMD vCPUs / 80 GB Disk
I just want to add 100GB additional Block Volume.
I don’t know how it behaves?

You probably need to read your hosting provider’s documentation on the subject, as the possibilities vary pretty widely.

This guy does it to /home with digital
I’d fire up a test machine and try first if I was you.

Thank you @Joe and @stefan1959 for the advices.

1 Like