Hoje, passei pelas estações de desktop que executavam o Linux Mint 17.3 Cinnamon e fiz uma verificação do sistema de arquivos das partições raiz com os sistemas de arquivos Ext4, da seguinte maneira:
# fsck.ext4 -fn /dev/sdb2
O problema é que, em todos os computadores, vejo algo semelhante a este:
e2fsck 1.42.9 (4-Feb-2014)
Warning! /dev/sdb2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 524292 has zero dtime. Fix? no
Inodes that were part of a corrupted orphan linked list found. Fix? no
Inode 524293 was part of the orphaned inode list. IGNORED.
Inode 524294 was part of the orphaned inode list. IGNORED.
Inode 524299 was part of the orphaned inode list. IGNORED.
Inode 524300 was part of the orphaned inode list. IGNORED.
Inode 524301 was part of the orphaned inode list. IGNORED.
Inode 524302 was part of the orphaned inode list. IGNORED.
Inode 524310 was part of the orphaned inode list. IGNORED.
Inode 524321 was part of the orphaned inode list. IGNORED.
Inode 524322 was part of the orphaned inode list. IGNORED.
Inode 524325 was part of the orphaned inode list. IGNORED.
Inode 2492565 was part of the orphaned inode list. IGNORED.
Inode 2622677 was part of the orphaned inode list. IGNORED.
Inode 2622678 was part of the orphaned inode list. IGNORED.
Inode 2883748 was part of the orphaned inode list. IGNORED.
Inode 2884069 was part of the orphaned inode list. IGNORED.
Inode 2885175 was part of the orphaned inode list. IGNORED.
Pass 2: Checking directory structure
Entry 'Default_keyring.keyring' in /home/vlastimil/.local/share/keyrings (2495478) has deleted/unused inode 2498649. Clear? no
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Unattached inode 2491790
Connect to /lost+found? no
Pass 5: Checking group summary information
Block bitmap differences: -(34281--34303) -11650577 -(11650579--11650580) -11650591 -(11650594--11650595) -(13270059--13270073) -(13272582--13272583) -(20542474--20542475) +(26022912--26023347) -(26029568--26030003)
Fix? no
Free blocks count wrong (14476802, counted=14476694).
Fix? no
Inode bitmap differences: -(524292--524294) -(524299--524302) -524310 -(524321--524322) -524325 +2491790 -2492565 -2498649 -(2622677--2622678) -2883748 -2884069 -2885175
Fix? no
Free inodes count wrong (7371936, counted=7371916).
Fix? no
/dev/sdb2: ********** WARNING: Filesystem still has errors **********
/dev/sdb2: 443232/7815168 files (0.1% non-contiguous), 16757502/31234304 blocks
O que tentei:
# touch /forcefsck
Isso resulta em uma verificação duradoura de 2 a 3 segundos na inicialização. Obviamente não consertar nada.
Isso é mais provável porque meu sistema de arquivos raiz está de alguma forma limpo.
# fsck.ext4 -n /dev/sdb2
e2fsck 1.42.9 (4-Feb-2014)
Warning! /dev/sdb2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/sdb2: clean, 443232/7815168 files, 16757502/31234304 blocks
Como não consigo encontrar quase nada para a verificação do sistema de arquivos na inicialização diferente de sudo touch /forcefsck
, tentei estas etapas:
-
echo u > /proc/sysrq-trigger
-
umount /dev/sdb2
-
fsck -fy /dev/sdb2
Isso mostrou que tinha reparado, para ter certeza de que eu corri o fsck
novamente sem erros. MAS, eles estão de volta quando eu reiniciar. Estou confuso agora. Por favor, não instrua como "criar um pen drive e arrancar a partir dele e ...". Eu quero uma solução na reinicialização ou antes de reiniciar sem inicializar a partir de algumas unidades flash. Obrigado.