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
Last revisionBoth sides next revision
kvm_grow_pv [2015/06/19 07:01] – [KVM grow PV] adminkvm_grow_pv [2015/06/19 07:08] – [KVM grow PV] admin
Line 60: Line 60:
 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