[Eisfair] fsck recommended - warum macht er es nicht selbst?
Kay Martinen
usenet at martinen.de
So Sep 11 18:45:57 CEST 2022
Am 11.09.22 um 17:56 schrieb Stefan Puschek:
> aha:
>
> barbrady # dmesg | grep fsck
> [ 6.362388] dracut: issuing e2fsck -a
> /dev/disk/by-uuid/c48d26e8-607c-4e2a-8d0b-89b801ac45bd [ 10.360285]
> EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is
> recommended [ 10.481762] EXT4-fs (sda4): warning: maximal mount count
> reached, running e2fsck is recommended barbrady # barbrady #
> [ 6.361915] dracut: Checking ext4:
> /dev/disk/by-uuid/c48d26e8-607c-4e2a-8d0b-89b801ac45bd [ 6.362388]
> dracut: issuing e2fsck -a
> /dev/disk/by-uuid/c48d26e8-607c-4e2a-8d0b-89b801ac45bd [ 6.450439]
> dracut: /dev/disk/by-uuid/c48d26e8-607c-4e2a-8d0b-89b801ac45bd: clean,
> hat er den Check nun gemacht oder nicht?
Offensichtlich ja, sonst würde da nicht clean stehen können.
Und was steht dazu in deiner /etc/fstab als letzte Zahl?
Aus der man-page meines ubuntu zu fstab:
> The sixth field (fs_passno). This field is used by fsck(8) to
> determine the order in which filesystem checks are done at boot
> time. The root filesystem should be specified with a
> fs_passno of 1. Other filesystems should have a fs_passno of 2.
> Filesystems within a drive will be checked sequentially, but
> filesystems on different drives will be checked at the same time
> to utilize parallelism available in the hardware. Defaults to zero
> (don't fsck) if not present.
Wenn da eine Null stünde dann prüft er überhaupt nicht automatisch.
Und erst mit einer Zahl über 0, in folge also 1, 2 oder 3 würde
automatisch geprüft. Müsste also 1 sein für root und ggf. /boot und für
alle anderen auf eigenen disks die 2 oder höher.
Die check-zahl nicht mit der für 'dump' davor verwechseln.
Bye/
/Kay
--
"Kann ein Wurstbrot die Welt retten?" :-)
Mehr Informationen über die Mailingliste Eisfair