How can I best describe it? I’ll give it a try.
I have four hard drives on my rented dedicated server.
Two SSDs with 2TB each and two HDDs with 8TB each. And perhaps important to mention: only one IP!
The first SSD runs the root drive with Ubuntu 24 and is also my boot drive.
On this SSD, I also run AMP and keyhelp, which manages my web hosting. The two don’t interfere with each other, as AMP fortunately doesn’t use web hosting ports.
However, the SSD has 2TB of capacity, but I can only effectively use 100GB of it for my keyhelp web hosting panel because AMP has somehow divided it up. When I create a server in Amp, it starts in the container, and the game is remounted under /var/lib/docker/overlay2/xxx (it’s even shown to me in keyhelp) with 100GB. If I create a second game, the same one as the first, also with 100GB. Theoretically, I could create about 19 games, but then the SSD would be full (100GB uses keyhelp).
Now to my question: Is it possible to return the 2TB to keyhelp (minus the AMP installation) and move the Docker mounts to one of my hard drives? If possible without reinstalling, the web hosting with keyhelp is active and I will be lynched otherwise
I was already at that point too xD I just don’t understand why only 100GB was allocated, even though I specified during Ubuntu installation that it should use the entire SSD.
I’m just afraid that all my data will be lost if I expand the LVM. -.-
EDIT: Where did the Docker container go after the expansion? oO
The Ubuntu default is to allocate only a certain % up to 100GB because you can’t shrink a LVM volume, only expand it. So if the entire disk was allocated to the root lvm, you couldn’t create any other logical volumes later - defeating the purpose of LVM
The Ubuntu installation UI could be clearer on that though
You won’t lose data. Just got to make sure you expand the filesystem as well after extending the partition
I’ve done that. Thanks for your kind help and your kindness
But the question still remains as to whether Docker containers can be moved to another hard drive. I created the following in the AMP panel, but nothing happens (even after reinstalling via the panel).
If you want instances created on another drive, create a mountpoint on your system for AMP on that drive (such as /mnt/amp), ensure it is in /etc/fstab so it is mounted at boot, make sure the mountpoint is owned amp:amp, and then add it as a datastore in AMP
When creating new instances, select that datastore