[virt-tools-list] Re: virt-install: hda disks?
crobinso at redhat.com
Wed Sep 30 15:14:51 UTC 2009
On 09/30/2009 11:11 AM, James Brackinshaw wrote:
> On Wed, Sep 30, 2009 at 4:51 PM, Cole Robinson <crobinso at redhat.com> wrote:
>> On 09/30/2009 10:28 AM, James Brackinshaw wrote:
>>> 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
>> 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
> Is virtio stable and recommended?
Sorry, forgot about that. If you are installing a RHEL5.4 guest, use
virt-install --disk ...,model=virtio
virt-install --os-variant virtio26
which will take care of disk and networking defaults.
More information about the virt-tools-list