[arch-general] Software RAID installation problems
Baho Utot
baho-utot at columbus.rr.com
Wed Jul 22 15:49:34 EDT 2009
On Wed, 2009-07-22 at 15:36 -0400, Samuel Baldwin wrote:
> On Wed, Jul 22, 2009 at 6:37 AM, Gerhard Brauer<gerhard.brauer at web.de> wrote:
> > Not sure if i understand: You don't boot from the raid arrays, correct?
> > These are only data or whatever arrays which you mount to /mnt/mdX?
>
> Correct.
>
> > Have you put your raid module (raid1) in /etc/rc.conf->MODULES and have
> > you put your array specs into /etc/mdadm.conf?
>
> Ach, that I did not do. I also messed up and didn't mdadm -D --scan >>
> /etc/mdadm.conf after installing (which I did beforehand by accident,
> blindly following the guide I was reading, heh). What's the difference
> between that and -E -s?
>
> > Also the partition types should be *fd* on all raid array members.
>
> What? I have /dev/md0 and /dev/md1 as 'ext4' type. That's bad?
>
That's the filesystem on the raid array.
The partition type should be fd... you set that using fdisk
The fd tells a system that the partition is part of a raid array.
You should set it on all the partitions that makeup md0 and md1
Here is the output from sudo fdisk -l
Notice under the Id column the fd type
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xef52ef52
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 12748 102398278+ 7 HPFS/NTFS
/dev/sdb2 12749 12814 530145 83 Linux
/dev/sdb3 12815 12880 530145 82 Linux swap /
Solaris
/dev/sdb4 12881 60801 384925432+ 5 Extended
/dev/sdb5 12881 14186 10490413+ fd Linux raid
autodetect
/dev/sdb6 14187 15492 10490413+ fd Linux raid
autodetect
/dev/sdb7 15493 16798 10490413+ 83 Linux
/dev/sdb8 16799 17452 5253223+ 83 Linux
/dev/sdb9 17453 18106 5253223+ 83 Linux
/dev/sdb10 18107 22023 31463271 83 Linux
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x05f505f4
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 12748 102398278+ 7 HPFS/NTFS
/dev/sdc2 12749 12814 530145 83 Linux
/dev/sdc3 12815 12880 530145 82 Linux swap /
Solaris
/dev/sdc4 12881 60801 384925432+ 5 Extended
/dev/sdc5 12881 14186 10490413+ fd Linux raid
autodetect
/dev/sdc6 14187 15492 10490413+ fd Linux raid
autodetect
/dev/sdc7 15493 16798 10490413+ 83 Linux
/dev/sdc8 16799 17452 5253223+ 83 Linux
/dev/sdc9 17453 18106 5253223+ 83 Linux
/dev/sdc10 18107 22023 31463271 83 Linux
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xea26ea26
Device Boot Start End Blocks Id System
/dev/sda1 * 1 12748 102398278+ 7 HPFS/NTFS
/dev/sda2 12749 12814 530145 83 Linux
/dev/sda3 12815 12880 530145 82 Linux swap /
Solaris
/dev/sda4 12881 60801 384925432+ 5 Extended
/dev/sda5 12881 14186 10490413+ fd Linux raid
autodetect
/dev/sda6 14187 15492 10490413+ fd Linux raid
autodetect
/dev/sda7 15493 16798 10490413+ 83 Linux
/dev/sda8 16799 17452 5253223+ 83 Linux
/dev/sda9 17453 18106 5253223+ 83 Linux
/dev/sda10 18107 22023 31463271 83 Linux
More information about the arch-general
mailing list