dodavanje particije na XEN VM

Na XEN hostu, napravimo novu particiju na LVMu:

lvcreate -L +30G -n srv_raw3 vol

Potom u XEN VM configu dodamo u disk deo:

'phy:/dev/vol/srv_raw3,xvda5,w'

Ali da ne bi gasili i palili VM, mozemo dodati odmah:

xm block-attach srv phy:/dev/vol/srv_raw3 xvda5 w

u dmsg na virtualnoj mashini se pojavilo samo jedno:

[3658600.114552] blkfront: xvda5: barriers enabled

i block device /dev/xvda5

Potrebno je josh uraditi neshto korisno sa njim 🙂

This entry was posted in linux and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.