KVM: LUN Passthrough of SATA disk

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












When adding a physical hard disk to a virtual machine running on KVM using the LUN Passthrough mode in virt-manager, I get the following error:



Error adding device: unsupported configuration: disk 'sda' improperly configured for a device='lun'


I am trying to give the guest access to a 3 TB hard drive attached via SATA. When trying to add the disk manually with virsh edit, I get a similar error. Is it possible to use LUN Passthrough with a SATA disk? If so, how can I avoid this error?










share|improve this question





















  • Try using Disk device as Device Type and just enter /dev/sda in the Manage field, instead of clicking Manage.
    – Thomas
    yesterday










  • @Thomas Thanks for the suggestion. I've tried that and it works, however I specifically want to use LUN Passthrough.
    – wispi
    yesterday










  • Do you have a Virtio SCSI Controller attached to the VM? Just tested and did work.
    – Thomas
    yesterday










  • @Thomas Yes, I have a virtio SCSI controller attached. What operating system did you use, and what bus is your physical disk attached with? It seems to work for me when using a USB drive, but not for a SATA hard disk.
    – wispi
    yesterday










  • Operation system ist FC27 and physical disk is SATA attached.
    – Thomas
    yesterday















up vote
0
down vote

favorite












When adding a physical hard disk to a virtual machine running on KVM using the LUN Passthrough mode in virt-manager, I get the following error:



Error adding device: unsupported configuration: disk 'sda' improperly configured for a device='lun'


I am trying to give the guest access to a 3 TB hard drive attached via SATA. When trying to add the disk manually with virsh edit, I get a similar error. Is it possible to use LUN Passthrough with a SATA disk? If so, how can I avoid this error?










share|improve this question





















  • Try using Disk device as Device Type and just enter /dev/sda in the Manage field, instead of clicking Manage.
    – Thomas
    yesterday










  • @Thomas Thanks for the suggestion. I've tried that and it works, however I specifically want to use LUN Passthrough.
    – wispi
    yesterday










  • Do you have a Virtio SCSI Controller attached to the VM? Just tested and did work.
    – Thomas
    yesterday










  • @Thomas Yes, I have a virtio SCSI controller attached. What operating system did you use, and what bus is your physical disk attached with? It seems to work for me when using a USB drive, but not for a SATA hard disk.
    – wispi
    yesterday










  • Operation system ist FC27 and physical disk is SATA attached.
    – Thomas
    yesterday













up vote
0
down vote

favorite









up vote
0
down vote

favorite











When adding a physical hard disk to a virtual machine running on KVM using the LUN Passthrough mode in virt-manager, I get the following error:



Error adding device: unsupported configuration: disk 'sda' improperly configured for a device='lun'


I am trying to give the guest access to a 3 TB hard drive attached via SATA. When trying to add the disk manually with virsh edit, I get a similar error. Is it possible to use LUN Passthrough with a SATA disk? If so, how can I avoid this error?










share|improve this question













When adding a physical hard disk to a virtual machine running on KVM using the LUN Passthrough mode in virt-manager, I get the following error:



Error adding device: unsupported configuration: disk 'sda' improperly configured for a device='lun'


I am trying to give the guest access to a 3 TB hard drive attached via SATA. When trying to add the disk manually with virsh edit, I get a similar error. Is it possible to use LUN Passthrough with a SATA disk? If so, how can I avoid this error?







kvm qemu libvirt sata virtio






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









wispi

595




595











  • Try using Disk device as Device Type and just enter /dev/sda in the Manage field, instead of clicking Manage.
    – Thomas
    yesterday










  • @Thomas Thanks for the suggestion. I've tried that and it works, however I specifically want to use LUN Passthrough.
    – wispi
    yesterday










  • Do you have a Virtio SCSI Controller attached to the VM? Just tested and did work.
    – Thomas
    yesterday










  • @Thomas Yes, I have a virtio SCSI controller attached. What operating system did you use, and what bus is your physical disk attached with? It seems to work for me when using a USB drive, but not for a SATA hard disk.
    – wispi
    yesterday










  • Operation system ist FC27 and physical disk is SATA attached.
    – Thomas
    yesterday

















  • Try using Disk device as Device Type and just enter /dev/sda in the Manage field, instead of clicking Manage.
    – Thomas
    yesterday










  • @Thomas Thanks for the suggestion. I've tried that and it works, however I specifically want to use LUN Passthrough.
    – wispi
    yesterday










  • Do you have a Virtio SCSI Controller attached to the VM? Just tested and did work.
    – Thomas
    yesterday










  • @Thomas Yes, I have a virtio SCSI controller attached. What operating system did you use, and what bus is your physical disk attached with? It seems to work for me when using a USB drive, but not for a SATA hard disk.
    – wispi
    yesterday










  • Operation system ist FC27 and physical disk is SATA attached.
    – Thomas
    yesterday
















Try using Disk device as Device Type and just enter /dev/sda in the Manage field, instead of clicking Manage.
– Thomas
yesterday




Try using Disk device as Device Type and just enter /dev/sda in the Manage field, instead of clicking Manage.
– Thomas
yesterday












@Thomas Thanks for the suggestion. I've tried that and it works, however I specifically want to use LUN Passthrough.
– wispi
yesterday




@Thomas Thanks for the suggestion. I've tried that and it works, however I specifically want to use LUN Passthrough.
– wispi
yesterday












Do you have a Virtio SCSI Controller attached to the VM? Just tested and did work.
– Thomas
yesterday




Do you have a Virtio SCSI Controller attached to the VM? Just tested and did work.
– Thomas
yesterday












@Thomas Yes, I have a virtio SCSI controller attached. What operating system did you use, and what bus is your physical disk attached with? It seems to work for me when using a USB drive, but not for a SATA hard disk.
– wispi
yesterday




@Thomas Yes, I have a virtio SCSI controller attached. What operating system did you use, and what bus is your physical disk attached with? It seems to work for me when using a USB drive, but not for a SATA hard disk.
– wispi
yesterday












Operation system ist FC27 and physical disk is SATA attached.
– Thomas
yesterday





Operation system ist FC27 and physical disk is SATA attached.
– Thomas
yesterday
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473737%2fkvm-lun-passthrough-of-sata-disk%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473737%2fkvm-lun-passthrough-of-sata-disk%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay