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.

آیا این پاسخ به شما کمک کرد؟

 پرینت این مقاله

در همین زمینه

Display OS information

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

VPS

VPS FAQ:  Here, We are going to discuss about some FAQs related to VPS. What is a VPS?...

What Does Unmanaged mean?

What does unmanaged mean? To keep our server rental costs as low as possible and because most...

Easy ruTorrent installer + Web server, FTP, Webmin (Ubuntu/Debian/Fedora/More)

All credit goes to Author brock from forums.rutorrent.org  original post here for reference also...

Securing OpenSSH (Change Default Port etc)

To change the SSH port number login as root and edit /etc/ssh/sshd_config Find the line that...