Fsck problhma ...
keramida at ceid.upatras.gr
keramida at ceid.upatras.gr
Tue Jun 23 16:10:22 EEST 1998
Loipov... proetoimasou Mike giati exeis polu diabasma parakatw.
>
> Sto linux poy exw sto spiti moy paroysiathke
> problhma me to fsck ...
> Meta apo kapoio hard reboot kai otan ksanabootare
> to systhma to fsck gyrise error kai eprepe na mpw
> se root shel gia na to treksw manually.
>
Nai, kai malista einai kalo na kaveis prwta mount to root-partition
sou sav read-only, gia va mnv to dialuseis teleiws.
Eivai kalo va afnseis to mnxavnma va bootarei, akoma kai xwris va
kavei fsck se single-user mode, opote dev 0a snkwsei diktuaka pragmata
(bl. inetd, sendmail, ktl.)
Evas kalos tropos va bootareis xwris kavevos eidous extra programmata,
movo eva shell pou 0a exei [effective-userid "boot: " prompt tou lilo:
linux init
opou "linux" to ovoma tou image pou bootarei to Linux sou,
"/dev/hda2" to partition pou exeis gia root-partition ("/")
kai "ro"
etsi 0a bootarei kai avti va snkwsei tnv /sbin/init 0a treksei eva
aplo /bin/bash shell kai 0a deis to klassiko kagkelaki (#) pou oloi oi
root tou kosmou latreuouv toso polu...
Ekei kaveis:
mount
gia va deis kati sav:
/dev/hda2 on / type ext2 (ro)
none on /proc type proc (ro)
Meta kaveis treis, parakalo, fores:
fsck -rf /dev/hda2
Ta options pou edwsa sto fsck dev eivai tipota magika, ta eksngei mia
xara sta manuals tou fsck. Snmaivouv basika "inteRactive" kai "Force"
me ta profavn apotelesmata, to fsck kavei checking akoma kai se kapoio
partition pou molis priv apo ligo fsck'aristnke (force), kai otav brei
kati periergo se rwtaei ti va kamei me to disko sou (interactive).
Twra kaveis treis fores "fsck", 'n oses xreiastei, mexri va sou bgalei
pws o diskos eivai OK.
Meta, ki epeidn _dev_ mporeis va kaveis /sbin/shutdown se tetoio mode,
prepei avagkastika va kaveis to palio kalo "triple-sync-reboot".
sync;sync;sync
staurwveis ta daxtula tou aristerou sou xeriou pisw apo tnv platn sou,
kai patas to "Reset" tou upologistn priv o diskos gourgourisei pali...
Meta prepei to mnxavnma va kavei eva polu normal kai omorfo "fsck",
kai va sou bootarei sav kaivourio :)
>
> Anyway, afoy to trexw kai diorthwse to FS epistrefei
> error me exit 4. To ksanatrexw, to idio synexeia ...
> To thema einai oti den mporw na mpw sto mhxanhma twra.
> Katafera na kanw mount to disko apo disketes, alla
> den katafera na syneferw to disko.
>
To fsck epistrefei 4 otav brei "unrecoverable errors", dnladn la0n sto
filesystem pou _dev_ mporei va dior0wsei automata, giati mporei va sou
dialusei kata la0os to disko. Etsi se protrepei va kaveis esu "fsck"
me to xeri kai va dialekseis movos sou pws ka0e la0os 0a dior0w0ei.
>
> Exei pathei tipota paromoio kaneis ???
>
Apeires fores, eidika sto upologistiko mas pou ta UPS tou eivai me tis
wres... ama to feggari eivai stn xasn tou apla dev sou divouv reuma,
o,ti kai va kaveis :)))
Etsi egiva ki egw expert sto repairing tou ext2fs me to xeri, n akoma
kai me to "/sbin/debugfs" !!!
>
> H monh lysh poy blepw einai na to ksanasthsw ...
>
Mpa... dev leei! Ase pou 0a exeis sigoura dedomeva sto disko pou 0a
eivai polu krima va xaseis :(
Dokimase to "fsck-me-to-xeri" ki ama dev sou katsei...
...ti eixes ti exases...
0a kaveis ksava egkatastasn.
Alla dokimase prwta va to dior0wseis... Mn fobou! Sto linux, opws
exw pei avari0mntes fores, ta pavta givovtai (ektos apo tou Spavou ta
gevia, kai ta dika mou mallia)...
Avte kaln tuxn me to disko sou :)))
--
Georgios E. Keramidas (keramida at ceid.upatras.gr)
"In the name of the Father, the Son and the Linux-spirit."
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list