数据恢复,fsck的问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wfnh
帖子: 84
注册时间: 2008-02-20 11:46
联系:

数据恢复,fsck的问题

#1

帖子 wfnh » 2008-11-21 13:00

因为我的一个误操作,将一些资料rm了,现在想找回来,于是我对/home做了dd,dd if=/home of=/media/data/home.img(我本来的home分区是reiserfs的)

然后,我mkdir /media/chk 再挂载上chk目录:sudo mount -t reiserfs -o loop -w /media/data/home.img /media/chk(这里应该是以读写方式挂载的吧),

再fsck一下:sudo fsck -t reiserfs -fr /media/chk

问题出现了,发生以下错误:

Will read-only check consistency of the filesystem on /media/disk/media/chk/
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
bread: Cannot read the block (2): (Is a directory).
reiserfs_open: bread failed reading block 2
bread: Cannot read the block (16): (Is a directory).
reiserfs_open: bread failed reading block 16

reiserfs_open: the reiserfs superblock cannot be found on /media/disk/media/chk/.
Failed to open the filesystem.

If the partition table has not been changed, and the partition is
valid and it really contains a reiserfs partition, then the
superblock is corrupted and you need to run this utility with
--rebuild-sb.



就这样了,我的数据啊,希望大家帮帮忙啦,真的很重要的数据的,拜托了!!
回复