mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #298] How to attach (expose/passtrough) phisical disk device from host to guest instance? #194
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lord-kyron on GitHub (Feb 21, 2020).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/298
Hi @catborise
how can I attach physical disks from the host to the instance guest from the UI?
I know I can edit the XML, but is there legitimate way to do it from the UI?
Am I right that first I need to expose the disk from the compute host as LVM storage and then attach it to the VM or?
Please, explain!
Thanks!
@catborise commented on GitHub (Feb 21, 2020):
@lord-kyron hi. i want to ask why do you wan to do this?
what is the situation. may be there are other choices...
you can add block or lvm disk to the guest. it is your choice, but redhat suggests lvm disk.
and also there are two choices while adding host devices to guest.
hostdev not implemented with webvirtcloud but it is planned.
for now two methods require xml editing.
@lord-kyron commented on GitHub (Feb 21, 2020):
@catborise I want to use ZFS RaidZ inside a VM, so my idea is to attach two disks as block devices directly passtrough from the host and setup zfs on top of them but from the VM they are attached to.
What do you suggest to use? Block or LVM? Previously I used block every time. And I've edited the XML. I just tought that tere is maybe more refined way to do this from the UI.
@lord-kyron commented on GitHub (Feb 24, 2020):
@catborise ?
@catborise commented on GitHub (Feb 24, 2020):
it is a complex action, brcause of that we did not implement it. you can use virt-manager for more complex additions. virt-manager supports hostdev and blockdevice additions.