From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cole Robinson Subject: Re: virt-install: hda disks? Date: Wed, 30 Sep 2009 11:14:51 -0400 Message-ID: <4AC375EB.1060707@redhat.com> References: <4AC37075.3090901@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, virt-tools-list To: James Brackinshaw Return-path: Received: from mx1.redhat.com ([209.132.183.28]:5430 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752299AbZI3POq (ORCPT ); Wed, 30 Sep 2009 11:14:46 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 09/30/2009 11:11 AM, James Brackinshaw wrote: > On Wed, Sep 30, 2009 at 4:51 PM, Cole Robinson 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