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

[Xen-users] mdadm in Domain ?


  • To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Tegger <xen@xxxxxxxxx>
  • Date: Mon, 19 Jul 2010 22:49:35 +0200
  • Delivery-date: Mon, 19 Jul 2010 13:51:05 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

i tried to make a RAID5 Software Raid with 3 HDDs


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

    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: 0x7b497238

    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: 0x0009ae6e

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


but i got the error

SAMBA:~# mdadm --create /dev/md0 --level=5 --raid-device=3 /dev/xvdb1 
/dev/xvdc1 /dev/xvdd1
mdadm: /dev/xvdb1 appears to contain an ext2fs file system
    size=234259796K  mtime=Sun Jul 18 10:15:45 2010
mdadm: /dev/xvdb1 appears to be part of a raid array:
    level=raid5 devices=3 ctime=Sun Jul 18 12:44:32 2010
mdadm: /dev/xvdc1 appears to be part of a raid array:
    level=raid5 devices=3 ctime=Sun Jul 18 12:44:32 2010
mdadm: /dev/xvdd1 appears to contain an ext2fs file system
    size=248976K  mtime=Thu Jan  1 01:00:00 1970
mdadm: /dev/xvdd1 appears to be part of a raid array:
    level=raid5 devices=3 ctime=Sun Jul 18 12:44:32 2010
Continue creating array? yes
mdadm: RUN_ARRAY failed: Invalid argument
mdadm: stopped /dev/md0




why is it not working ?

_______________________________________________
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®.