Here is what I was trying to do..
Pass the drive to the guest.
[{user}@dom0 {folder}]$ qvm-block -a {vmname} dom0:/dev/sdc
Usage: qvm-block -l [options]
usage: qvm-block -a [options] <vm-name> <device-vm-name>:<device>
usage: qvm-block -A [options] <vm-name> <file-vm-name>:<file>
usage: qvm-block -d [options] <device-vm-name>:<device>
usage: qvm-block -d [options] <vm-name>
List/set VM block devices.
qvm-block: error: Invalid device name: dom0:/dev/sdc
Why does it say that it's invalid device?
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
The device is there, so what's happenned?
Hope someone can help please.
Sincerely,
Drew.
Same thing, just doesn't have the "/dev/" in the text...
Thanks for the link... Aparently.
root@dom0 {folder}]$ xl block-attach {VMNAME} phy:/dev/sdc xvdr
I had to use that.
So that worked, but qvm-block doesn't.
Is this a bug in qvm-block?
Dom0: detects drive, but no partitions are on the drive it can read or use so the system does nothing with it.
fdisk sees the drive and partitions.
So it wasn't in use at all in Dom0.
That's changed since then. I'll have to get the drive and let you know that detail.