Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > Suggestions > Topic : Add SATA Option for Disk Driver



Threaded Mode | Print  

 Add SATA Option for Disk Driver (4 Replies, Read 2195 times)
m9shyamalan
Group: Member
Post Group: Newbie
Posts: 17
Status:
I recently imported a VPS from a RAW image created by a customer who had not installed any drivers prior to taking their disk image. As this was a Windows VM, neither the SCSI or VirtIO disk driver options would allow the VPS to boot once imported.
Once I had manually edited the xml config file for the VPS to use the SATA bus for the disk, I was able to boot the VPS and install the necessary drivers to use the VirtIO bus for the disk.

I believe that an option to use the SATA disk interface would be greatly beneficial and save those less knowledgable about kvm from digging into config files they shouldn't really be touching.
IP: --   

Add SATA Option for Disk Driver
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 552
Status:
Hi,

May I know what exact changes were made ?

Are you using Virtualizor over Proxmox server ?

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

Add SATA Option for Disk Driver
m9shyamalan
Group: Member
Post Group: Newbie
Posts: 17
Status:
Quote From : jevingala August 11, 2020, 8:16 am
Hi,

May I know what exact changes were made ?

Are you using Virtualizor over Proxmox server ?


I am using Virtualizor/KVM on CentOS7. 

For the primary disk in the domain xml, I changed bus=virtio to bus=sata, which I found in the livirt docs
I know this isn't a permanent change, and will be reverted at next edit of the VPS, which is why I think having SATA as an IO option in the webUI would allow a native option for Windows VMs before the drivers are installed.
IP: --   

Add SATA Option for Disk Driver
m9shyamalan
Group: Member
Post Group: Newbie
Posts: 17
Status:
Quote From : m9shyamalan August 17, 2020, 1:49 am


For the primary disk in the domain xml, I changed bus=virtio to bus=sata, which I found in the livirt docs
I know this isn't a permanent change, and will be reverted at next edit of the VPS, which is why I think having SATA as an IO option in the webUI would allow a native option for Windows VMs before the drivers are installed.
Specifically, this is the section in question:
PHP Code

 <devices>
<
emulator>/usr/libexec/qemu-kvm</emulator>
    <
disk type='block' device='disk'>
          <
driver name='qemu'  cache='none' io='threads'/>
          <
source dev='/dev/virtualizor/targetdevice'/>
          <
target dev='vda' bus='sata' /> 

IP: --   

Add SATA Option for Disk Driver
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 552
Status:
Hi,

Didn't choosing none for Select Disk driver option on manage vps page helped for that vps ?



-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is November 30, 2020, 11:12 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.231