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
Next revisionBoth sides next revision
kvm_grow_pv [2015/06/19 06:58] – [KVM grow PV] adminkvm_grow_pv [2015/06/19 07:07] – [KVM grow PV] admin
Line 48: Line 48:
    Device Boot      Start         End      Blocks   Id  System    Device Boot      Start         End      Blocks   Id  System
 /dev/sda1          2048     1026047      512000   83  Linux /dev/sda1          2048     1026047      512000   83  Linux
-/dev/sda2         1026048  1074767871   536870912   83  Linux</code>+/dev/sda2         1026048  1074767871   536870912   83  Linux 
 + 
 +Command (m for help): w 
 +The partition table has been altered! 
 + 
 +Calling ioctl() to re-read partition table. 
 + 
 +WARNING: Re-reading the partition table failed with error 16: Device or resource busy. 
 +The kernel still uses the old table. The new table will be used at 
 +the next reboot or after you run partprobe(8) or kpartx(8) 
 +Syncing disks.</code> 
 +  * If disk is in use, reboot. Else try partprobe or kpartx. 
 +  * Resize PV:<code># pvresize /dev/sda2 
 +  Physical volume "/dev/sda2" changed 
 +  1 physical volume(s) resized / 0 physical volume(s) not resized</code> 
kvm_grow_pv.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1