Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


kvm_shrink_nested_lvm

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
kvm_shrink_nested_lvm [2014/06/11 17:54]
admin
kvm_shrink_nested_lvm [2014/06/11 17:56] (current)
admin [KVM shrink nested LVM]
Line 19: Line 19:
 pvresize -v --setphysicalvolumesize 16G /​dev/​vda2</​code>​ pvresize -v --setphysicalvolumesize 16G /​dev/​vda2</​code>​
   * On the KVM host, reduce the LV. <​code>​lvresize -L16G /​dev/​vg_kvm1/​vmns2</​code>​   * On the KVM host, reduce the LV. <​code>​lvresize -L16G /​dev/​vg_kvm1/​vmns2</​code>​
 +  * On the guest force fsck check at next boot, and reboot. <​code>​touch /forcefsck
 +reboot</​code>​
 +
  
  
kvm_shrink_nested_lvm.txt ยท Last modified: 2014/06/11 17:56 by admin