Re: mdadm on reboot

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



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@xxxxxxxxx>
> > 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@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
picked up

eg on my machine I have 4 disks in a RAID5 thus:
md3 : active raid5 sdd4[3] sdc3[2] sdb2[1] sda1[0]
      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.


-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux