[Ubuntu-BR] fsck a cada 22 vezes no 7.04

Zandre Bran zandrebran em gmail.com
Quarta Janeiro 30 21:11:14 UTC 2008


On Jan 30, 2008 6:03 PM, Adilson Oliveira <adilson em canonical.com> wrote:
> Bruno escreveu:
> >[...]
> > Por favor, a cada 22 vezes que eu ligo meu computador com Ubuntu
> > 7.04, o sistema faz um fsck forçado, como eu removo isso?
>[...]
> Use tune2fs. Tem parâmetros para ajustar isso e muito mais.

    Legal a dica Adilson, não conhecia. Eu desabilitava a autocheck no
/etc/fstab conforme sua man:

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.

    Pois, usando o tune2fs optei por uma checagem a cada 70 montagens
com o comando abaixo:

$ sudo tune2fs -c 70 /dev/hdaX

    E pesquisando um pouco a respeito achei esta no Planeta sobre os
5% do filesystem para root:

http://planeta.ubuntubrasil.org/post/392

> []s
> Adilson.

    Obrigado,
Zandre.




More information about the ubuntu-br mailing list