Re: [gentoo-user] Booting from SoftwareRaid 10 with metadata 1.0 possible?
Am Donnerstag, 7. Juli 2011, 17:23:15 schrieb Mark Knecht: Hi Jens, I've never bothered with actually making the boot device RAID as it's pretty easy to recreate if it dies. I do mirror my /boot partition on three drives so that hopefully I can change what BIOS looks at to boot and get the machine back up that way if necessary. I know of one person who reported that he made /boot RAID1 but only boots from one of the drive to automatically shadow changes he makes to /boot, but I've not tried that myself. As for /root, I'm using metadata=1.2 here, but it wasn't easy. It required an initramfs to figure out why it wasn't working, and then a _lot_ of care about RAID naming in both the physical RAID details as well as the mdadm.conf file to ensure it matched the eventual machine name. However it does work well for me. HTH, Mark Hi Mark, i really think it could be an issue of naming... As if i boot from the install-cd the raid-drives are named md124 - md127 and /dev/md/livecd:1 - /dev/md/livecd:4. I installed a kernel with genkernel and its corresponding initramfs, but after booting i get the same errors. starting the busybox shows the /dev/md3 but i cant mount it in any way. regards, Jens
Re: [gentoo-user] Booting from SoftwareRaid 10 with metadata 1.0 possible?
Am Donnerstag, 7. Juli 2011, 16:18:46 schrieb Jens Reinemuth: Hi everybody, i'm totally stuck with an installation of a server using SoftwareRAIDs (10) with an adaptec aic79xx Controller... I thought that perhaps the drivers must be corrupted, but i found some (older) howtos that described you should be using metadata=0.9.0 at least on the boot and root partitions. Is this still an issue with actual kernels? regards, Jens Omfg... Facepalm!!! Totally ignorant i really did genkernel with initramfs, added dodmraid as parameter, ... Should have simply done a genkernel --help, which showed up the mdadm parameter :-( After doing this - and changing the mdadm.conf a litte bit - everything works as expected... Ok, not everything - should remove all the unneeded modules from kernel which i added to locate the error. Thanx a lot to all, Jens
[gentoo-user] Booting from SoftwareRaid 10 with metadata 1.0 possible?
Hi everybody, i'm totally stuck with an installation of a server using SoftwareRAIDs (10) with an adaptec aic79xx Controller... I thought that perhaps the drivers must be corrupted, but i found some (older) howtos that described you should be using metadata=0.9.0 at least on the boot and root partitions. Is this still an issue with actual kernels? regards, Jens
Re: [gentoo-user] Booting from SoftwareRaid 10 with metadata 1.0 possible?
Am 07.07.2011 16:18, schrieb Jens Reinemuth: Hi everybody, i'm totally stuck with an installation of a server using SoftwareRAIDs (10) with an adaptec aic79xx Controller... I thought that perhaps the drivers must be corrupted, but i found some (older) howtos that described you should be using metadata=0.9.0 at least on the boot and root partitions. Is this still an issue with actual kernels? regards, Jens According to this bug [1], grub gained the ability to boot from metadata=1.0 in 2010. No clue if it actually applies to grub-1 or only 2. You will still need metadata=0.9.0 if you want to partition the raid itself and then boot from it (e.g. create /boot and root on the md device). Please also take a look at the thread in [2]. [1] http://savannah.gnu.org/task/?10196 [2] http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg111987.html Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Booting from SoftwareRaid 10 with metadata 1.0 possible?
Am Donnerstag, 7. Juli 2011, 16:40:47 schrieb Florian Philipp: You will still need metadata=0.9.0 if you want to partition the raid itself and then boot from it (e.g. create /boot and root on the md device). Please also take a look at the thread in [2]. [1] http://savannah.gnu.org/task/?10196 [2] http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg111987.html Ok, this helps a lot... as i have a big spare partition, i should be able to copy the whole system from the metadata 1.x raid to the spare one, create a new raid with metadata=0.9 and copy the data back... glad i don't have to emerge the whole world again ;-) thanx, Jens
Re: [gentoo-user] Booting from SoftwareRaid 10 with metadata 1.0 possible?
On Thu, Jul 7, 2011 at 7:18 AM, Jens Reinemuth j...@reinemuth.info wrote: Hi everybody, i'm totally stuck with an installation of a server using SoftwareRAIDs (10) with an adaptec aic79xx Controller... I thought that perhaps the drivers must be corrupted, but i found some (older) howtos that described you should be using metadata=0.9.0 at least on the boot and root partitions. Is this still an issue with actual kernels? regards, Jens Hi Jens, I've never bothered with actually making the boot device RAID as it's pretty easy to recreate if it dies. I do mirror my /boot partition on three drives so that hopefully I can change what BIOS looks at to boot and get the machine back up that way if necessary. I know of one person who reported that he made /boot RAID1 but only boots from one of the drive to automatically shadow changes he makes to /boot, but I've not tried that myself. As for /root, I'm using metadata=1.2 here, but it wasn't easy. It required an initramfs to figure out why it wasn't working, and then a _lot_ of care about RAID naming in both the physical RAID details as well as the mdadm.conf file to ensure it matched the eventual machine name. However it does work well for me. HTH, Mark