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.

Var dette svaret til hjelp?

 Print

Les også disse

Windows VPS FAQ

Windows VPS FAQYour server comes as a trial install.You must provide your own license. We do not...

How to set a Reverse DNS (rDNS)

Currently this can't be done by clients. Please submit a support ticket with the: IPv4/Ipv6...

KVM Install Guide

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

Debian asking to insert cdrom to update?

open a terminalsunano /etc/apt/sources.listput a # in front of the line talking bout cd's (or...

Display OS information

Run the "uname -a" command in SSH to display the active kernel version, to view your OS's Distro...