Re: lug-bg: RAID Array
- Subject: Re: lug-bg: RAID Array
- From: vgetov@email.domain.hidden (Velin Getov)
- Date: Tue, 15 Jul 2003 15:17:57 +0200
Marian Popov wrote:
<em class="quotelev1">> Zdraveite !
<em class="quotelev1">>
<em class="quotelev1">> Imam edin problem, koito ne moga da resha sam.
<em class="quotelev1">> Stava vapros za RAID masiv na dynna platka GA-8PE800 Ultra.
<em class="quotelev1">>
<em class="quotelev1">> Znachi probvah da instaliram Debian 30.r1 Woody kato predvaritelno
<em class="quotelev1">> sym napravil masiva kato mirror ot 2 diska (ednakvi).
<em class="quotelev1">> Problema e che linux-a izobshto ne namira diskovete ili masiva.
<em class="quotelev1">>
<em class="quotelev1">> Sled tova si pomislih che shte e dobre pyrvo da instaliram linux-a
<em class="quotelev1">> na obiknovennia IDE kontroler kato mu dobavia modulite za RAID
<em class="quotelev1">> s komantata modconf. Sled kato napravih vsichko, slojih dvata diska
<em class="quotelev1">> na raid kontrolera i napravih mirror ot edinia na drugia.
<em class="quotelev1">>
<em class="quotelev1">> Sled tova razreshih ot BIOS-a da boot-va ot RAID.
<em class="quotelev1">> Niama problem lilo-to si bootva no problema idva kogato triabva da se
<em class="quotelev1">> mount-ne roof fs-a.
<em class="quotelev1">> Znaete kakvo stava. Kernel panic unable to mount root fs.
<em class="quotelev1">>
<em class="quotelev1">> Za syjalenie ne vijdam nikyde da mi otkriva raid masiva sledovatelno
<em class="quotelev1">> ne moga da razbera kato kakvo ustroistvo shte mi se iavi.
<em class="quotelev1">> Dali kato /dev/sda ili neshto syvsem razlichno.
<em class="quotelev1">>
<em class="quotelev1">> Mislia si da kompiliram kernel s poddryjka na RAID a ne da zarejdam
<em class="quotelev1">> kato moduli i ako stane nomera pone shte razbera kato kakvi u-va
<em class="quotelev1">> shte mi se iaviava masiva.
<em class="quotelev1">>
<em class="quotelev1">> Ne sym siguren dali obache tova e plavilnia nachin.
<em class="quotelev1">>
<em class="quotelev1">> Molia niakoi ako ima ideia ili e pravil veche neshto takova da go obsydim.
<em class="quotelev1">>
<em class="quotelev1">> Blagodarai predvaritelno.
<em class="quotelev1">>
<em class="quotelev1">> --
<em class="quotelev1">> Marian Popov
<em class="quotelev1">> mano_at_pazardjik.com.NOSPAM <mailto:mano_at_pazardjik.com.NOSPAM>
<em class="quotelev1">> System & Network Administrator
<em class="quotelev1">> --
Çäðàâåé.
Íàñêîðî è àç èìàõ ñåðèçíî çàíèìàíèå â òàçè îáëàñò (RAID-1), êàêòî ñ
Debian òàêà è ñ RedHat. Âñè÷êî ðàáîòè áåç íèêàêâè ïðîáëåìè âå÷å îêîëî
ñåäìèöà.
Ìíîãî å âàæíî äà îïðåäåëèø êàêúâ ÷èï ïîëçâà òâîåòî äúíî çà RAID
êîíòðîëåð. Â êåðíåëà ïîääðúæêàòà çàñåãà å ñàìî çà Promise (ïîíå â
2.4.20). Äðóãèòå ÷èïîâå íå ñå ïîääúðæàò ñ RAID1, à ñàìî ñ RAID-0 (ïîíå
òàêîâà íåùî ïðî÷åòîõ íÿêúäå ïî ôîðóìèòå). Ïðîâåðè ñè äúíîòî è àêî å íåùî
äðóãî òðÿáâà äà ñè òúðñèø äðóãî ðåøåíèå íà ïðîáëåìà: àç èçïîëçâàõ Multi
Device Driver "md", ðàáîòè ñè ÷óäåñíî, ìàêàð è ñ 5-6% ïî-áàâåí òðàíñôåð
îò õàðä äèñêà.
Àêî ÷èïà òè å íà Promise Technology, êîíôèãóðèðàø òåçè íåùà:
ATA/IDE/MFM/RLL support --->
IDE, ATA and ATAPI Block devices --->
<*> Support for IDE Raid controllers (EXPERIMENTAL)
<*> Support Promise software RAID Fasttrak(tm)) (EXPERIMENTAL)
Êàêòî çàáåëÿçâàø òîâà ñè å software RAID, íî å ðåàëèçèðàí ñ îòäåëåí äðàéâåð.
Êîìïèëèðàø òèÿ íåùà ñòàòè÷íî â êåðíåëà, çà äà ìîæå äà sè ðàçïîçíàå
êîíòðîëåðà ïðåäè äà ìîíòèðà root-à. Ñëåä òîâà â fstab ñëàãàø íåùî îò ñîðòà:
/dev/ataraid/d0p1 / reiserfs defaults 0 0
êàòî íà /dev/ataraid/d0p1 ïðåäñòàâëÿâà /dev/hde1 i /dev/hdg1 îáà÷å â
RAID-1 ðåæèì (àêî ïðåäïîëîæèì ÷å äèñêîæåòå ñà òè íà 3-òîòî è 4-òîòî IDE
íà äúíîòî).
Çà software RAID:
http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO.html
Àêî èìàø íóæäà îò ïîâå÷å èíôî, ïèøè.
--
Velin Getov
JDC, Telecomputer BG
--
Java Development Center, IIS Ltd.
G.M. Dimitrov blvd. bl.60 apt.79
Sofia, BG-1172
email: vGetov_at_iis.bg
phone: +359(0)2-962-5581
fax: +359(0)2-720-531
------------------------------
============================================================================
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
============================================================================
|