在AWS上运行CentOS第5.4版(最终)
突然,一个磁盘驱动器向我袭来。
设备是/dev/sdh ..。我该怎么做才能开始恢复?
dmesg的结果是:
sdh: unknown partition tablee2fsck /dev/sdh导致
[root@ip-xx-xx-xx-xx ~]# e2fsck /dev/sdh
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sdh
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>e2fsck -b 8193 /dev/sdh导致
[root@ip-xx-xx-xx-xx ~]# e2fsck -b 8193 /dev/sdh
e2fsck 1.39 (29-May-2006)
e2fsck: Bad magic number in super-block while trying to open /dev/sdh
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>发布于 2013-02-07 17:34:28
首先对磁盘进行备份(如果有空间的话)
dd if=/dev/sdh of=your-file.bin然后,您可以使用一些还原实用程序,如testdisk或您想要的任何东西,测试智能功能等等。
例如,您可以按照e2fsck指令并尝试使用e2fsck -b 8193。
https://serverfault.com/questions/476503
复制相似问题