Доброго всем дня. Проблема в том, что не монтируется раздел с ext4 (sdb2)
Пишет:
Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
kostya@kostya-linux:~$ dmesg | tail
[ 1840.043229] Info fld=0x0
[ 1840.043232] sd 2:0:0:0: [sdb] Add. Sense: No additional sense information
[ 1840.043238] sd 2:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 40 00 00 08 00
[ 1840.043250] end_request: I/O error, dev sdb, sector 64
[ 1840.659165] EXT4-fs (sdb2): bad geometry: first datablock 1009836508 is beyond end of filesystem (133999616)
[ 1840.793055] EXT3-fs: barriers not enabled
[ 1840.816105] kjournald starting. Commit interval 5 seconds
[ 1840.816901] EXT3-fs (sdb1): using internal journal
[ 1840.816910] EXT3-fs (sdb1): recovery complete
[ 1840.816917] EXT3-fs (sdb1): mounted filesystem with ordered data mode
Помимо проблемы с геометрией есть ещё одна, с суперблоками:
kostya@kostya-linux:~$ sudo fsck -y /dev/sdb2
[sudo] password for kostya:
fsck from util-linux-ng 2.17.2
e2fsck 1.41.14 (22-Dec-2010)
fsck.ext4: Superblock invalid, trying backup blocks...
fsck.ext4: The ext2 superblock is corrupt при попытке открыть /dev/sdb2
The superблок could not be read or does not describe a correct ext2
ФС. If the устройство is valid and it really contains an ext2
ФС (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 <устройство>
Пробовал найти нужные суперблоки:
kostya@kostya-linux:~$ sudo mke2fs -n /dev/sdb2
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
33505280 inod'ов, 133999616 блоков
6699980 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
4090 block groups
32768 blocks per group, 32768 fragments per group
8192 inod'ов в группе
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000
И подставлял их. Но всё равно:
The superблок could not be read or does not describe a correct ext2
ФС. If the устройство is valid and it really contains an ext2
ФС (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 <устройство>
Гуглинг не выдал ничего. Что делать дальше?