Mailinglist Archive: opensuse-fr (17 mails)

< Previous Next >
Re: [opensuse-fr] fsck automatique
  • From: "Frederic Gautier" <fredericg@xxxxxxx>
  • Date: Tue, 13 Sep 2011 20:04:20 +0200 (CEST)
  • Message-id: <ebb98708e24b30a46cc7c07359d2f594.squirrel@ultra30>

Le Mar 13 septembre 2011 18:31, Pierre Coutant a écrit :
Bonjour,

Je réalise que je n'ai ,pas eu de vérification des fichiers depuis
l'installation de la dernière distribution Suse (11.4).
Et ne retrouve plus la commande pour vérifier la commande et la modifier
si besoin.
Quelqu'un sait surement.

forcer le fsck au prochain boot :

touch /forcefsck
shutdown -rF now

éviter le fsch au prochain reboot :
shutdown -rf now

Sinon, il faut regarder du côté du dernier paramètre d'une ligne de
/etc/fstab
exemple :
/dev/sda6 /home ext3 relatime 1 2

extrait de man fstab
The sixth field, (fs_passno), is used by the fsck(8) program to
determine the order in which filesystem checks are done at reboot time.
The root filesystem should be specified with a fs_passno of 1, and
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. If the sixth field is not present or zero, a value
of zero is returned and fsck will assume that the filesystem does not
need to be checked.

A plus
Fred




Merci.


--
Pierre COUTANT

--
To unsubscribe, e-mail: opensuse-fr+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-fr+help@xxxxxxxxxxxx




--
Well...Nobody's perfect ! : Osgood Fielding III (Joe E. Brown), Some Like
It Hot, 1959.
https://linuxcounter.net/cert/133016.png

--
To unsubscribe, e-mail: opensuse-fr+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-fr+help@xxxxxxxxxxxx

< Previous Next >
References