Greetings!
So I have had our vMin server up for quite a while now and the disk space is finally getting low and will be maxed out soon. (The server is actual a virtual machine on vmware.) I increased the HDD space with vmware but the vMin server does not see that by default. So I am wondering if you have any experience with this and if there is a recommended way to increase the "partition" that CentOS see's or if there is a better way to accomplish this?
For reference:
Operating system CentOS Linux 7.3.1611 Webmin version 1.831 Virtualmin version 5.07 Theme version Authentic Theme 18.32 Time on system Saturday, April 8, 2017 2:32 PM Kernel and CPU Linux 3.10.0-514.10.2.el7.x86_64 on x86_64 Processor information Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 8 cores System uptime 289 days, 23 hours, 16 minutes Running processes 288 CPU load averages 2.07 (1 min) 1.95 (5 mins) 1.68 (15 mins) Real memory 7.46 GB total / 4.45 GB used Virtual memory 1.56 GB total / 48.16 MB used Local disk space 14.34 GB total / 1.91 GB free / 12.44 GB used Package updates All installed packages are up to date
Thanks a lot. Scott
Comments
Submitted by volk on Sat, 04/08/2017 - 13:44 Pro Licensee Comment #1
Since this is a CentOS related question and not specific to Virtualmin here you go: https://www.centos.org/forums/viewtopic.php?t=53334
Submitted by andreychek on Sat, 04/08/2017 - 21:09 Comment #2
Howdy -- how to do that does indeed depend on how the partitions are currently setup.
I'm not too familiar with vSphere, but if what it does is simply make the allocated hard drive space larger, it may still be necessary to use filesystem tools to expand the filesystem size.
The tools mentioned by volk above are indeed one way to do that, depending on how the partition is setup.
What is the output of the command "mount" on your server? That will show how your partitions are currently setup.
Submitted by kappler0 on Sun, 04/09/2017 - 08:01 Pro Licensee Comment #3
Hi, I was able to increase the partition - btw, great tutorial here for anyone else needing to do this: https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-exp...
Thanks!
Submitted by andreychek on Sun, 04/09/2017 - 10:56 Comment #4
What is the output of the commands "mount" and "df -h"?
And which partitions did you increase, and how much space should it have?