急!!高手救命,/home的文件有希望救回来吗?

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
头像
ioiamuro
帖子: 18
注册时间: 2008-01-03 1:17

Re: 急!!高手救命,/home的文件有希望救回来吗?

#16

帖子 ioiamuro »

回13/14楼:
检查后说"无法读取块(14450688)"??难道有坏道!!? mount 后卡住. 辜负了这么多好心人帮忙.怕是难救了,只是奇怪,我没做什么出格的操作啊..以下是从liveCD进去后的操作..
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/dev/hda1 * 1 653 5245191 b W95 FAT32
/dev/hda2 654 16819 129853395 f W95 Ext'd (LBA)
/dev/hda5 654 4595 31664083+ 7 HPFS/NTFS
/dev/hda6 4596 5595 8032468+ 93 Amoeba
/dev/hda7 5596 5688 746991 82 Linux swap / Solaris
/dev/hda8 5689 16819 89409726 83 Linux
Disk /dev/sda: 1048 MB, 1048575488 bytes
255 heads, 63 sectors/track, 127 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002a118
Device Boot Start End Blocks Id System
/dev/sda1 * 1 128 1023968 e W95 FAT16 (LBA)
Partition 1 has different physical/logical endings:
phys=(126, 254, 63) logical=(127, 122, 58)
ubuntu@ubuntu:~$ sudo fsck /dev/hda8
fsck 1.40.8 (13-Mar-2008)
reiserfsck 3.6.19 (2003 http://www.namesys.com)
*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to [email protected], **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at http://www.namesys.com/support.html. ***************************************************************
Will read-only check consistency of the filesystem on /dev/hda8
Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Sun Feb 15 13:35:56 2009
###########
Replaying journal..
Reiserfs journal '/dev/hda8' in blocks [18..8211]: 0 transactions replayed
The problem has occurred looks like a hardware problem. If you have
bad blocks, we advise you to get a new hard drive, because once you
get one bad block that the disk drive internals cannot hide from
your sight,the chances of getting more are generally said to become
much higher (precise statistics are unknown to us), and this disk
drive is probably not expensive enough for you to you to risk your
time and data on it. If you don't want to follow that follow that
advice then if you have just a few bad blocks, try writing to the
bad blocks and see if the drive remaps the bad blocks (that means
it takes a block it has in reserve and allocates it for use for
of that block number). If it cannot remap the block, use badblock
option (-B) with reiserfs utils to handle this block correctly.
bread: Cannot read the block (14450688): (Input/output error).
Warning... fsck.reiserfs for device /dev/hda8 exited with signal 6.
xiao_fei.zhang
帖子: 31
注册时间: 2009-02-03 14:52

Re: 急!!高手救命,/home的文件有希望救回来吗?

#17

帖子 xiao_fei.zhang »

能在WINDOWS下打开吗?
头像
ioiamuro
帖子: 18
注册时间: 2008-01-03 1:17

Re: 急!!高手救命,/home的文件有希望救回来吗?

#18

帖子 ioiamuro »

xiao_fei.zhang 写了:能在WINDOWS下打开吗?
不能.
头像
Ur@nus
帖子: 622
注册时间: 2006-12-01 23:02

Re: 急!!高手救命,/home的文件有希望救回来吗?

#19

帖子 Ur@nus »

# /etc/fstab: static file system
.
# <file system> <mount point> <type> <options> <dump> <
>proc /proc proc defaults 0
0# /
/hda8UUID=8e66b1c7-e37c-4e03-af56-a1676497a942 / reiserfs notail,relatime
0 1# /
/hda6UUID=8220a6ea-309e-4ac6-8484-0812dada8478 none swap sw
0 0/dev/hdb /media/cdrom0 udf,iso9660 user,noauto,exec,
8 0 0

这是你的fstab?你只挂载了/ 和swap ,没有挂载/home?


里面应该加一句,仅供参考,你应该搜索一下论坛,记得ee有篇文章是专门写fstab。的挺不错的。



/dev/sda2 /home ext3 relatime 0 2
头像
ioiamuro
帖子: 18
注册时间: 2008-01-03 1:17

Re: 急!!高手救命,/home的文件有希望救回来吗?

#20

帖子 ioiamuro »

不是我不想挂是我根本挂不上,一挂基本就要死机.
我再试试.
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 急!!高手救命,/home的文件有希望救回来吗?

#21

帖子 adagio »

好像是block记录坏了,我不懂怎么恢复……

给个建议吧
1.使劲google,看看是否有类似的解决方案(可能需要你深入了解一下reiserfs和block、inode、superblock这些知识,并且要回忆一下当初分区时的情况)
2.实在不行就试试这个
http://www.cgsecurity.org/wiki/PhotoRec
应该可以挽回一点损失,不过时间代价太大,我扫描20G的分区他说要4个小时,我放弃了……
看你的数据重要程度决定吧
3.还是不行……
请节哀,勇敢的format之,正所谓天涯何处无芳草,何必一定自己的好,如果有稀有的1080p经典毛片的话,重下! :em11
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
Ur@nus
帖子: 622
注册时间: 2006-12-01 23:02

Re: 急!!高手救命,/home的文件有希望救回来吗?

#22

帖子 Ur@nus »

ioiamuro 写了:不是我不想挂是我根本挂不上,一挂基本就要死机.
我再试试.
这样吧。你是这根据我哪个语句修改一下fstab。看看有帮助没有。如果还不行。自己再google一下吧。对不起只能帮成这样了,不好意思。
头像
ioiamuro
帖子: 18
注册时间: 2008-01-03 1:17

Re: 急!!高手救命,/home的文件有希望救回来吗?

#23

帖子 ioiamuro »

回复21/22楼:
感谢大家.是我不好意思....HDtune 检测过,有坏道,估计和意外断电有关,硬盘先不敢动了,正在试adagio 的方法2.如果是可以从网上下得到的东西我就不用紧张了,是一些公司的账目,表格,还有自己的文件(<3G),当时还是我建议把那些资料存在Linux下的,理由是比较安全.只怪自学不精,平时又没及时备份.看来要努力"了解一下reiserfs和block、inode、superblock这些知识了".........
myubunt_720
帖子: 232
注册时间: 2008-06-04 11:24

Re: 急!!高手救命,/home的文件有希望救回来吗?

#24

帖子 myubunt_720 »

adagio 写了:好像是block记录坏了,我不懂怎么恢复……

给个建议吧
1.使劲google,看看是否有类似的解决方案(可能需要你深入了解一下reiserfs和block、inode、superblock这些知识,并且要回忆一下当初分区时的情况)
2.实在不行就试试这个
http://www.cgsecurity.org/wiki/PhotoRec
应该可以挽回一点损失,不过时间代价太大,我扫描20G的分区他说要4个小时,我放弃了……
看你的数据重要程度决定吧
3.还是不行……
请节哀,勇敢的format之,正所谓天涯何处无芳草,何必一定自己的好,如果有稀有的1080p经典毛片的话,重下! :em11
Orz :em20
myubunt_720
帖子: 232
注册时间: 2008-06-04 11:24

Re: 急!!高手救命,/home的文件有希望救回来吗?

#25

帖子 myubunt_720 »

ioiamuro 写了:回复21/22楼:
感谢大家.是我不好意思....HDtune 检测过,有坏道,估计和意外断电有关,硬盘先不敢动了,正在试adagio 的方法2.如果是可以从网上下得到的东西我就不用紧张了,是一些公司的账目,表格,还有自己的文件(<3G),当时还是我建议把那些资料存在Linux下的,理由是比较安全.只怪自学不精,平时又没及时备份.看来要努力"了解一下reiserfs和block、inode、superblock这些知识了".........
折腾前一定要备份重要的数据!
回复