Re: [Cooker] raidstuff+install
Bruno Prior <[EMAIL PROTECTED]> writes: > I pointed out this (and problems with mkraid during beta3 install) a week ago, > but it doesn't seem to have grabbed anyone's attention. in all the tests i've done with current cooker, everything worked nicely... beta3 & RC1 were broken, that's quite true.
Re: [Cooker] raidstuff+install
Same old problem. Mandrake has been doing this as long as I can remember. RAID should not be dependent on raidtab to start. In fact, there are plenty of circumstances where one might have a raidtab that is inconsistent with your actual setup. RAID should be started by default using autorecognition based on partition type. The stuff in the init scripts should, at most, be a fallback, where autorecognition has failed to start arrays. Even then, there should probably be some means to indicate that this is what you want to do, rather than just doing it by default, as you might have wanted to temporarily disable the array by changing the partition type. You don't really want to have to edit your raidtab to decide which arrays will or won't start. I pointed out this (and problems with mkraid during beta3 install) a week ago, but it doesn't seem to have grabbed anyone's attention. Basically, Mandrake could solve their RAID failings once and for all if they would just build RAID (at least 1 and 5) support into their default kernels. Of course, there are other ways of doing it, but no one seems to have figured out how to do it in a more complicated way without breaking various setups. Building RAID into the kernel would cut the Gordian knot. Cheers, Bruno Prior Oden Eriksson wrote: torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: Hi. Nice job with the text mode network install (9.0), it automatically found my old md arrays on some old drives I had. Very cool! Didn't know that. Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab was created. I was lucky to have that file on backup.
Re: [Cooker] raidstuff+install
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pixel wrote: > Buchan Milne <[EMAIL PROTECTED]> writes: > >>Pixel, can you ensure your dont clobber /etc/raidtab? > > what do you mean with "clobber", are you talking about upgrades? Put it a two-line config where there should have been something like 4 r 5 md devices. This was a 9.0 install onto two 120GB IDEs, plus an existing raid1 on two 40GB IDEs. IIRC, none of the RAID devices worked after boot, luckily we had the root not on RAID, so we booted, fixed the raidtab manually, and then raidhotadd'd them. I do not have the config DrakX wrote, but have all the /root/drakx still available, and a working raidtab, but this is a semi-production box moving off-site next week, I cannot take it down or try anything on it that may cause down time on the box. Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+VTOjrJK6UGDSBKcRAriYAJ4taVbUcHPqfLuovvhs6Gy37Nj3NwCcDA4G z/T09Sh4oJQmxDIobUITMTk= =xgIa -END PGP SIGNATURE-
Re: [Cooker] raidstuff+install
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guillaume Cottenceau wrote: > Oden Eriksson <[EMAIL PROTECTED]> writes: > >>torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: >> >>>Hi. >>> >>>Nice job with the text mode network install (9.0), it automatically found >>>my old md arrays on some old drives I had. Very cool! Didn't know that. >> >>Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab was >>created. I was lucky to have that file on backup. > > The Errata Page, Always You Will Browse. > > http://www.linux-mandrake.com/en/90errata.php3#raid > Well, the errata is not totally complete. We setup a machine on a new RAID1 array, root *not* on the array, but /usr/, /var and /home were. We had a pre-existing /home/groups RAID1 (on seperate disks) which we kept. We still lost most of the raidtab ... Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+VTFDrJK6UGDSBKcRAv7UAJ4xznM+49urGSlsuy06I9av6NeIGACfT5Lz 5Csq8SoUdrjNpB6wp8gujBg= =ocam -END PGP SIGNATURE-
Re: [Cooker] raidstuff+install
torsdagen den 20 februari 2003 20.03 skrev Oden Eriksson: > torsdagen den 20 februari 2003 19.53 skrev Pixel: > > Buchan Milne <[EMAIL PROTECTED]> writes: > > > Oden Eriksson wrote: > > > > torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: > > > >>Hi. > > > >> > > > >>Nice job with the text mode network install (9.0), it automatically > > > >> found my old md arrays on some old drives I had. Very cool! Didn't > > > >> know that. > > > > > > > > Duh!, i spoke too soon..., it f*cked up the boot since no valid > > > > raidtab was created. I was lucky to have that file on backup. > > > > what do you mean? can you tell more? > > Check: http://archives.mandrakelinux.com/cooker/2003-01/msg08314.php (speaking to myself again...) To clarify: The old md's I had and which were discovered during install was originally mounted "/var/qmail/queue" (md0) and "/home" (md1). I configured them to mount /mnt/md{0,1} during the install phaze. But the raidtab generated contained only: raiddev /dev/md2 device /dev/hdd5 This caused boot failure. I also tried to configure after boot with diskdrake, but that didn't work either. I'm staging a machine from old hw right now and I have no time to reproduce and document what was going on. Maybe I could do it tomorrow (on another hdd) when this install is done. -- Regards // Oden Eriksson, Deserve-IT.com
Re: [Cooker] raidstuff+install
torsdagen den 20 februari 2003 19.53 skrev Pixel: > Buchan Milne <[EMAIL PROTECTED]> writes: > > Oden Eriksson wrote: > > > torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: > > >>Hi. > > >> > > >>Nice job with the text mode network install (9.0), it automatically > > >> found my old md arrays on some old drives I had. Very cool! Didn't > > >> know that. > > > > > > Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab > > > was created. I was lucky to have that file on backup. > > what do you mean? can you tell more? Check: http://archives.mandrakelinux.com/cooker/2003-01/msg08314.php > > I had to write mine from scratch on a 9.0 box a few weeks ago ... (new > > installation, /usr and /var on raid among others). > > > > Pixel, can you ensure your dont clobber /etc/raidtab? > > what do you mean with "clobber", are you talking about upgrades? -- Regards // Oden Eriksson, Deserve-IT.com
Re: [Cooker] raidstuff+install
Buchan Milne <[EMAIL PROTECTED]> writes: > Oden Eriksson wrote: > > torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: > > > >>Hi. > >> > >>Nice job with the text mode network install (9.0), it automatically found > >>my old md arrays on some old drives I had. Very cool! Didn't know that. > > > > > > Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab was > > created. I was lucky to have that file on backup. what do you mean? can you tell more? > I had to write mine from scratch on a 9.0 box a few weeks ago ... (new > installation, /usr and /var on raid among others). > > Pixel, can you ensure your dont clobber /etc/raidtab? what do you mean with "clobber", are you talking about upgrades?
Re: [Cooker] raidstuff+install
torsdagen den 20 februari 2003 17.41 skrev Guillaume Cottenceau: > Oden Eriksson <[EMAIL PROTECTED]> writes: > > torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: > > > Hi. > > > > > > Nice job with the text mode network install (9.0), it automatically > > > found my old md arrays on some old drives I had. Very cool! Didn't know > > > that. > > > > Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab > > was created. I was lucky to have that file on backup. > > The Errata Page, Always You Will Browse. > > http://www.linux-mandrake.com/en/90errata.php3#raid Ahh, forgot about that, sorry... Well, it's not exactly correct since I need: [root@dhcp254 /]# cat /etc/raidtab raiddev /dev/md0 raid-level1 chunk-size64k persistent-superblock 1 nr-raid-disks 2 device/dev/hdc1 raid-disk 0 device/dev/hdd1 raid-disk 1 raiddev /dev/md1 raid-level1 chunk-size64k persistent-superblock 1 nr-raid-disks 2 device/dev/hdc5 raid-disk 0 device/dev/hdd5 raid-disk 1 And I got: [root@dhcp254 /]# cat /etc/raidtab.BAK raiddev /dev/md2 device /dev/hdd5 ... which means this don't work at all, not just if you have / on md. -- Regards // Oden Eriksson, Deserve-IT.com
Re: [Cooker] raidstuff+install
Oden Eriksson <[EMAIL PROTECTED]> writes: > torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: > > Hi. > > > > Nice job with the text mode network install (9.0), it automatically found > > my old md arrays on some old drives I had. Very cool! Didn't know that. > > Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab was > created. I was lucky to have that file on backup. The Errata Page, Always You Will Browse. http://www.linux-mandrake.com/en/90errata.php3#raid -- Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/
Re: [Cooker] raidstuff+install
torsdagen den 20 februari 2003 16.19 skrev Buchan Milne: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Oden Eriksson wrote: > > torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: > >>Hi. > >> > >>Nice job with the text mode network install (9.0), it automatically found > >>my old md arrays on some old drives I had. Very cool! Didn't know that. > > > > Duh!, i spoke too soon..., it f*cked up the boot since no valid > > raidtab was > > > created. I was lucky to have that file on backup. > > I had to write mine from scratch on a 9.0 box a few weeks ago ... (new > installation, /usr and /var on raid among others). > > Pixel, can you ensure your dont clobber /etc/raidtab? Speaking of which..., I remember seeing Alexanders fix to use my mdadm per default instead of raidtools. I'm near the position I could test this now. Alex? Where's that patch to initscripts? -- Regards // Oden Eriksson, Deserve-IT.com
Re: [Cooker] raidstuff+install
torsdagen den 20 februari 2003 16.08 skrev Chmouel Boudjnah: > Oden Eriksson <[EMAIL PROTECTED]> writes: > > torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: > >> Hi. > >> > >> Nice job with the text mode network install (9.0), it automatically > >> found my old md arrays on some old drives I had. Very cool! Didn't know > >> that. > > > > Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab > > was created. I was lucky to have that file on backup. > > > :), it should does a better job with latest 9.1 (c) Pixel. Ok, cool! -- Regards // Oden Eriksson, Deserve-IT.com
Re: [Cooker] raidstuff+install
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oden Eriksson wrote: > torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: > >>Hi. >> >>Nice job with the text mode network install (9.0), it automatically found >>my old md arrays on some old drives I had. Very cool! Didn't know that. > > > Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab was > created. I was lucky to have that file on backup. > I had to write mine from scratch on a 9.0 box a few weeks ago ... (new installation, /usr and /var on raid among others). Pixel, can you ensure your dont clobber /etc/raidtab? Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+VPIOrJK6UGDSBKcRAmidAJ9LLRyP6BFTGMBUnsSnVcZxFnMQlACgsaHx 9Fja+wEAL0Ak/nvl0e5uSe4= =CZB6 -END PGP SIGNATURE-
Re: [Cooker] raidstuff+install
Oden Eriksson <[EMAIL PROTECTED]> writes: > torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: >> Hi. >> >> Nice job with the text mode network install (9.0), it automatically found >> my old md arrays on some old drives I had. Very cool! Didn't know that. > > Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab was > created. I was lucky to have that file on backup. :), it should does a better job with latest 9.1 (c) Pixel.
Re: [Cooker] raidstuff+install
torsdagen den 20 februari 2003 13.57 skrev Oden Eriksson: > Hi. > > Nice job with the text mode network install (9.0), it automatically found > my old md arrays on some old drives I had. Very cool! Didn't know that. Duh!, i spoke too soon..., it f*cked up the boot since no valid raidtab was created. I was lucky to have that file on backup. -- Regards // Oden Eriksson, Deserve-IT.com