Input/output error se file!!!
Pavlos Parissis
p_pavlos at freemail.gr
Sat Dec 7 15:07:01 EET 2002
On Sat, 7 Dec 2002 05:02:38 +0200 Giorgos Keramidas
<keramida at ceid.upatras.gr> wrote:
> On 2002-12-06 22:20, Pavlos Parissis <p_pavlos at freemail.gr> wrote:
> > O server trexei samba(2.2.7) kai qmail kai to filesystem einai ext3.
> > Prin 2 meres metefera 9GB apo enan 2000 server se afton meso
> > network. Shmera oi clients den mporousan na antigrapsoun/diavasoun
> > ena arxeio to opoio einai 1 apo afta pou peira prin 2 meres apo ton
> > 2000. Sthn arxi phge to mialo mou gia to samba kai etsi efaga 2
> > wres ta matia mou sta logs xwris na exw katalavei ti egine.Meta phga
> > mia volta kai sto messages kai eida afta
> >
> > Dec 6 21:07:22 mainserver kernel: attempt to access beyond end of
> > device Dec 6 21:07:22 mainserver kernel: 72:03: rw=0,
> > want=2114883208, limit=71682030 Dec 6 21:07:42 mainserver kernel:
> > attempt to access beyond end of device Dec 6 21:07:42 mainserver
> > kernel: 72:03: rw=0, want=2114883208, limit=71682030
>
> Prepei na kaneis fsck. Auto pou eides shmainei pos gia kapoio logo to
> arxeio auto kanei anafora se kapoio block tou diskou pou den uparxei.
> Sinithos auto ofeiletai se kapoia blakeia me to filesystem (h allh
> periptosh einai o diskos na exei arxisei na ta ftynei, alla den tha
> deis tetoio error).
THa kanw thn deftera dioti remotely den mporw kai afto dioti phga prin ligo
na mpw kai
o server 'h einai katw 'h kapoios evgale to kalodio diktiou!!!
Eimai poli periergos na dw ti egine ekei.
>
> > kathe fora pou prospathousa na prospelasw to arxei kai mesa apo
> > linux kai meso samba eperna afta pou eidate.
>
> Logiko den einai? Samba h oxi, kapoia stigmh to kernel prepei na
> diabasei ta data blocks tou arxeiou. Kai to filesystem leei pos meros
> tou arxeiou einai kai kapoia data blocks pou einai adunaton na
> yparxoun sto disko sou. Auto shmainei kai to minima pou eides.
OK to katalava afto.
>
> > APo ta liga pou kserw kai me mia grhgorh anazhthsh sthn google vrika
> > pws to filesystem zitise kati apo ton device driver gia to opoio den
> > vrethike anafora ston disko!!!
>
> Swsta.
>
> > Twra prospathw na vrw an yparxoun alla arxeia me paromoia provlimata
> > Ksekinisa ena find -type f -exec md5sum {} \; > foo kai den vrika
> > alla arxeia me provlima,toulaxiston den mou petakse kanena
> > Input/output error.
>
> OK, den einai asxhma ta pragmata tote (oxi polu toulaxiston).
Molis esteila to e-mail ksanampika kai eida oti otan eixa dwsei cp "to
perivoito file" foo
kai eixa parei Input/ouput error to foo file eixe graftei alla fisika eixe
sxedon 4/5 hx xwritikothtas
tou protou file.
Apo to backup vrika to file kai to ekana replace xwris provlima, prosekse
replace oxi antigrafei kapou allou.
>
> > fsck den mporw na kanw dioti eimai remotely login,an kai exw treksei
> > fsck sto diko mou pc se mounted partitions xwris provlimata alla den
> > to riskaro se 9 GB data.
>
> EINAI POLU KAKH IDEA NA KANEIS FSCK LIVE FILESYSTEMS!
> Repeat after me...
> EINAI POLU KAKH IDEA NA KANEIS FSCK LIVE FILESYSTEMS!
nai giorgo to kserw an kai pote den exei dei kapou grameno giati prepei na
ginete,
poioi einai oi logoi apla den to kanw epeidh to exw diavasei sta manuals
kai fisika sou
petaei ena oraio warning otan pas na kanei kati tetoio.
POu tha mporousa na vrw info gia afto to thema?
>
> Kane unmount to filesystem kai mono tote kanto fsck.
>
> Kai "nai, prepei na to kaneis fsck".
>
> > To diko mou egxos einai mipws einai malakia tou driver (ataraid) kai
> > ksana exw provlimata.
>
> To mellon tha deiksei. Den nomizo pantos, epeidh den exeis problhmata
> me kanena allo arxeio. Einai apithano gia ena mono arxeio na exei
> kanei blakeia o RAID controller. Pio logiko tha htan na arxiseis na
> 'xaneis blocks' apo fainomenika random arxeia.
>
> > Ti tha mou legate na kanw gia na vrw pios ftaei gia to xasimw aftou
> > tou arxeiou.
>
> Den exo idea... upoti8etai pos to ext3 exei journalling akribos gia na
> apofeugeis tetoia pragmata. Kapoios pios sxetikos me to ext3 einai
> kalutera na pei ti mporei na exei ginei.
Tha paw deftera kai tha dw ti ginete, tha dwsw kai "-c" gia ma tsekarei to
harddisk
gia bdblocks.
Pantws einai merikes fores na ktipas to kefali sou sto toixo.
DIoti exei 2 80GB seagate diskous oi opoioi einai olo kainourgoi kai
genika to hardware einai
oti pio kalo mporeis na vreis gia ta lefta pou edinan.
gia 2 weeks pou eixa ton server sto ergasthrio den eixan oute ena provlima.
Kai egw ena server sthn etaireia pou exei to pio argo disko pou exw dei
pote
enan maxtor 10GB 5400 kai trexei squid,samba,qmail,DNS,ssh kai X!!!!! gia
16 mhnes
xwris oute ena mikro tosoloudiko provlima.
ANyway thanks gia to e-mail,
PAvlos
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I love having the feeling of being in control
while i have the sensation of speed
The surfer of life
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Linux-greek-users
mailing list