**If you've upgraded from SSD VPS 1 to 2 to 3 then the instructions are a bit Draconian to get your extra disk space added on (memory & CPU will be automatic).**
**This was tried and tested on a working CentOS 7 cPanel server from VPS SSD 1 to 2 and no issues.**
**So rather than reboot to recovery and not have LVM2 available for lvextend, nor be able to install it or anything else and I've never been happy with the Russian Roulette of deleting and recreating the root partition I found this works.**
**3 simple steps while the VPS is still running with no dodgy deleting of partitions, although give it a reboot when you can.**
**You can use terminal from WHM for this if you like or any SSH client and assuming the basic VPS SSD setup for 1 disk issue these commands;**
**---------------------------------------------------------------------------**
**yum install cloud-utils**
**growpart /dev/sda 1 (notice space before the 1 and this will allocate all available free space)**
**resize2fs /dev/sda1**
**--------------------------------------------------------------------------**
**And your done!**
**I wouldn't say it was a bad move to reboot to rescue mode and do a system file check but I found no issues.**
**Hope this helps someone out that gets a bit frustrated at rescue boots having nothing like the toolset you'd like :slight_smile: or the option to boot to a live OS to carry out maint work.**
Upgrading your VPS - need to extend your disk? The Easy way!
Related questions
- Installing Operating System from custom image on OVH VPS ( CentOS 8 Tutorial)
9274
11.01.2020 21:11
- Remote access to MySQL database
4912
16.01.2018 15:29
- Nameserver for my vps
4617
07.08.2018 11:35
- Redirect domain to vps
4427
03.01.2018 22:32
- IPv6 Configuration
4240
30.07.2018 12:50
- Change server location
3859
06.11.2020 10:16
- Not able to connect to my server at all
3530
17.09.2020 19:56
- How to OVH Firewall and VPN
3475
29.10.2019 12:16
- Test latency of EU data centers
2733
30.01.2019 20:50