[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ataraid-list
Subject:    Re: newbie questions
From:       Kristiaan Verhoeven <kristiaan () billgatesisdead ! com>
Date:       2004-08-30 18:37:19
Message-ID: 20040830183720.5E101395A () sitemail ! everyone ! net
[Download RAW message or body]

Hello Heinz,

I gonna start now from scratch on a test machine.

First, i attach two identicale drive (2x10GB) to the onboard controller (PDC20276) in \
a mirror-raid (1x2 mirror), then I boot the FC2-DVD when it commes to disk-druid, I \
see two sepperate drives (no mirror). What need I do then, install FC2 on the first \
or second drive?



Second, I update my system with the latest kernel en source-code 2.6.8-1.521 , patch \
the kernel with the patch from http://sources.redhat.com/dm/patches.htm \
                (2.6.8.1-udm1). Start menuconfig; Device drivers  
---> Multi-device support (raid and LVM) ---> . What do I take then  "built-in" or \
"module" for "RAID1 (mirroring mode)" and "device-mapper support"?



Third, recompile the kernel (make dep,clean, bzImage, modules, modules_install, \
install).Install the rpm from http://people.redhat.com/~heinzm/sw/dmraid/ \
(dmraid-1.0.0-rc3.i386.rpm), then reboot into the new kernel  "2.6.8-1.521custom" and \
run "dmraid -ay"



Do I have this right?


Kind regards,

K.Verhoeven


--- Heinz Mauelshagen <mauelshagen@redhat.com> wrote:
On Sun, Aug 29, 2004 at 04:24:32AM -0700, Kristiaan Verhoeven wrote:
> Hello there everyone,
> 
> I have a PDC20276 onboard, and I like to put this in a mirror raid. I have now \
> installed one drive(10GB)on the raid-controller(1+0 stripe). I had installed FC2 on \
> that drive, updated to the latest kernel 2.6.8-1.521, I also installed the \
> source-code of that kernel. Than I had read the dmraid readme file, I downloaded \
> 2.6.8.1-udm1 from http://sources.redhat.com/dm/patches.html did what the say: 
> > cd /tmp
> > tar jxvf 2.6.8.1-udm1.tar.bz2
> > cd /usr/src/linux-2.6.8-1.521
> > cat /tmp/2.6.8.1-udm1/*.patch | patch -p1
> 
> Questions:
> 
> 1.Source-code is now patched, do i need recompile the kernel?

Yes, of course.

> 
> 2.Howdo I enable device, including mirror?

You need to build dmraid or use the provided i386 RPM.
Run "dmraid -ay" after you build and booted the 2.6.8.1-udm1 kernel.

> 
> 3.Is device mapper, userpace installed by default in a 2.6 kernel, I can    
> only find source tarballs for kernel 2.4 at http://sources.redhat.com/dm/

Userspace source code on sources.redhat.com for device-mapper is
for 2.4 and 2.6.

It only says that the userspace tarball include some specific
2.4 kernel patches as well. Ignore them if you play with 2.6.

> 
> 4.When do I need to install the second drive, to put them in a mirror-raid, afther \
> I installed the software or before?

Put the 2nd drive in the set using the BIOS.

Boot and run "dmraid -ay"

> 
> Kind regards,
> 
> K.Verhoeven
> 
> 
> _____________________________________________________________
> BillGatesisDead.com - The ultimate portal to the life, death and
> legacy of Bill Gates. Signup for your FREE email account at
> http://www.billgatesisdead.com
> 
> 
> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list@redhat.com
> https://www.redhat.com/mailman/listinfo/ataraid-list

-- 

Regards,
Heinz    -- The LVM Guy --

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


_____________________________________________________________
BillGatesisDead.com - The ultimate portal to the life, death and
legacy of Bill Gates. Signup for your FREE email account at
http://www.billgatesisdead.com


_______________________________________________
Ataraid-list mailing list
Ataraid-list@redhat.com
https://www.redhat.com/mailman/listinfo/ataraid-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic