On Mon, Jun 16, 2008 at 12:09 AM, Les Mikesell <lesmikesell at gmail.com> wrote: > drew einhorn wrote: > >> Hi, >> >> I'm in the process of trying mdadm for the first time >> >> I've been trying stuff out of tutorials, etc. >> >> At this point I know how to create stripes, and mirrors. >> >> My stripe is automatically restarting on reboot, >> but the degraded mirror isn't. >> > > 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 The number of cylinders for this disk is set to 244123680. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/md1: 999.9 GB, 999930593280 bytes 2 heads, 4 sectors/track, 244123680 cylinders Units = cylinders of 8 * 512 = 4096 bytes Device Boot Start End Blocks Id System /dev/md1p1 1 244123680 976494718 fd Linux raid autodetect Command (m for help): q but the attempt to create md2 fails: [drew at funGus ~]$ sudo mdadm -C -ayes /dev/md2 --level=raid1 --raid-devices=2 missing /dev/md1p1 mdadm: Cannot open /dev/md1p1: No such file or directory mdadm: create aborted [drew at funGus ~]$ sudo mdadm -C -ayes /dev/md2 --level=raid1 --raid-devices=2 missing /dev/md1p1 mdadm: Cannot open /dev/md1p1: No such file or directory mdadm: create aborted Hmm. That's right. I does not exist. [drew at funGus dev]$ ls -l /dev/md* brw-r----- 1 root disk 9, 0 Jun 16 06:43 /dev/md0 brw-r----- 1 root disk 9, 1 Jun 16 06:46 /dev/md1 brw-r----- 1 root disk 9, 2 Jun 16 06:48 /dev/md2 [drew at funGus dev]$ > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Drew Einhorn -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080616/2ea49fb7/attachment-0005.html>