Benjamin Sobotta wrote: >Hi! > >Thanks for replying... > >Your setup guess is exactly right. > >I don't really get the part about the partitions. You mean the partition type >of /dev/md0? Well when I do "fdisk /dev/md0" und then type 'p' it shows >nothing. Might this be the problem? However it does detect the partitions at >startup - it just doesn't start the raid. > >
Nope, I mean "fdisk -l /dev/sdb /dev/sdc". An example from my laptop: carcharias root # fdisk -l /dev/hda /dev/hdd Disk /dev/hda: 60.0 GB, 60011642880 bytes 255 heads, 63 sectors/track, 7296 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 7296 58500697+ fd Linux raid autodetect Disk /dev/hdd: 60.0 GB, 60011642880 bytes 255 heads, 63 sectors/track, 7296 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdd1 * 1 13 104391 83 Linux /dev/hdd2 14 7296 58500697+ fd Linux raid autodetect >1. (hopefully) relevant dmesg stuff: >[..................] >SCSI device sdb: 320173056 512-byte hdwr sectors (163929 MB) >SCSI device sdb: drive cache: write back >SCSI device sdb: 320173056 512-byte hdwr sectors (163929 MB) >SCSI device sdb: drive cache: write back > /dev/scsi/host2/bus0/target0/lun0: unknown partition table >Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0 >SCSI device sdc: 320173056 512-byte hdwr sectors (163929 MB) >SCSI device sdc: drive cache: write back >SCSI device sdc: 320173056 512-byte hdwr sectors (163929 MB) >SCSI device sdc: drive cache: write back > /dev/scsi/host3/bus0/target0/lun0: unknown partition table > > Uh oh...this is the problem. The kernel doesn't know how to read your partition table at boot time. I don't understand how this gets 'fixed' later on though...partition types are either compiled into the kernel, or not. There are no module options AFAIK. The fdisk output might reveal something interesting. For reference, when partitions really are detected at boot time, you should see something like: SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB) sda: assuming drive cache: write through SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB) sda: assuming drive cache: write through sda: sda1 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Notice the output of the partitions, not "unknown partition table". >I hope that this gives more insight... > >Thanks... > > Final note...please don't CC people on this list unless specifically requested to do so. It is a requirement of the list to be subscribed in order to post, so CC'ing someone and the list means that person gets your email twice, and is likely to be annoyed by that. It also risks taking the discussion offline if that person hits reply to the wrong message. -Richard -- gentoo-user@gentoo.org mailing list