Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


kvm_grow_pv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kvm_grow_pv [2015/06/19 07:01] – [KVM grow PV] adminkvm_grow_pv [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
 {{tag>[kvm grow pv]}} {{tag>[kvm grow pv]}}
-~~TOC~~ 
  
 =====KVM grow PV===== =====KVM grow PV=====
Line 60: Line 59:
 Syncing disks.</code> Syncing disks.</code>
   * If disk is in use, reboot. Else try partprobe or kpartx.   * If disk is in use, reboot. Else try partprobe or kpartx.
-  * Resize PV:<code>pvresize /dev/sda2</code>+  * Resize PV:<code>pvresize /dev/sda2 
 +  Physical volume "/dev/sda2" changed 
 +  1 physical volume(s) resized / 0 physical volume(s) not resized</code> 
 +  * Verify new size:<code>[root@srv2 ~]# pvs 
 +  PV         VG     Fmt  Attr PSize   PFree   
 +  /dev/sda2  centos lvm2 a--  512.00g 230.00g</code>
  
kvm_grow_pv.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1