数据恢复,fsck的问题
发表于 : 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.
就这样了,我的数据啊,希望大家帮帮忙啦,真的很重要的数据的,拜托了!!
然后,我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.
就这样了,我的数据啊,希望大家帮帮忙啦,真的很重要的数据的,拜托了!!