Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Abschalten des Dateisystemchecks bei Verwendung von ext3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2656
Location: Heidelberg - Germany

PostPosted: Thu Nov 10, 2005 4:11 pm    Post subject: Abschalten des Dateisystemchecks bei Verwendung von ext3 Reply with quote

Hallo allerseits,
ich habe gelesen, man dürfe bei Verwendung von ext3 die Dateisystemüberprüfung abschalten. Stimmt das? Der Befehl sollte lauten :

Code:

tune2fs -c 0 -i 0 /dev/hdXX


Ist das so richtig? Gehe ich ein Risiko ein wenn ich das an meinem System mache?

Grüße
Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Cpt_McLane
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 133
Location: /home/mclane

PostPosted: Thu Nov 10, 2005 5:40 pm    Post subject: Reply with quote

ich weiß jetzt nicht, ob der befehl so stimmt, aber ich kann sagen, dass mir der dateisystemcheck schon manchmal geholfen hat... gerade dann, wenn man es nicht erwartet, passiert irgendwas... und wen es nur ein stromausfall ist. und dann kann man beim nächsten neustart den dateisystemcheck brauchen, wenn's auch nur zur beruhigung ist, dass alles in ordnung ist...
_________________
»Sir! We we are surrounded!« - »Perfect! Now we can shoot in any direction...«
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2656
Location: Heidelberg - Germany

PostPosted: Fri Nov 11, 2005 9:22 am    Post subject: Reply with quote

Nach einem Absturz wird der Check sowieso gemacht, weil das Statusbit nicht zurückgesetzt wird. Es geht hier um den regelmäßigen Routinecheck. Das habe ich hier gelesen:

http://wwwbs.informatik.htw-dresden.de/svortrag/ai99/Zschornak/filesysteme.html#2

Was hälst Du davon?

Gruß
Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
theche
Guru
Guru


Joined: 26 Feb 2004
Posts: 512

PostPosted: Fri Nov 11, 2005 10:03 am    Post subject: Reply with quote

de dumme fscheck ist mir schonmal bei einem server passiert...eher ne nervige sache, wenn er auf ein passwort wartet, und man selber irgendwo anders ist und keine serielle konsole hat...
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2656
Location: Heidelberg - Germany

PostPosted: Fri Nov 11, 2005 10:13 am    Post subject: Reply with quote

Nur die Frage ist ja, macht ext3 den Routinecheck überflüssig? Ich bin mir nicht sicher und vertraue nicht so gern nur einer Quelle, deshalb frage ich hier nochmal. (Im Gentoo Forum sind sowieso die kompetentesten Leute).
Gruß
Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Fri Nov 11, 2005 10:57 am    Post subject: Reply with quote

Erdie wrote:
Nur die Frage ist ja, macht ext3 den Routinecheck überflüssig?

Grundsätzlich braucht man keine Routinecheck, auch nicht bei ext2. Allerdings finden Routinechecks Fehler die, würden sie noch nicht entdeckt, zu viel größeren Fehlern heranwachsen könnten. Bei einem ext3 werden aber nie Routinechecks ausgelöst! Nur wenn der Kernel einen FS-Error findet löst er beim nächsten reboot einen fscheck aus (dazu markiert er das FS entsprechend). Somit ist ein "tune2fs -c 0 -i 0" auf ein ext3 angewendet unsinnig.

Mfg Hilefoks

P.S: man tune2fs kann hilfreich sein ;-)
_________________
- Der Computer rechnet vor allem damit, dass der Mensch denkt. -
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2656
Location: Heidelberg - Germany

PostPosted: Fri Nov 11, 2005 12:21 pm    Post subject: Reply with quote

Hilefoks wrote:
.. Bei einem ext3 werden aber nie Routinechecks ausgelöst! ...



???
Dem kann ich nicht beipflichten, bei mir werden Routinechecks ausgelöst und ich habe ext3 :?

Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Cpt_McLane
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 133
Location: /home/mclane

PostPosted: Fri Nov 11, 2005 3:02 pm    Post subject: Reply with quote

schuss ins blaue:
könnte
Code:
# rc-update show | grep checkfs
             checkfs | boot

das sein, was du meinst?
_________________
»Sir! We we are surrounded!« - »Perfect! Now we can shoot in any direction...«
Back to top
View user's profile Send private message
Fauli
l33t
l33t


Joined: 24 Apr 2004
Posts: 760
Location: Moers, Germany

PostPosted: Fri Nov 11, 2005 6:22 pm    Post subject: Reply with quote

Du kannst in /etc/fstab in der 6. Spalte (fs_passno, siehe man fstab) festlegen, ob das Dateisystem beim Booten gecheckt werden soll. Eine 0 schaltet den Check ab.
_________________
Do your part to beautify the web! Turn off link underlining!
Back to top
View user's profile Send private message
flash49
Apprentice
Apprentice


Joined: 12 Feb 2005
Posts: 233

PostPosted: Fri Nov 11, 2005 8:25 pm    Post subject: Reply with quote

Der Filesystemcheck lässt sich auch mit 2 Files in "/" steuern. Der Nachteil ist allerdings, das die files beim start immer wieder gelöscht werden.
Code:

touch /fastboot #keine fsck beim nächsten Start
touch /forcefsck #fsck auf jeden Fall beim nächsten Start
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2656
Location: Heidelberg - Germany

PostPosted: Wed Nov 23, 2005 9:11 am    Post subject: Reply with quote

Danke, das werde ich erstmal checken. Leider war ich ne Woche krank, da war nix mit Computer ..

Gruß
Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum