I just installed Virtualmin Pro on an old Dell Server that has 80GB memory and 8TB RAID 10 disk space.
Virtualmin seem to be limiting the available disk space to 999GB total.
I do not expect to use this server for anything else and would like to make better use of the hardware. Can I expand the disk space available to Virtualmin manage Virtual Websites?
I looked for a way use the Virtualmin UI but haven’t found anything that looks like it can do this yet.
hmm … I expected the OS type, etc to autofill (did last time)
OS is Ubuntu 24.04 Pro, webmin & virtualmin are current as of today, with nothing modified or added yet.
I just did a fresh install of Ubuntu 24.04.1, then followed that with an immediate install of Virtualmin.
I was expecting to see a lot more disk space within Virtualmin when I got done.
So, now I have to figure out how to make that space available to websites that I migrated with Virtualmin from a 2020 Ubuntu with Virtualmin that I felt a need to replace because of the age of the OS.
After reading your message I did check what Ubuntu shows:
I don’t think that it is showing all of the disk space that I expected it to. I guess that I will have to read up on how to manage disk storage with Ubuntu … do you have any insight into how I can ultimately get Virtualmin to recognize and make it available to websites … a much larger partition, once I figure out how to actually create one.
Virtualmin is not your operating system and has nothing to say about how much of the disk is used.
When you install Ubuntu, you have the opportunity to specify partition sizes. The installer defaults to a rather stupid 100GB, which it splits up. The simplest thing is to tell it to not be stupid during installation.
But, you can also expand it later. / is on a volume, so you can expand the logical volume and then expand the filesystem. There’s tons of documentation out there about LVM and filesystems. This is a pretty good article from Red Hat:
Note that’s a Red Hat system with XFS filesystem. Ubuntu will probably use ext4 as its filesystem, and, so you’d resize it with resize2fs instead of grow_xfs.
Webmin has a Logical Volume Management module in the Hardware category, I’m not sure how easy it is to use as I’ve never used it (I’m more comfortable using the command line tools for volumes and filesystems). And, it also has a Disk and Network Filesystems module in System category, but I don’t think it knows how to resize. Resizing filesystems is a pretty unusual thing on servers. Usually you give it the whole disk at install time and never think about it again.
Webmin/Virtualmin does not have a filesystem size display limit. OP just accepted the defaults when installing Ubuntu, and Ubuntu gave them 100GB, because Ubuntu is stupid.
actually the 999 GB I typed earlier in this thread was wrong … it is 99 (finger check) … so it seems that because I simply accepted all of the defaults when installing Ubuntu 24.04.1 my 8TB RAID drive when the Ubuntu installer indicated it would use the entire 8TB disk it only produced a 100 GB of usable space instead … sigh
and there is an image a bit higher up in the thread that does show the size.
I did run the lsblk command and it appears to show that there is 7.3TB of unallocated space left … I can probably figure out how to extend the 100GB partition that Virtualmin is using … not going to rush, will do some more reading and maybe a dry run on a different system before I try it on the live webserver though.
do you know if this tool “LVM volume tab” in the Ubuntu 24.04.1 downloaded installation DVD ISO ?
I would like to find it and see if I can understand how to use it before I try it on the system that I just installed.
And that tab lets you expand a partition. My system was the same. 2TB but little allocated. I just did it as needed until I had a feel for what was needed. /var ended up need way more space that I would have thought because of backups and package management.