[Ubuntu-BR] Configurar fsck
Márcio H. Parreiras
mhp em army.com
Segunda Março 31 14:48:00 UTC 2008
sudo tune2fs -c n /dev/sdxx
onde n=número de montagens antes do fsck forçado. Se n=0 ou n=-1 a checagem
é desabilitada para a partição.
Extraído da página de manual do tune2fs (o grifo é meu):
OPTIONS
-c max-mount-counts
Adjust the number of mounts after which the filesystem will
be
checked by e2fsck(8). If max-mount-counts is 0 or -1, the
num-
ber 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 journaled 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 filesystem, your filesystem will
never
be marked dirty, so it will not normally be checked. A
filesys-
tem 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.
--
Márcio H. Parreiras @ Pedro Leopoldo - MG - Brazil
Por favor evite enviar-me anexos Excel (.xls), PowerPoint (.ppt) ou Word
(.doc);
Veja http://www.gnu.org/philosophy/no-word-attachments.pt.html
Please avoid sending me Excel (.xls), PowerPoint (.ppt) or Word (.doc)
attachments;
See http://www.gnu.org/philosophy/no-word-attachments.html
Navegue com segurança: http://br.mozdev.org
Surf safely: http://www.mozilla.com/en-US
Experimente http://www.broffice.org
Try http://www.openoffice.org
"A caixa dizia: Requer MS Windows ou superior, então eu instalei Debian/GNU
Linux!"
http://www.debian.org/index.pt.html
"The box said: Requires MS Windows or better, then I installed Debian/GNU
Linux!"
http://www.debian.org/index.en.html
http://pt.wikipedia.org/wiki/Linux
http://en.wikipedia.org/wiki/Linux
Codificação de caracteres / Character encoding: Unicode (UTF-8)
.
More information about the ubuntu-br
mailing list