Editing LVM+DRBD+LVM+KVM+LVM Resize
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== info == | == info == | ||
PV -> VG -> LV -> DRBD -> VG (clvmd) -> LV -> KVM Virt | PV -> VG -> LV -> DRBD -> VG (clvmd) -> LV -> KVM Virt | ||
== resize LVM backing device == | == resize LVM backing device == | ||
Line 27: | Line 27: | ||
Logical volume drbd_hopmon successfully resized | Logical volume drbd_hopmon successfully resized | ||
</source> | </source> | ||
== Resize DRBD (online) == | == Resize DRBD (online) == | ||
Line 77: | Line 75: | ||
/dev/vda2 1026048 16777215 7875584 8e Linux LVM | /dev/vda2 1026048 16777215 7875584 8e Linux LVM | ||
</source> | </source> | ||
<source> | <source> | ||
fdisk -u /dev/vda | fdisk -u /dev/vda | ||
Line 93: | Line 87: | ||
p | p | ||
Partition number (1-4): 2 | Partition number (1-4): 2 | ||
First sector (63-20971519, default 63): 1026048 | First sector (63-20971519, default 63): 1026048 | ||
Last sector, +sectors or +size{K,M,G} (1026048-20971519, default 20971519): | Last sector, +sectors or +size{K,M,G} (1026048-20971519, default 20971519): | ||
Using default value 20971519 | Using default value 20971519 | ||
Line 127: | Line 119: | ||
</source> | </source> | ||
* And another reboot for the guest to see the disk change? odd | |||
* | |||
<source> | <source> | ||
pvs | pvs |