Re: virt-install: hda disks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/30/2009 11:11 AM, James Brackinshaw wrote:
> On Wed, Sep 30, 2009 at 4:51 PM, Cole Robinson <crobinso@xxxxxxxxxx> wrote:
>> 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@xxxxxxxxxx
> 
> Thanks.
> 
>>> 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
> 
> Is virtio stable and recommended?

Sorry, forgot about that. If you are installing a RHEL5.4 guest, use

virt-install --disk ...,model=virtio

or

virt-install --os-variant virtio26

which will take care of disk and networking defaults.

- Cole
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux