FC2: Grub & 4 x SATA w/ Linux SW Raid on a P4P800

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

 



Hi guys,

I'm trying to setup SW raid on this system, and luckily didn't hit the "kernel won't boot" bug reported for this MB.

There are two sata (1 Promise 20378 & 1 Intel ICH5), and one ICH5 PATA controllers on this motherboard.

The issue seems to be that the fedora installer starts the ata_promise (promise sata driver) before ata_piix (intel sata driver), but the bios (and grub after the reboot) sees the disk ordering with the Intel controller first.

I did a test install with / on SW RAID1, and was able to run "find /boot/grub/stage1" in the grub command line and run the appropriate "root (hdX,Y)" and "setup (hdX)" (where X and Y means drive number and partition number respectively).

The problem is that "find /boot/grub/stage1" hangs from the grub floppy I created (as specified in the grub info pages with the "dd" command) with the extra partitions I've setup (what I want for my production setup) with /boot in raid1, and / on raid5 and three other raid5 partitions as mentioned below.

I have attached a file with /proc/partitions output, and "fdisk -l" output for each of my four SATA drives.

md0 is /boot as RAID1 on sd[ab]1 (100MB each partition)
md1 is / as RAID5 on sd[ab]2 and sd[cd]1 (10GB each partition).
The rest of the partitions are /web /ftp and /mail, for the planned services to be run on this server (but I don't know the default locations for those in RH/Fedora, so these are temporary names).


Any ideas on how to get this working?

Thanks,

Mike
major minor  #blocks  name

   7     0      73420 loop0
   8     0  160086528 sda
   8     1     104391 sda1
   8     2   10241437 sda2
   8     3    1020127 sda3
   8     4          1 sda4
   8     5   20482843 sda5
   8     6   20482843 sda6
   8     7  107747923 sda7
   8    16  160086528 sdb
   8    17     104391 sdb1
   8    18   10241437 sdb2
   8    19    1020127 sdb3
   8    20          1 sdb4
   8    21   20482843 sdb5
   8    22   20482843 sdb6
   8    23  107747923 sdb7
   8    32  160086528 sdc
   8    33   10241406 sdc1
   8    34    1020127 sdc2
   8    35     104422 sdc3
   8    36          1 sdc4
   8    37   20482843 sdc5
   8    38   20482843 sdc6
   8    39  107747923 sdc7
   8    48  160086528 sdd
   8    49   10241406 sdd1
   8    50    1020127 sdd2
   8    51     104422 sdd3
   8    52          1 sdd4
   8    53   20482843 sdd5
   8    54   20482843 sdd6
   8    55  107747923 sdd7

Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 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        1288    10241437+  fd  Linux raid autodetect
/dev/sda3            1289        1415     1020127+  fd  Linux raid autodetect
/dev/sda4            1416       19929   148713705    f  W95 Ext'd (LBA)
/dev/sda5            1416        3965    20482843+  fd  Linux raid autodetect
/dev/sda6            3966        6515    20482843+  fd  Linux raid autodetect
/dev/sda7            6516       19929   107747923+  fd  Linux raid autodetect

Disk /dev/sdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 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        1288    10241437+  fd  Linux raid autodetect
/dev/sdb3            1289        1415     1020127+  fd  Linux raid autodetect
/dev/sdb4            1416       19929   148713705    f  W95 Ext'd (LBA)
/dev/sdb5            1416        3965    20482843+  fd  Linux raid autodetect
/dev/sdb6            3966        6515    20482843+  fd  Linux raid autodetect
/dev/sdb7            6516       19929   107747923+  fd  Linux raid autodetect

Disk /dev/sdc: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        1275    10241406   fd  Linux raid autodetect
/dev/sdc2            1276        1402     1020127+  fd  Linux raid autodetect
/dev/sdc3            1403        1415      104422+  fd  Linux raid autodetect
/dev/sdc4            1416       19929   148713705    f  W95 Ext'd (LBA)
/dev/sdc5            1416        3965    20482843+  fd  Linux raid autodetect
/dev/sdc6            3966        6515    20482843+  fd  Linux raid autodetect
/dev/sdc7            6516       19929   107747923+  fd  Linux raid autodetect

Disk /dev/sdd: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1        1275    10241406   fd  Linux raid autodetect
/dev/sdd2            1276        1402     1020127+  fd  Linux raid autodetect
/dev/sdd3            1403        1415      104422+  fd  Linux raid autodetect
/dev/sdd4            1416       19929   148713705    f  W95 Ext'd (LBA)
/dev/sdd5            1416        3965    20482843+  fd  Linux raid autodetect
/dev/sdd6            3966        6515    20482843+  fd  Linux raid autodetect
/dev/sdd7            6516       19929   107747923+  fd  Linux raid autodetect

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux