- 论坛徽章:
- 0
|
本帖最后由 功夫猫 于 2013-04-12 10:42 编辑
先是格式化...
localhost ~ # mkfs -t ext3 -m 0 /dev/sdd1
mke2fs 1.42 (29-Nov-2011)
文件系统标签=
OS type: Linux
块大小=4096 (log=2)
分块大小=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
268378112 inodes, 1073484800 blocks
0 blocks (0.00%) reserved for the super user
第一个数据块=0
Maximum filesystem blocks=4294967296
32761 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544
Allocating group tables: 完成
正在写入inode表: 完成
Creating journal (32768 blocks): 完成
Writing superblocks and filesystem accounting information: 完成
然后mount
localhost ~ # mount /dev/sdd1 /mnt/sdd1
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
fsck一下,的确是不行
localhost ~ # fsck /dev/sdd1
fsck,来自 util-linux 2.21.2
e2fsck 1.42 (29-Nov-2011)
fsck.ext3: Group descriptors look bad... trying backup blocks...
fsck.ext3: Bad magic number in super-block when using the backup blocks
fsck.ext3: going back to original superblock
fsck.ext3: Group descriptors look bad... trying backup blocks...
fsck.ext3: Bad magic number in super-block when using the backup blocks
fsck.ext3: going back to original superblock
fsck.ext3: A block group is missing an inode table while checking ext3 journal for /dev/sdd1
/dev/sdd1: ********** 警告: 文件系统上仍有错误 **********
demsg相关信息:
[ 9511.564239] EXT3-fs error (device sdd1): ext3_check_descriptors: Block bitmap for group 1 not in group (block 0)!
[ 9511.566130] EXT3-fs (sdd1): error: group descriptors corrupted |
|