Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with mdadm creating new volumes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Crooksey
Apprentice
Apprentice


Joined: 26 Apr 2006
Posts: 239
Location: Vatican City

PostPosted: Tue May 28, 2013 12:40 pm    Post subject: Problem with mdadm creating new volumes Reply with quote

So I have 4 drives in my machine
Code:

/dev/sda
/dev/sdb
/dev/sdc
/dev/sdd

I have my entire system installed on /dev/sdb

I want to keep it this way, I then want to create a raid volume /dev/md with /dev/sdc and /dev/sdd

I will then rsync the contents of /dev/sdb into /dev/md

So I have copied the partition layout of /dec/sdb onto /dev/sdc and /dev/sdd and the filesytem type is "linux_raid_m"

I get either one or two errors when creating a new volume..
Code:

tradesite luke # mdadm --create /dev/md6 --chunk=4 --level=0 --raid-devices=2 /dev/sdc6 /dev/sdd6
mdadm: /dev/sdc6 appears to contain an ext2fs file system
size=195310204K  mtime=Thu Jan  1 01:00:00 1970
mdadm: /dev/sdc6 appears to be part of a raid array:
level=raid0 devices=2 ctime=Tue May 28 13:14:51 2013
mdadm: /dev/sdd6 appears to contain an ext2fs file system
size=195310204K  mtime=Thu Jan  1 01:00:00 1970
mdadm: /dev/sdd6 appears to be part of a raid array:
level=raid0 devices=2 ctime=Tue May 28 13:14:51 2013
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: RUN_ARRAY failed: Invalid argument
tradesite luke # dmesg | grep md:
[1052764.853209] md: bind<sdc6>
[1052764.861132] md: bind<sdd6>
[1052764.861929] md: personality for level 0 is not loaded!
[1052764.861943] md: md6 stopped.
[1052764.861947] md: unbind<sdd6>
[1052764.868698] md: export_rdev(sdd6)
[1052764.868707] md: unbind<sdc6>
[1052764.875695] md: export_rdev(sdc6)
[1052846.746937] md: bind<sdc6>
[1052846.747256] md: bind<sdd6>
[1052846.748030] md: personality for level 0 is not loaded!
[1052846.748044] md: md6 stopped.
[1052846.748047] md: unbind<sdd6>
[1052846.753686] md: export_rdev(sdd6)
[1052846.753695] md: unbind<sdc6>
[1052846.762671] md: export_rdev(sdc6)

Or I either get..

Code:

tradesite luke # mdadm --create /dev/md1 --chunk=4 --level=0 --raid-devices=2 /dev/sdc1 /dev/sdd1
mdadm: device /dev/sdc1 not suitable for any style of array
tradesite luke # dmesg | grep md:
tradesite luke #

I cannot work out why this is failing, although I can see the apparent error "md: personality for level 0 is not loaded!" I cant seem to find a specific fix for it.
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Tue May 28, 2013 1:57 pm    Post subject: Reply with quote

Do you got RAID Support into your Kernel? Modules loaded?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum