Resize HDD Partitions after upgrade

Courtesy of one our current clients :)


Solution: use fdisk when the system is live to delete the main partition
(this just deletes it from the file table and doesn't actually damage the
partition in any way) and recreate it - as long as it has the same starting
block and ends past the previous ending block it'll be fine. After that you
can reboot (or use partprobe/kpartx to get the kernel to re-read the
partition table) and then resize2fs <disk>, which does an online resize. No
downtime!

If this does not work for your situation we can have your vm rebuilt fresh after the upgrade just let us know if you need help reimaging.

Ця відповідь Вам допомогла?

 Роздрукувати цю статтю

Також прочитайте

How to add IPv6 Addy to your VPS

How to enable your Ipv6 AddressesIf your unsure if you have an ipv6 assigned you can see it...

IP/SSH is unreachable for my VPS

Please note that your KVM VPS requires an OS install before you will be able to use ssh or...

How to install OpenVPN

How to install OpenVPNOpenVPN is a free and open source software application that implements...

KVM Install Guide

Table of Contents KVM Basic Install Individual Install Guides...

Ultimate Seedbox aka DreamLeecher

Ultimate DreamLeecher (seedbox+usenet+streaming)Recommended Specs kvm virtualization Debian...