2.4.2 i RAID

Lukasz Trabinski lukasz w lt.wsisiz.edu.pl
Pon, 2 Kwi 2001, 18:14:56 CEST


On Mon, 2 Apr 2001, Serek/GNU wrote:

> On pon, kwi 02, 2001 at 01:28:20 +0200, Lukasz Trabinski wrote:
> > On Mon, 2 Apr 2001, Hocus wrote:
> >
> > Mam taka maszynke z kernelem 2.4.3 oraz raidem0 (trzy dyski ata66) i mam
> > problem, bo losowo znikaja mi pliki z tego filesystemu.  :) Brzmi to
> > troche glupio, ale tak jest. Oczywiscie nie zadnych komunikatow o bledach
> > itp. NA linux-kernel nikt nie raportowal zadnych problemow... Spotkal sie
> > ktos z czyms takim?
>
> te trzy dyski ata to na dwoch kanalach ide czy na trzech?

Dokladnie to tak:

Partition check:
 hdd: [PTBL] [3736/255/63] hdd1
 hdg: hdg1
 hdh: [PTBL] [3736/255/63] hdh1

hdh i hdg na kontrolerze HPT, hdd na zwyklym kontrolerze.

Ponizej przedstawiam fragment inicjowania owego RAIDA, moze cos skwasilem.


raid0 personality registered
md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md.c: sizeof(mdp_super_t) = 4096
autodetecting RAID arrays
(read) hdd1's sb offset: 30009280 [events: 0000000b]
(read) hdg1's sb offset: 39082560 [events: 0000000b]
(read) hdh1's sb offset: 30009280 [events: 0000000b]
autorun ...
considering hdh1 ...
  adding hdh1 ...
  adding hdg1 ...
  adding hdd1 ...
created md0
bind<hdd1,1>
bind<hdg1,2>
bind<hdh1,3>
running: <hdh1><hdg1><hdd1>
now!
hdh1's event counter: 0000000b
hdg1's event counter: 0000000b
hdd1's event counter: 0000000b
md0: max total readahead window set to 744k
md0: 3 data-disks, max readahead per data-disk: 248k
raid0: looking at hdd1
raid0:   comparing hdd1(30009280) with hdd1(30009280)
raid0:   END
raid0:   ==> UNIQUE
raid0: 1 zones
raid0: looking at hdg1
raid0:   comparing hdg1(39082560) with hdd1(30009280)
raid0:   NOT EQUAL
raid0:   comparing hdg1(39082560) with hdg1(39082560)
raid0:   END
raid0:   ==> UNIQUE
raid0: 2 zones
raid0: looking at hdh1
raid0:   comparing hdh1(30009280) with hdd1(30009280)
raid0:   EQUAL
raid0: FINAL 2 zones
zone 0
 checking hdd1 ... contained as device 0
  (30009280) is smallest!.
 checking hdg1 ... contained as device 1
 checking hdh1 ... contained as device 2
 zone->nb_dev: 3, size: 90027840
current zone offset: 30009280
zone 1
 checking hdd1 ... nope.
 checking hdg1 ... contained as device 0
  (39082560) is smallest!.
 checking hdh1 ... nope.
 zone->nb_dev: 1, size: 9073280
current zone offset: 39082560
done.
raid0 : md_size is 99101120 blocks.
raid0 : conf->smallest->size is 9073280 blocks.
raid0 : nb_zone is 11.
raid0 : Allocating 88 bytes for hash.
md: updating md0 RAID superblock on device
hdh1 [events: 0000000c](write) hdh1's sb offset: 30009280
hdg1 [events: 0000000c](write) hdg1's sb offset: 39082560
hdd1 [events: 0000000c](write) hdd1's sb offset: 30009280
.
... autorun DONE.



-- 
*[ Łukasz Trąbiński ]*
SysAdmin @wsisiz.edu.pl



Więcej informacji o liście dyskusyjnej pld-devel-pl