e2fsck находит ошибки

Ответить
Аватара пользователя
nickm
Сообщения: 432
Зарегистрирован: 31 май 2016, 07:08
Operating system: ROSA Fresh 2023.1

e2fsck находит ошибки

Сообщение nickm »

Уважаемые, здравствуйте!

Столкнулся с необъяснимой ситуацией, тогда, когда указанная утилита из-под активной системы находит ошибки на томах, при этом, при проверке из Live-системы ошибки отсутствуют.

Полагаю, что от версии платформы (2023.1) и самой утилиты(1.47.0) никакой зависимости нет.

Что бы это могло означать?

Проверка из-под Live:

Код: Выделить всё

osa-xf2cra ~ # e2fsck -fnv /dev/sda2
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

      216865 inodes used (2.82%, out of 7684096)
          96 non-contiguous files (0.0%)
         348 non-contiguous directories (0.2%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 190550/57
     4886634 blocks used (15.91%, out of 30720000)
           0 bad blocks
           2 large files

      176663 regular files
       13776 directories
           0 character device files
           0 block device files
           0 fifos
        5507 links
       26414 symbolic links (26248 fast symbolic links)
           2 sockets
------------
      222362 files

Код: Выделить всё

rosa-xf2cra ~ # e2fsck -fnv /dev/sda3
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

      140906 inodes used (0.62%, out of 22847488)
         769 non-contiguous files (0.5%)
          43 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 139961/882
    69860546 blocks used (76.45%, out of 91375616)
           0 bad blocks
           3 large files

      115307 regular files
       25515 directories
           0 character device files
           0 block device files
           0 fifos
       19229 links
          74 symbolic links (55 fast symbolic links)
           0 sockets
------------
      160125 files
Проверка из-под активной:

Код: Выделить всё

detsadpc ~ # e2fsck -fnv /dev/sda2
e2fsck 1.47.0 (5-Feb-2023)
Warning!  /dev/sda2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (25833366, counted=25833343).
Fix? no

Free inodes count wrong (7467231, counted=7467215).
Fix? no

Feature orphan_present is set but orphan file is clean.
Clear? no


/dev/sda2: ********** WARNING: Filesystem still has errors **********


      216865 inodes used (2.82%, out of 7684096)
          96 non-contiguous files (0.0%)
         348 non-contiguous directories (0.2%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 190566/57
     4886634 blocks used (15.91%, out of 30720000)
           0 bad blocks
           2 large files

      176665 regular files
       13790 directories
           0 character device files
           0 block device files
           0 fifos
        5507 links
       26414 symbolic links (26248 fast symbolic links)
           2 sockets
------------
      222378 files

Код: Выделить всё

detsadpc ~ # e2fsck -fnv /dev/sda3
e2fsck 1.47.0 (5-Feb-2023)
Warning!  /dev/sda3 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 17172791 has zero dtime.  Fix? no

Deleted inode 17172816 has zero dtime.  Fix? no

Deleted inode 17172949 has zero dtime.  Fix? no

Deleted inode 17196806 has zero dtime.  Fix? no

Deleted inode 17196807 has zero dtime.  Fix? no

Deleted inode 17196810 has zero dtime.  Fix? no

Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -(24185392--24185401) -(24185404--24185413) -(24446540--24446564) -(25070400--25070416)
Fix? no

Free blocks count wrong (21515070, counted=21514997).
Fix? no

Inode bitmap differences:  -17172791 -17172816 -17172949 -(17196806--17196807) -17196810
Fix? no

Free inodes count wrong (22706582, counted=22706572).
Fix? no

Orphan file (inode 12) block 13 is not clean.
Clear? no

Failed to initialize orphan file.
Recreate? no

/dev/sda3: ********** WARNING: Filesystem still has errors **********


      140906 inodes used (0.62%, out of 22847488)
         769 non-contiguous files (0.5%)
          43 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 139965/882
    69860546 blocks used (76.45%, out of 91375616)
           0 bad blocks
           3 large files

      115311 regular files
       25515 directories
           0 character device files
           0 block device files
           0 fifos
       19229 links
          74 symbolic links (55 fast symbolic links)
           0 sockets
------------
      160129 files
irton
Сообщения: 1019
Зарегистрирован: 30 окт 2021, 04:17
Operating system: Rosa Fresh Xfce

e2fsck находит ошибки

Сообщение irton »

>Warning! /dev/sda2 is mounted.

а ненадо проверять смонтированный раздел.
Аватара пользователя
nickm
Сообщения: 432
Зарегистрирован: 31 май 2016, 07:08
Operating system: ROSA Fresh 2023.1

e2fsck находит ошибки

Сообщение nickm »

irton писал(а): 27 ноя 2023, 11:39 а ненадо проверять смонтированный раздел.
А, получается, что Я просто не понимаю как эта самая проверка работает?

Т.е. захотел проверить в режиме чтения и просто увидеть результаты и специально указал ключи -fn, которые ничего не значат?
irton
Сообщения: 1019
Зарегистрирован: 30 окт 2021, 04:17
Operating system: Rosa Fresh Xfce

e2fsck находит ошибки

Сообщение irton »

ну откроет e2fsck только на чтение, а другие проги использующие диск об этом знают?
Ответить

Вернуться в «Обсуждение ROSA Fresh R12 (платформа 2021.1)»