To: Eduard Bloch <[EMAIL PROTECTED]> Subject: Re: SoftwareRaid + Root + Boot with FastTrak100
On Sun, May 05, 2002 at 11:27:52AM +0200, Eduard Bloch wrote: > Moin guennelk! > [EMAIL PROTECTED] schrieb am Sunday, den 05. May 2002: > > > > Why? Woody-Install with bf2.4-based boot-floppies does support ATARAID > > > out-of-the-box. > > > > > I know but not the FastTrak special or only as module > > Explain why. Did you try the bf2.4 flavor? If it does not work, report > it (the thing has been designed to support such hardware)! > I just had a look again on the config.gz of 2.4.18-bf, and you are right, it should work. The only Problem might be: CONFIG_BLK_DEV_MD=m CONFIG_MD_LINEAR=m CONFIG_MD_RAID0=m CONFIG_MD_RAID1=m CONFIG_MD_RAID5=m CONFIG_MD_MULTIPATH=m are only modules, so where to boot off? I also try to install direkly on the RAID, using the patch discribed in the 'Promise FastTrak66/100 Debian HOWTO' but the Installation-Program does not recognise the HDDs. > > No, I only want to use RAID1 and RAID5. > > I use the Debian kernel-sources-2.4.18 to compile and did not get any > > extras. > > Ah, you want Linux-Raid, not ATARAID. That is another story. That is exakt, I want to use SoftwareRaid and no Windoff shit > > > # CONFIG_DMA_NONPCI is not set > > CONFIG_BLK_DEV_IDE_MODES=y > > CONFIG_BLK_DEV_ATARAID=y > > CONFIG_BLK_DEV_ATARAID_PDC=y > > Well, this is for hardware/software-controlled mode, windows-compatible. > But I still cannot undestand what you are going to do. linux-raid on top > of ataraid? On top of regular block device access (partitions)? > I know. I have to configure a RAID-Array in my RAID-BIOS, otherwise my Main-BIOS does not find the HDDs to boot on the offboard ide (no possibility to say OS). If it ever gonna work, I either need a new Raid-BIOS (but I just flashed it with the newest on and still no OS-option) or somehow I have to change from Hardware to Software RAID, propably > > Thats what I did. lilo.conf: > > > > disk=/dev/hda > > bios=0x80 > > disk=/dev/ataraid/d0 > > bios=0x81 sectors=63 heads=255 cylinders=29904 > > partition=/dev/ataraid/d0p1 > > Should work even without the geometry specification. > > boot=/dev/hda (it shoud be /dev/ataraid/d0 or /dev/hde ?) > > Well, where do you want to have the MBR? If you initialised your > harddisks in ATARAID mode within the controller bios, you MUST NOT touch > the partitions "raw". Means: MBR of virutial ataraid drive is the MBR > seen in the boot environment. But ataraid has nothing to do with > Linux-Raid, even if it works in similar way. I only want to use SoftwareRaid raid5 and just the four HDDs on the FastTrak contoller. I need to boot off them, so I think > > > > So what now, hde or ataraid? > > > > I would like to use SoftwareRAID only, but I think to boot at least with > > LILO, I first have to use ataraid but I am not sure. > > If you goal is redudancy, use a small / partition, with 200meg or so, on > one of the disks, and setup all other partitions with Linux-Raid. Later, > you can symlink parts of the raid volume to /usr, /var, /home, or even > use bind-mounts with kernel 2.4... > > /vol1/usr on /usr type none (rw,bind) > /vol1/var on /var type none (rw,bind) > /vol1/home on /home type none (rw,bind) > Did not read about bind-mounts so far. My goal is speed (strips) and a bit security from hardware-failures. Right now I use an old 486 as Server (gateway,proxy,dhcp..) with only 1GB HDD. I want to use the new Server for this and also as nfs-server for /home and as a file-server. So you I need a small / partition at the beginning of hde to get booted, but then again I might run into Problems with my RAID-Bios. Where should I put my swaps? the best way is probably on all 4 HDDs. Right now I have the /boot as raid1 on the 2 masters (hde,hdg each 16M) and a slightly smaller swap compared to the 2 slaves (hdf,hdh) to get partions of the same size on all 4 HDDs for the raid5 partitions. If I have a small / Partition on hde, do I have to run raid5 on an raid0 to use all the space of the HDDs because of the /, I won't have partitions of exactly the same size. > > > Well, I implemented and tested booting of ATARAID on a Highpoint Raid > > > controller (very similar), works fine with Woody now. > > > > Do you have the controller onboard or a PCI-card ? > > It was an onboard (extra) controller, Highpoint-Raid-370. But I was told > it works the same way as Promise products, onboard as well as on > external cards. Well, I do not have this hardware any longer. I think there might be a difference between an contoller onboard and an extra PCI-card. > > Do you use Lilo or any other Boot-Loader ? > > The disks were running in raid0 mode, configured in the Highpoint bios. > BIOS was configured to boot from "external/scsi controller", the MBR was > installed into the MBR of the new virtuall harddisk, /dev/ataraid/d0. > Unfortunately, only Raid0 mode is supported by the linux driver, so I > was not able to test the redundancy. > I made a Boot-Disk (mkdisk) with no extra options and using Lilo the System starts perfektly off the raid, so the more I work around the more I think it is a problem between the BIOS, LILO and the FastTrak100 card. Does anyone have experiences using grub to boot off FastTrak100 cards? cu klaus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]