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

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.