On Wed, 16 Feb 2005 12:50:40 -0600 (CST), Nate Carlson <natecars at real-time.com> wrote: > Are the partition types 0xfd for all drives? What kernel version is > running on this box? > > Even if the kernel doesn't autodetect it, most distros will run a > raidtools init script on startup that will fire up the arrays. Now we're back to Monday... I run LVM on /dev/md4. Therefore, when I partition it, it comes up as /dev/md4p1. Here's some output: [root at netman etc]# fdisk -l Disk /dev/sda: 9100 MB, 9100369920 bytes 255 heads, 63 sectors/track, 1106 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 fd Linux raid autodetect /dev/sda2 14 111 787185 fd Linux raid autodetect /dev/sda3 112 175 514080 fd Linux raid autodetect /dev/sda4 176 1106 7478257+ fd Linux raid autodetect Disk /dev/sdb: 9100 MB, 9100369920 bytes 255 heads, 63 sectors/track, 1106 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 13 104391 fd Linux raid autodetect /dev/sdb2 14 111 787185 fd Linux raid autodetect /dev/sdb3 112 175 514080 fd Linux raid autodetect /dev/sdb4 176 1106 7478257+ fd Linux raid autodetect Disk /dev/sdc: 18.2 GB, 18200739840 bytes 255 heads, 63 sectors/track, 2212 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 * 1 2212 17767858+ fd Linux raid autodetect Disk /dev/sdd: 18.2 GB, 18200739840 bytes 255 heads, 63 sectors/track, 2212 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdd1 1 2212 17767858+ fd Linux raid autodetect Disk /dev/sde: 18.2 GB, 18200739840 bytes 254 heads, 63 sectors/track, 2221 cylinders Units = cylinders of 16002 * 512 = 8193024 bytes Device Boot Start End Blocks Id System /dev/sde1 * 1 2221 17770189+ fd Linux raid autodetect [root at netman etc]# fdisk -l /dev/md4 Disk /dev/md4: 36.3 GB, 36388339712 bytes 2 heads, 4 sectors/track, 8883872 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md4 doesn't contain a valid partition table [root at netman etc]# cat /etc/raidtab raiddev /dev/md3 raid-level 1 nr-raid-disks 2 chunk-size 64k persistent-superblock 1 nr-spare-disks 0 device /dev/sda4 raid-disk 0 device /dev/sdb4 raid-disk 1 raiddev /dev/md4 raid-level 5 nr-raid-disks 3 chunk-size 64k persistent-superblock 1 parity-algorithm left-symmetric nr-spare-disks 0 device /dev/sdc1 raid-disk 0 device /dev/sdd1 raid-disk 1 device /dev/sde1 raid-disk 2 raiddev /dev/md2 raid-level 1 nr-raid-disks 2 chunk-size 64k persistent-superblock 1 nr-spare-disks 0 device /dev/sda3 raid-disk 0 device /dev/sdb3 raid-disk 1 raiddev /dev/md0 raid-level 1 nr-raid-disks 2 chunk-size 64k persistent-superblock 1 nr-spare-disks 0 device /dev/sda1 raid-disk 0 device /dev/sdb1 raid-disk 1 raiddev /dev/md1 raid-level 1 nr-raid-disks 2 chunk-size 64k persistent-superblock 1 nr-spare-disks 0 device /dev/sda2 raid-disk 0 device /dev/sdb2 raid-disk 1 [root at netman etc]# cat /proc/mdstat Personalities : [raid0] [raid1] [raid5] read_ahead 1024 sectors Event: 5 md4 : active raid5 sde1[2] sdd1[1] sdc1[0] 35535488 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU] md0 : active raid1 sdb1[1] sda1[0] 104320 blocks [2/2] [UU] md1 : active raid1 sdb2[1] sda2[0] 787072 blocks [2/2] [UU] md2 : active raid1 sdb3[1] sda3[0] 513984 blocks [2/2] [UU] md3 : active raid1 sdb4[1] sda4[0] 7478144 blocks [2/2] [UU] unused devices: <none> [root at netman etc]# Output from a raid device that does initialize on bootup: [root at netman etc]# fdisk -l /dev/md0 Disk /dev/md0: 106 MB, 106823680 bytes 2 heads, 4 sectors/track, 26080 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md0 doesn't contain a valid partition table [root at netman etc]# uname -a Linux netman 2.4.21-27.0.1.ELsmp #1 SMP Mon Dec 20 18:47:45 EST 2004 i686 i686 i386 GNU/Linux All raid devices work with the exception of /dev/md4. md4 is the only RAID5 device, whereas the rest are RAID1. I created the RAID1 devices on install (RHELv3), and the RAID5 was created afterwards. I'm stumped... -- -Shawn -Nemo me impune lacessit. Ne Obliviscaris..