[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: root Dateisystem aushängen für fsck



Siegfrid Brandstätter schrieb:

> Am Montag, 23. März 2015 schrieb Manfred Schmitt:
> > 
> > touch /forcefsck
> > reboot
> 
> Was passiert da? Wird da der fsck durchgeführt ohne umount? Ich frage, da ich 
> auch verstehen möchte was ich mache.
> > 

Das forciert einen fsck aus der initrd heraus beim naechsten reboot 
und loescht die Datei danach. Da ist das Dateisystem dann noch nicht 
beschreibbar gemountet und deswegen klappt der fsck.

> > Und am besten (da "man" selbst sowieso nicht so schlau ist wie die
> > defaults in fsck) vorher noch FSCKFIX=yes in der /etc/default/rcS.
> > 
Das startet den fsck mit 
-y     Assume an answer of `yes' to all questions; allows e2fsck to be used  
non-interactively. This option may not be specified at the same time as the 
-n or -p options.

Und wech,
Manne


Reply to: