problem mit tune2fs filesystem-check

S

supersucker

Foren Gott
hi,

ich hab FC 4 und Ubuntu auf meinem Desktop-system. da mich die voreingestellte filesystem-überprüfung von ubuntu nach 30 reboots nervt wollte ich die mit tune2fs abstellen.
merkwürdigerweise tut sich aber gar nichts wenn ich das mit tune2fs probiere, soll heissen:

schaue ich in die man-page von tune2fs:


Code:
OPTIONS
       -c max-mount-counts
              Adjust  the  maximal  mounts  count  between  two filesystem checks.  If max-mount-counts is 0 or -1, the number of times the filesystem is
              mounted will be disregarded by e2fsck(8) and the kernel.

              Staggering the mount-counts at which filesystems are forcibly checked will avoid all filesystems being checked at one time when using jour‐
              naled filesystems.

              You  should  strongly consider the consequences of disabling mount-count-dependent checking entirely.  Bad disk drives, cables, memory, and
              kernel bugs could all corrupt a filesystem without marking the filesystem dirty or in error.  If you are using journaling on your  filesys‐
              tem,  your filesystem will never be marked dirty, so it will not normally be checked.  A filesystem error detected by the kernel will still
              force an fsck on the next reboot, but it may already be too late to prevent data loss at that point.

              See also the -i option for time-dependent checking.

ok, aber führe ich nun als root

Code:
root@supersucker:~# tune2fs -c 100
tune2fs 1.38 (30-Jun-2005)
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-g group]
        [-i interval[d|m|w]] [-j] [-J journal_options]
        [-l] [-s sparse_flag] [-m reserved_blocks_percent]
        [-o [^]mount_options[,...]] [-r reserved_blocks_count]
        [-u user] [-C mount_count] [-L volume_label] [-M last_mounted_dir]
        [-O [^]feature[,...]] [-T last_check_time] [-U UUID] device

damit weise ich das system laut manpage an den check erst nach 100 reboots das zu machen.

tja, dachte ich zumindest, denn das system führt den check immer noch nach 30 reboots aus.

auch ein

Code:
tune2fs -c 0

womit ich den check testweise komplett ausschalten wollte wurde einfach nicht übernommen.
desweiteren wundert mich das nach ausführen des befehls die einzelnen schalter aufgeführt werden wie oben zu sehen, das sollte mir doch eigentlich sagen das ich irgendeinen parameter vergessen hab?
laut manpage und diversen beispielen im netz sollte das aber doch so gehen.........bin ziemlich ratlos jetzt warum das nicht funktioniert...

das filesystem ist ext3, und zwar auf allen platten die ich eingebaut habe...

bin für jede hilfe dankbar
 
Wenn Du nur
Code:
 tune2fs -c 100
eingibst, weiss das Programm nicht, auf welche Partition es den Befehl anwenden soll. Du musst diese als Parameter mit angeben:
Code:
 tune2fs -c 100 /dev/hda1
Das musst Du fuer alle Partitionen einzeln machen, fuer die Du die Parameter aendern willst. hda1 ist dabei die erste Partition auf der ersten IDE-Festplatte. Falls Du scsi-Platten hast, musst Du stattdessen 'sda1' angeben. Fuer die zweite Partition auf der ersten IDE-Platte musst Du 'hda2' angeben, und fuer die fuenfte Partition auf der dritten Platte 'hdc5' usw.
 

Ähnliche Themen

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

X startet nichtmehr

JBidWatcher: Problem bei loading Auctions in Verbindung mit mySQL

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

NagiosGrapher 1.7.1 funktioniert nicht

Zurück
Oben