Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: ATA Promise RAID nevoli.


  • Subject: Re: lug-bg: ATA Promise RAID nevoli.
  • From: danchev@xxxxxxxxx (George Danchev)
  • Date: Tue, 10 Dec 2002 00:13:21 +0200



On 09 12 2002 19:40, Teodor Georgiev wrote:
> ----- Original Message -----
> From: "George Danchev" <danchev@xxxxxxxxx>
> To: <lug-bg@xxxxxxxxxxxxxxxxxx>
> Sent: Monday, December 09, 2002 3:24 PM
> Subject: Re: lug-bg: ATA Promise RAID nevoli.
>
> > >     Ottuk zapochva i tova s qiceto i kokoshkata. Kak da bootna s
>
> 2.4.18-18
>
> > > kernel (i po-visoka versia), taka che da si montiram posle SCSI RAID-a
> > > i
>
> da
>
> > > si opravq LILO-to i fstab'a.
> >
> > iskash da kazhesh ATA RAID-a... nqmash scsi-ta, da ?
> > opita li s boot option da mu ukazhesh kyde e root fs-a, t.e. 4e e na ATA,
>
> a ne
>
> > na SCSI ?
> > linux root=/dev/hdaXY (li beshe???)
> > osven tova opitaj da potyrsish nqkakva boot option za zabrana na SCSI,
> > ili mahni tozi support ot kernel-a, stoto nali tova e ATA  ... za da ne
> > se
>
> izlita
>
> > kernel-a s SCSI RAID's ...
>
> kakto wizhdam pri bootvaneto stava slednoto:
>
> 1. Loading scsi_mod module
> 2. Loading sd_mod module (kmod: failed to exec /sbin/modprobe -s -k
> scsi_hostadapter, error = 2)
> 3. Loading ft module (Promise FastTrack Series Linux Driver version
> 1.2.0.14.2)

AAAAAAA NE;-) Uzhasno obyrkvane ;-) ... Tove e proprietary driver-a na Promise 
(ft.o) i toj e za SCSI RAID... A ti si ATA(IDE) RAID ... 
Ot http://www.murty.net/ataraid/existing.html

7.3. Setting Up RAID 1

If you want to setup RAID 1 using Promise Technology proprietary driver 
(ft.o), you can download Promise Driver (ft.o) into 
/lib/modules/kernel-version and load the module by typing modprobe -k ft. You 
should then be able to access your new raid device as /dev/sdc or something 
like that. But if it does not work, then determine your Append Line and add 
it to /etc/lilo.conf. If you are setting up RAID on an existing Linux system 
and are using either Promise Technology ft driver or Linux native ataraid 
driver, then use of Append Line in /etc/lilo.conf is strongly recommended. 
Once you reboot with your new /etc/lilo.conf that contains Append Line, you 
can load either driver (ft.o from Promise Technology or ataraid.o, the Linux 
Native RAID module) to enable RAID except when your kernel has built-in 
ataraid support in which case you do not have to load ataraid module.

As Linux Native RAID is recommended, let us discuss that in detail. To setup 
Linux Native RAID on an existing Linux machine, insert Append Line into 
/etc/lilo.conf as explained above. Now, activate changes by typing 
/sbin/lilo. Then reboot your computer. After your computers reboots, load 
ataraid module manually if your kernel does not have ataraid built-in support 
or ataraid.o module failed to load for some reason. If you compiled your 
kernel with static ataraid support (ataraid not as module), then you can 
start formatting and using your mirror disk /dev/ataraid/d0 right away. 

But if you compile ataraid as a seperate module, then type lsmod and see 
ataraid is listed. If not, manually load it by typing modprobe -k ataraid. If 
you dont see any errors, then you can start using your mirror disk 
/dev/ataraid/d0 right away. Format it, mount it and use it just like you 
normally do. 

The fact that you can use /dev/ataraid/d0 implies that you are successful in 
your mission. Please do not access /dev/hde, /dev/hdg or any of their 
partitions directly, although Linux will let you do that. Once you make a 
mirror device from two disks, you should always access the mirror device and 
not the disks directly.

t.e. trqbva ti SAMO ataraid.o (i to built-in, a ne kato module), the Linux 
Native RAID module, A NE ft.o kojto e za SCSI RAID binary-only distributed by 
Promise i qvno idwa s RH ... i taint-va kernel-a ... 

4eti vnimatelno: http://www.murty.net/ataraid/nativeraid.html

> 4. scsi0: FASTTRAK

eto kakvo sledva... SCSI koeto si e syvsem v reda na nestata stoto takyf 
module load-vash, a trebe da e nesto za IDE/ATA ;-) 

> ...................................
> 5. Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> 6. SCSI device sda ...
> 7. Partition check: sda: sda1 sda2 sda3 sda4 sda5 sda6 (tolkova sa mi
> partitionite, samo che ne sa SCSI).

am andzhuk de pravilno i taka trqbva da e, 
ti kakvo o4akvash s tozi module ;-) 

> 8. Mounting root filesysteme
> 9. failed to exec /sbin/modprobe -s -k block-major-3, errno = 2
> 10. mount error 6 mounting ext 3
> 11. pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
> 12. Freeing unused kernel memory: 304k freed
> 13. Kernel panic: No init found. Try passing init= option to the kernel.
>
> I az tova si vikam - zashto SCSI, no qvno za da se zaredi ft draivera se
> iziskva da se zaredi scsi_mod.
> emulacia na SCSI shte da e tova.

pored men v tozi slu4aj vyobste mozhe da nqmash SCSI support v kernel-a, ama 
nikakyf SCSI support ;-)

RAID is not limited to expensive SCSI disks anymore as more and more 
motherboard manufacturers are introducing motherboards with onboard RAID 
support for inexpensive IDE disks, known as ATA RAID. Promise Technolgy and 
HighPoint are two companies that dominate this ATA RAID market. This HOWTO 
document explains how to install Linux on an Intel Pentium compatible 
computer with an ATA RAID Controller (onboard chip or seperate card), single 
or multiple processors and atleast two hard disks. Currently, this document 
covers installing RedHat Linux 7.3 with Promise FastTrak ATA RAID Controller. 
Appendix at the end briefly explains how to install on a system with 
HighPoint HPT instead of Promise FastTrak RAID.

Pak da kazha vizh si v vanilla ili rh kernel-a:

ATA/IDE/MFM/RLL Support | IDE/ATA/ATAPI Block Devices 
<*>    Support for IDE RAID controllers
        <*>        Support Promise software RAID (Fasttrak(tm))

Tova e CONFIG_BLK_DEV_ATARAID i CONFIG_BLK_DEV_ATARAID_PDC

Tova e Linux Native support-a, a ne ft.o proprietary na Promise, to4no 
PDC<number> si ti ..... 

P.S. Aaaaa ne ..... Mnogo losho ako RH 8.0 nastoqva za ft.o i mqta users v 
zabluzhdenie koe za kakvo e ... i syotvetno user-a plue v greshna posoka ;-) 
trqbvashe da pro4etesh http://www.murty.net/ataraid/  po obstojno, i stom 
horata kazvat 4e raboti ATA RAID-a s Native driver-a a sigurno i s ft.o 
driver-a az sym sklonen da im vqrvam .... RH 7.3 kernel-a mozhe da raboti s 
ft.o (binary provided za tozi kernel s koito idva) za SCSI RAID a ti da se 
my4ish s kernel ot rh 8.0 edi koq si vqrsiq s binary ft.o module naj-veroqtno 
za drug kernel (mozhe bi nqkoj vanilla ili ne to4no tazi versiq na kernel-a 
na rh) ..... Drugoto e da se mu4ish s ataraid.o module ot vanilla kernel da 
go load-vash v kernel na rh i syotvetno da gyrmi s bad EIP value, koeto e 
syvsem normalno ... Ami te (tova module i tozi kernel) qvno sa   nesyvmestimi 
kato source i nekompiliruemu v tova polozhenie, a kakvo ostava za binary 
compatibility ... ;-) 

S dve dumi neka nqma flames no to4no poradi takiva compatibily problemi az 
li4no silno izbqgvam commercial vendor extended kernels (forks) ... ili pone 
silno e prepory4itelno ako polzvash takiva kernels to da e s support ot 
vendor-a ... 
Onzi den naprimer ne mozhahme da compilirame tova skromno kernel module 
http://www.elis.rug.ac.be/~ronsse/cdfs/
source-a mu kato vidq kernel source-a na nqkoj si MDK kernel i kaza wrong 
version.h edi kyde si v source-a na kernela ... t.e. otkaza da se kompilira s 
sources na MDK kernel ... S vanilla e pushka ... stoto source-a na tova 
module e pisan za vanilla sources... tova trebe se ot4ita...

Neznam dali taka e po-qsna kartinata ;-) 


-- 
Greets, fr33zb1 
[catching up with Sid (the boy next door who destroyed toys :-)]
[reg your bg translation or grab one from http://www.bgit.net/?id=37892]

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.