Root partition resize problem
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Anton
  2. Wednesday, 08 February 2017
  3.  Subscribe via email
After resizing root partition I got a problem.
Disk space growing up (in hypervisor) during all time when VM is running.
I installed CloudLinux on LVM and used standard way: lvextend and resize2fs to resize root partition
Rate this post:
  1. 08.02.2017 14:02:26
  2. # 1
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
So far not sure why it is going that way. In short - it should works same way as on CentOS / RHEL .

What virtualization you are using?
  1. 08.02.2017 14:02:06
  2. # 2
anton Accepted Answer
Posts: 0
Joined: 07.12.2019
0
Votes
Undo
Proxmox.
  1. 08.02.2017 15:02:35
  2. # 3
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
I am reading https://forum.proxmox.com/threads/resize-a-kvm-lvm-hardisk.8553/ and would like to be sure you follow same:

You must stop and start the VM (so that the bios see the bigger disk). After that it's depends on your VM (used partition layout, filesystem). If your VM used also lvm, you can (all inside the VM!)
a) create a new partition on the new space and add them to the vg; after that expand the lv and do an resize2fs
b) expand your existing partition (perhaps after that a reboot of the VM is nessearry, because the kernel use the old partition-table (lvm)).
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.