LINUX.ORG.RU

Надежность ext4.........

 , , ,


0

1

Всем здасте! После сброса питания получил нерабочую фс. Восстановить никак не получается:

/mnt_> for i in $(dumpe2fs /dev/sda1 2>/dev/null | grep -i superblock | awk '{print $4}' | awk -F , '{print $1}'); do fsck -b $i /dev/sda1; sleep 1; done
fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)                                                                                            
/dev/sda1 has unsupported feature(s): metadata_csum                                                                     
e2fsck: Get a newer version of e2fsck!                                                                                  
fsck из util-linux 2.27.1                                                                                               
e2fsck 1.42.13 (17-May-2015)                                                                                            
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1                                                
                                                                                                                        
The superблок could not be read or does not describe a valid ext2/ext3/ext4                                             
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4                                                
ФС (and not swap or ufs or something else), then the superблок                                                          
is corrupt, and you might try running e2fsck with an alternate superблок:                                               
    e2fsck -b 8193 <устройство>                                                                                         
 or                                                                                                                     
    e2fsck -b 32768 <устройство>                                                                                        
                                                                                                                        
fsck из util-linux 2.27.1                                                                                               
e2fsck 1.42.13 (17-May-2015)                                                                                            
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1                                                
                                                                                                                        
The superблок could not be read or does not describe a valid ext2/ext3/ext4                                             
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4                                                
ФС (and not swap or ufs or something else), then the superблок                                                          
is corrupt, and you might try running e2fsck with an alternate superблок:                                               
    e2fsck -b 8193 <устройство>                                                                                         
 or                                                                                                                     
    e2fsck -b 32768 <устройство>                                                                                        
                                                                                                                        
fsck из util-linux 2.27.1                                                                                               
e2fsck 1.42.13 (17-May-2015)                                                                                            
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1                                                
                                                                                                                        
The superблок could not be read or does not describe a valid ext2/ext3/ext4                                             
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4                                                
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Bad magic number in super-block при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Недопустимый аргумент при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Недопустимый аргумент при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Недопустимый аргумент при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Недопустимый аргумент при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Недопустимый аргумент при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>

fsck из util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Недопустимый аргумент при попытке открыть /dev/sda1

The superблок could not be read or does not describe a valid ext2/ext3/ext4
ФС.  If the устройство is valid and it really contains an ext2/ext3/ext4
ФС (and not swap or ufs or something else), then the superблок
is corrupt, and you might try running e2fsck with an alternate superблок:
    e2fsck -b 8193 <устройство>
 or
    e2fsck -b 32768 <устройство>


Как с таким боротся? Не может ведь быть такого, что все блоки покрашились...

Так же смущает ошибка на 0 блоке

e2fsck 1.42.13 (17-May-2015)                                                                                            
/dev/sda1 has unsupported feature(s): metadata_csum                                                                     
e2fsck: Get a newer version of e2fsck!  

cyber_eagle
() автор топика

На всякий случай:

/mnt_> dumpe2fs /dev/sda1 | grep -i superblock
dumpe2fs 1.42.13 (17-May-2015)
  Primary superblock at 0, Group descriptors at 1-62
  Backup superblock at 32768, Group descriptors at 32769-32830
  Backup superblock at 98304, Group descriptors at 98305-98366
  Backup superblock at 163840, Group descriptors at 163841-163902
  Backup superblock at 229376, Group descriptors at 229377-229438
  Backup superblock at 294912, Group descriptors at 294913-294974
  Backup superblock at 819200, Group descriptors at 819201-819262
  Backup superblock at 884736, Group descriptors at 884737-884798
  Backup superblock at 1605632, Group descriptors at 1605633-1605694
  Backup superblock at 2654208, Group descriptors at 2654209-2654270
  Backup superblock at 4096000, Group descriptors at 4096001-4096062
  Backup superblock at 7962624, Group descriptors at 7962625-7962686
  Backup superblock at 11239424, Group descriptors at 11239425-11239486
  Backup superblock at 20480000, Group descriptors at 20480001-20480062
  Backup superblock at 23887872, Group descriptors at 23887873-23887934
  Backup superblock at 71663616, Group descriptors at 71663617-71663678
  Backup superblock at 78675968, Group descriptors at 78675969-78676030
  Backup superblock at 102400000, Group descriptors at 102400001-102400062

cyber_eagle
() автор топика

The superблок could not be read or does not describe a valid ext2/ext3/ext4 ФС. If the устройство is valid

что за трэээш

anonymous
()

В логах:

[10109.030083] JBD2: Invalid checksum recovering block 45 in log
[10111.351027] JBD2: recovery failed
[10111.351030] EXT4-fs (sda1): error loading journal

cyber_eagle
() автор топика

Как то ext слишком хрупкая получается. Для ntfs было достаточно ntfsfix.

cyber_eagle
() автор топика

testdisk видит директории на диске и предлагает сделать так:

/mnt_> for i in $(dumpe2fs /dev/sda1 2>/dev/null | grep -i superblock | awk '{print $4}' | awk -F , '{print $1}'); do fsck.ext4 -p -b $i -B 4096 /dev/sda1; sleep 1; done
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!

cyber_eagle
() автор топика
Ответ на: комментарий от anonymous

Это смотря с чем сравнивать. Я уже привык к apt/dpkg и слезть с deb тяжело.

А среди них mint выглядит, как самый толково подготовленный для десктопа.

cyber_eagle
() автор топика
Ответ на: комментарий от FluffyPillow

Там много ненужных демонов для десктопа по дефолту (давненько эксперементировал, но помню, там чтото с почтой было связано, и апач, хотя уже могу ошибатся). Вообщем все выглядело так, как будто целевыми машинами для дебиан являются сервера.

Дело в том, что я заранее готовлю скрипт для развертки привыччного рабочего окружения. И соответственно оцениваю пригодность дистрибутива для десктопа по количеству строчек кода сей тулзы)

В минте тоже не все хорошо, но он из коробки находится в максимально близком к рабочему состоянию, и чистить/устанавливать/настраивать нужно меньше, чем в дебиане.

ИМХО

cyber_eagle
() автор топика
Ответ на: комментарий от cyber_eagle

Вообщем все выглядело так, как будто целевыми машинами для дебиан являются сервера

Во время установки надо ставить только минимальный софт. А уже дальше набивать систему нужными средствами.

FluffyPillow
()
Ответ на: комментарий от FluffyPillow

и с установкой кде притянуть пол гнома как «рекомендованные зависимости»

anonymous
()

надо было винду и нтфс. скупой платит дважды

anonymous
()

Get a newer version of e2fsck

при чём тут ext4? Дурачок шоле? Ext4 максимально надёжна со времён ext4dev (которая таки разваливалась). NTFS та же за последние 10 лет на моей памяти бессчётное число раз рассыпалась по самым разным причинам.

anonymous
()
Ответ на: комментарий от anonymous

Главное барьеры не отключать, даже с ИБП можно словить панику на пустом месте из-за какого-нибудь блоба nvidia.

anonymous
()

Как с таким боротся? Не может ведь быть такого, что все блоки покрашились...

Память проверь. Проверь память. Память!

iZEN ★★★★★
()
Ответ на: комментарий от iZEN

Установил e2fsprogs 1.43 и проблема решилась. Но этой версии нет в репозиториях., чтоб им жилось хорошо.

Проблема была с устаревшим ПО минта.

cyber_eagle
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.