Vinum problem. - zdochne dosk pri kopirovani z mirroru na mirror.
Staniclav Sitar
sitar_vim at procaut.sk
Mon Jul 19 12:06:01 CEST 2004
Vazeni ucastnici konferencie.
Nainstaloval som si minimalnu default "vanilkovu" FreeBSD 5.2.1 instalaciu.
v PC mam dva disky PC 40 GB - Seagate barracuda.
na kazdom disku su dve "slices. "
Slice ad0s1 ma 2 GB big Obsahuje system. podeleny je tak, ako
Slice ad0s2 and ad2s2 obsahuju po dve particie: ad0s2d (cca 25GB) and
ad0s2e (cca 10GB).
Pozrite prosim na vinum_history. tam je konfiguracia dvoch mirrovanych
diskov.
Snazil som sa urobit velmi jednoduchy fileserver s dvoma Samba
zdielanymi diskami.
Jeden pre RW pristup,(zrkadlo1, a druhy pre ReadOnly pristup)
Urobil som jednoduchy skript, ktory o 3 rano vezme jeden adresar s jednejo
mirroru, zataruje to do suboru ako
roeveryone/Automaticka_Zaloha/2004_06_18_03_22.tgz
Casto, ked sa skript spusti, objavia sa podobne chyby, veduce nakoniec
(cca po tyzdni prevadzky) ku CRASH jedneho subdisku.
Priklad:
ad2: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=57808895
ad2: FAILURE - READ_DMA status=51<READY,DSC,ERROR>
error=84<ICRC,ABORTED> LBA=57812927
kernel: vinum: zrkadlo2.p1.s0 is crashed by force
Pozrite si prosim kusok suboru
/var/log/messages, ktory som prilozil - tam je konfiguracia HW a tak podobne
O 19:33 som vytvoril dva mirrorovane disky a vytvoril som filesyste:
#newfs /dev/vinum/zrkadlo1
a
#newfs /dev/vinum/zrkadlo2
Pridal som dva disky do /etc/fstab a rebootoval.
O cca 19:53 som skopiroval data zo zalohy ad1s1d mpripojenej na /mnt/
do /dev/vinum/zrkadlo1 pripojeny na /everyone . Zatial ziadny problem.
o cca 20:18 som zacal kopirovat data z
/dev/vinum/zrkadlo1 mounted at /everyone
na
/dev/vinum/zrkadlo2 mounted at /roeveryone
Aha co sa stalo:
Jul 18 20:20:26 fileserver kernel: ad2: WARNING - READ_DMA UDMA ICRC
error (retrying request) LBA=57808895
Jul 18 20:20:26 fileserver kernel: ad2: WARNING - READ_DMA UDMA ICRC
error (retrying request) LBA=57808895
Jul 18 20:20:28 fileserver kernel: ad2: WARNING - READ_DMA UDMA ICRC
error (retrying request) LBA=57812927
Jul 18 20:20:28 fileserver kernel: ad2: WARNING - READ_DMA UDMA ICRC
error (retrying request) LBA=57812927
Jul 18 20:20:29 fileserver kernel: ad2: FAILURE - READ_DMA
status=51<READY,DSC,ERROR> error=84<ICRC,ABORTED> LBA=57812927
Jul 18 20:20:29 fileserver kernel: vinum: zrkadlo2.p1.s0 is crashed by
force
Jul 18 20:20:29 fileserver kernel: vinum: zrkadlo2.p1 is faulty
Jul 18 20:20:29 fileserver kernel: fatal:zrkadlo2.p1.s0 read error,
block 396617 for 49152 bytes
Jul 18 20:20:29 fileserver kernel: zrkadlo2.p1.s0: user buffer block
396352 for 49152 bytes
Jul 18 20:20:42 fileserver kernel: vinum: zrkadlo2.p1.s0 is stale by force
Prosim poradte mi, co mam robit, co si mam prestudovat, pripadne
aku konfiguraciu (HW, SW) zvolit. Ma to byt obycajny, nie velmi drahy
server.
Pripadne mi prosim poradte HW raidovu kartu, ktora bude fungovat s
FreeBSD 5.x
Spociatku som na kazdy subdisk mal urobenu vlastnu "particiu,
ale po podrobnom prestudovani dokumentacie som dal oba
subdisky na tu istu particiu. A cely cirkus nainstaloval
"from the scratch". Nepomohlo. ;-(
Poradte mi prosim.
"Moji" pouzivatelia zacinaju byt netrpezlivi ;-)
Dakujem
Stano.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vinum_history
URL: <http://www.freebsd.cz/listserv/archive/users-l/attachments/20040719/8061de38/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: messages
URL: <http://www.freebsd.cz/listserv/archive/users-l/attachments/20040719/8061de38/attachment-0001.ksh>
More information about the Users-l
mailing list