[virt-tools-list] Re: virt-install: hda disks?

Cole Robinson crobinso at redhat.com
Wed Sep 30 14:51:33 UTC 2009


On 09/30/2009 10:28 AM, James Brackinshaw wrote:
> Hi,
> 
> Not sure if this is the right place to ask this.
> 

virt-install questions should be directed to virt-tools-list at redhat.com

> I'm getting hda disks by default with kvm under RHEL5.4 using
> virt-install. This seems an odd default. Is there a reason for hda
> disks over sda disks? Can I change this?
> 

virt-install/libvirt defaults to IDE for disk devices (as does directly
launching qemu or kvm). These disks will show up in a RHEL5 guest as
/dev/hda, etc. In newer distros, these disks show up as /dev/sda, etc.
It's just a matter of the RHEL5 stack being older than the hdX -> sdX
change.

If you want to use scsi disks via virt-install, you can use:

virt-install --disk ...,bus=scsi

Though AIUI it's generally considered buggy at the qemu level, and may
even be disabled in RHEL5.4

- Cole




More information about the virt-tools-list mailing list