[CentOS] mdadm on reboot
lists at spuddy.org
Mon Jun 16 14:03:54 UTC 2008
On Mon, Jun 16, 2008 at 07:02:17AM -0600, drew einhorn wrote:
> On Mon, Jun 16, 2008 at 12:09 AM, Les Mikesell <lesmikesell at gmail.com>
> > Is the partition type set to FD?
> That's the problem, but now I'm having trouble fixing it.
> md1 has a single partitions md1p1
> [drew at funGus ~]$ sudo fdisk /dev/md1
No; you need to set the partition type of the underlying physical partitions
on /dev/sda or wheverever your data really lives. This is what is
eg on my machine I have 4 disks in a RAID5 thus:
md3 : active raid5 sdd4 sdc3 sdb2 sda1
1465151808 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
So the raw partitions are sda1 sdb2 sdc3 sdd4
If I look at sda:
# fdisk -l /dev/sda
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 60801 488384001 fd Linux raid autodetect
That's where the "fd" needs to be.
More information about the CentOS