[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] SHIT



"Øistein wind" wrote:
> MEN da jeg så startede op igen, stod der fejl ved næsten alle
> operationer, og den kunne ikke starte x-serveren. jeg kunne
> kun operere i konsolen.

Du er sikkert blevet smidt ind i single user mode, fordi
harddisken indeholdt fejl.

Du kan så køre e2fsck /dev/hda? på den/de harddiske hvor der er
fejl. Som det normalt står i noget af den tekst den smider ud
når den hopper til single user mode.

Hvis du kan reparere indeholdet på harddisken, kan man bare
reboote maskinen (med reboot/shutdown/halt/ctrl+d) så vil den
boote til multi user mode og man kan kører Xwindows etc.

> Jeg har lagt Linux ind igen, og det virker. men hvordan kan det
> lade sig gøre at linux "går i stykker" bare fordi man kommer til
> at slukke?

Jeg har prøvet det et par gange, men e2fsck kan normalt
klare problemerne.

Årsagen er at linux bruger alt den frie ram som cache, således
at linux ikke er så begrænset af at afsætte en fast mænge ram
til disk cache. Hvis et program skal bruge mere ram så betyder
det bare at noget cache hukommelse bliver skrevet til harddisken
og frigjort til programmet. Problemet er bare hvis du rebooter
uden at cachen bliver skrevet til harddisken. Btw. kan du vha.
sync tvinge linux til at flushe cachen til harddisken.

Så hvis du er i en situation hvor du af en eller anden grund
ikke kan halt/reboot/shutdown så sync i det mindste harddisken
før du slukker for strømmen.

-- 
	Sometimes it's better to light a       Carsten Svaneborg
      flamethrower than curse the darkness.      sslug@sslug
	-- (Terry Pratchett, Men At Arms)    Fight Bill - use Linux


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 21:38 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *