Xen🔗
Add block storage to a live VM without downtime🔗
xm toolstack🔗
xm block-attach drupal9 phy:/dev/vg_xen25/drupal9_swap xvda2 w
xl toolstack🔗
First you need to find the domain ID:
xl list | grep rek-web01 | awk '{print $2}'
Let's say this spits out "46", and now you can add the block storage:
xl -v block-attach 46 phy:/dev/vg_xen1/rek-web01_swap xvda1 w
This was found here.
Messing with xen console🔗
xenconsoled --pid-file=/var/run/xenconsoled.pid