kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* virt-install: hda disks?
@ 2009-09-30 14:28 James Brackinshaw
  2009-09-30 14:51 ` Cole Robinson
  0 siblings, 1 reply; 6+ messages in thread
From: James Brackinshaw @ 2009-09-30 14:28 UTC (permalink / raw)
  To: kvm

Hi,

Not sure if this is the right place to ask this.

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?

Thanks,

JB

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: virt-install: hda disks?
  2009-09-30 14:28 virt-install: hda disks? James Brackinshaw
@ 2009-09-30 14:51 ` Cole Robinson
  2009-09-30 15:11   ` James Brackinshaw
  0 siblings, 1 reply; 6+ messages in thread
From: Cole Robinson @ 2009-09-30 14:51 UTC (permalink / raw)
  To: James Brackinshaw; +Cc: kvm, virt-tools-list

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@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: virt-install: hda disks?
  2009-09-30 14:51 ` Cole Robinson
@ 2009-09-30 15:11   ` James Brackinshaw
  2009-09-30 15:14     ` Cole Robinson
  0 siblings, 1 reply; 6+ messages in thread
From: James Brackinshaw @ 2009-09-30 15:11 UTC (permalink / raw)
  To: Cole Robinson; +Cc: kvm, virt-tools-list

On Wed, Sep 30, 2009 at 4:51 PM, Cole Robinson <crobinso@redhat.com> 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@redhat.com

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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: virt-install: hda disks?
  2009-09-30 15:11   ` James Brackinshaw
@ 2009-09-30 15:14     ` Cole Robinson
  2009-09-30 15:18       ` James Brackinshaw
  0 siblings, 1 reply; 6+ messages in thread
From: Cole Robinson @ 2009-09-30 15:14 UTC (permalink / raw)
  To: James Brackinshaw; +Cc: kvm, virt-tools-list

On 09/30/2009 11:11 AM, James Brackinshaw wrote:
> On Wed, Sep 30, 2009 at 4:51 PM, Cole Robinson <crobinso@redhat.com> 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@redhat.com
> 
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: virt-install: hda disks?
  2009-09-30 15:14     ` Cole Robinson
@ 2009-09-30 15:18       ` James Brackinshaw
  2009-09-30 15:23         ` Cole Robinson
  0 siblings, 1 reply; 6+ messages in thread
From: James Brackinshaw @ 2009-09-30 15:18 UTC (permalink / raw)
  To: Cole Robinson; +Cc: kvm, virt-tools-list

> virt-install --os-variant virtio26
>
> which will take care of disk and networking defaults.
>
> - Cole
>

Ah. For networking, is this in addition to, or instead of <model
type="e1000" /> ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: virt-install: hda disks?
  2009-09-30 15:18       ` James Brackinshaw
@ 2009-09-30 15:23         ` Cole Robinson
  0 siblings, 0 replies; 6+ messages in thread
From: Cole Robinson @ 2009-09-30 15:23 UTC (permalink / raw)
  To: James Brackinshaw; +Cc: kvm, virt-tools-list

On 09/30/2009 11:18 AM, James Brackinshaw wrote:
>> virt-install --os-variant virtio26
>>
>> which will take care of disk and networking defaults.
>>
>> - Cole
>>
> 
> Ah. For networking, is this in addition to, or instead of <model
> type="e1000" /> ?

Instead.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-30 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30 14:28 virt-install: hda disks? James Brackinshaw
2009-09-30 14:51 ` Cole Robinson
2009-09-30 15:11   ` James Brackinshaw
2009-09-30 15:14     ` Cole Robinson
2009-09-30 15:18       ` James Brackinshaw
2009-09-30 15:23         ` Cole Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).