Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to get raid
Date: Sat, 07 Jan 2012 17:47:14
Message-Id: 2000677.YtTZ8syHYz@localhost
In Reply to: Re: [gentoo-user] How to get raid by Jeff Cranmer
1 Am Samstag, 7. Januar 2012, 12:20:08 schrieb Jeff Cranmer:
2 > On Sat, 2012-01-07 at 10:11 -0500, Jeff Cranmer wrote:
3 > > > > > What am I missing?
4 > > > >
5 > > > > have you set the type to linux raid autodetect?
6 > > > >
7 > > > > have you tried mdadm --assemble?
8 > > >
9 > > > mdadm --assemble /dev/md0 didn't make any difference.
10 > > > Where do I set the type?
11 > >
12 > > after assembling,
13 > > results of cat/proc/mdstat
14 > > personalities : [linear] [raid0] [raid10] [raid6] [raid5] [raid4]
15 > > [multipath] [faulty]
16 > > md0 : inactive sdb1[0](S) sdd1[3](S) sdc1[1](S)
17 > >
18 > > 4395409608 blocks super 1.2
19 > >
20 > > unused devices: <none>
21 > >
22 > > results of mdadm --detail /dev/md0
23 > > mdadm: md device /dev/md0 does not appear to be active.
24 > >
25 > > results of /etc/init.d/mdadm status
26 > >
27 > > * status: started
28 > >
29 > > fstab line
30 > > /dev/md0 /data xfs noatime 0 0
31 > >
32 > > Is there a raid option I need to add to the fstab entry?
33 > > Is there another service that needs to run, other than mdam?
34 > >
35 > > Thanks
36 > >
37 > > Jeff
38 >
39 > I tried changing the type of each array element in fdisk to fd (linux
40 > raid autodetect.
41 >
42 > The array is still not being recognised at boot, with the same 'cannot
43 > read superblock' error.
44 >
45 > I also tried re-running mdadm --create /dev/md0 --level=5
46 > --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1
47 > I get the error
48 > mdadm: device /dev/sdb1 not suitable for any style of array.
49 >
50 > What is going on here?
51
52 I am thinking ;)
53
54
55 --
56 #163933

Replies

Subject Author
Re: [gentoo-user] How to get raid Jeff Cranmer <jeff@××××××××××××××.com>