WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] sda instead of xvda ?`

To: admin@xxxxxxxxxxx
Subject: Re: [Xen-users] sda instead of xvda ?`
From: Tegger <xen@xxxxxxxxx>
Date: Sun, 01 Aug 2010 13:51:32 +0200
Cc: Major Hayden <major+xen@xxxxxxxx>, Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 01 Aug 2010 04:52:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimHzLKDjunRGAy80znRK_wfQRGZme7Yb8Yuk-qG@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C475A27.90507@xxxxxxxxx> <1C41D43F-7990-4E61-8439-C661744C9B09@xxxxxxxx> <AANLkTimHzLKDjunRGAy80znRK_wfQRGZme7Yb8Yuk-qG@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6
SAMBA:~# fdisk -l

Disk /dev/xvda2: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/xvda2 doesn't contain a valid partition table

Disk /dev/xvda1: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/xvda1 doesn't contain a valid partition table

Disk /dev/xvdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6492aa07

    Device Boot      Start         End      Blocks   Id  System
/dev/xvdb1               1       30401   244196001   fd  Linux raid autodetect

Disk /dev/xvdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd0551df2

    Device Boot      Start         End      Blocks   Id  System
/dev/xvdc1               1       30401   244196001   fd  Linux raid autodetect

Disk /dev/xvdd: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2edf965e

    Device Boot      Start         End      Blocks   Id  System
/dev/xvdd1               1       30401   244196001   fd  Linux raid autodetect



SAMBA:~# mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/xvdb1 /dev/xvdc1 /dev/xvdd1
mdadm: /dev/xvdb1 appears to be part of a raid array:
    level=raid5 devices=3 ctime=Wed Jul 21 22:28:54 2010
mdadm: /dev/xvdc1 appears to be part of a raid array:
    level=raid5 devices=3 ctime=Wed Jul 21 22:04:04 2010
mdadm: /dev/xvdd1 appears to be part of a raid array:
    level=raid5 devices=3 ctime=Wed Jul 21 22:28:54 2010
Continue creating array? yes
mdadm: RUN_ARRAY failed: Invalid argument
mdadm: stopped /dev/md0




SAMBA:~# cat /proc/mdstat
Personalities :
unused devices: <none>
SAMBA:~#



I didn't find any other error, so i think xvd* ist the invalid argument.......




Am 23.07.2010 00:38, schrieb David Markey:
I cant imagine mdadm would have any problems using xvda, can you give specific examples?

On 22 July 2010 21:22, Major Hayden <major+xen@xxxxxxxx> wrote:
If you don't mind using a custom kernel, you can patch it [1] to ensure that your disks appear as sdX rather than xvdX.

[1] http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00712.html

--
Major Hayden
major@xxxxxxxx

On Jul 21, 2010, at 15:35, Tegger wrote:

> Hi,
>
> how can i passthroughs HDD with sda instead of xvda ?
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users