• 那是云首页
  • 快捷导航
  • 更多
    设为首页收藏本站
  • |
花生壳

Mybooklive 硬盘数据读取(mount EXT4)

My Book Live  / 教程分享  / 倒序浏览   © 著作权归作者本人所有

#楼主# 2016-11-12 21:15

跳转到指定楼层
最近在更换mybooklive 硬盘,想把原盘内的资料移出来,拆下硬盘后,挂到win下无法读取,再挂到Linux下,也无法读取,在QNAP usb 口下挂入,也无法正常加载.
在linux下的命令行中挂载,提示如下:
root@debianMycloud:~# mount   -t ext4   /dev/sdc4  /mnt/test -o rw,noatime,nodiratime
mount: wrong fs type, bad option, bad superblock on /dev/sdc4,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so.
root@debianMycloud:~#
在dmesg中查看到如下:
[17109.984778] EXT4-fs (sdc4): bad block size 65536

网上找了很多办法,都不能解决,有的解释为 superblock 出错引起,修复也不行.
主要估计是mkfs.ext4 -b 65536 -m 0 $diskData 这个格式引起吧,在一篇文章中解释需要64位linux系统来加载估计可以解决,手头没有,只好放弃.
后又搜到一篇文章,介绍如下:
====================================
root@host:~# fsck.ext4 /dev/vg8/lv8
So now that all is fixed (I typed yes to all questions), let's mount it...:

root@host:~# mount -t ext4 /dev/vg8/lv8 /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg8-lv8,      
missing codepage or helper program, or other error      
In some cases useful info is found in syslog - try      
dmesg | tail  or so
Oeps... dmesg reports: EXT4-fs (dm-2): bad block size 65536 and google knows that means that we have a disk with a block size larger then 4k. So fuse to the rescue:
root@host:~# fuseext2 -o ro -o sync_read /dev/vg8/lv8 /mnt/

Note the fact that we have mounted the filesystem read-only! Now we can finaly access the files again.

After rescueing the files we need to tear everything down again:

fusermount -u /mnt
lvchange -an /dev/vg8/lv8
mdadm -S /dev/md0
umount /dev/sdb3
udisks --detach /dev/sdb
原文网址:http://pig.made-it.com/RAID.html/
是通过GOOGLE搜到的,百度还搜不出.可以直接打开查看
=========================================
发现使用  fuseext2 -o ro -o sync_read /dev/vg8/lv8  /mnt/
具体用在mybooklive上可以使用:fuseext2 -o ro -o sync_read /dev/sdc4 /mnt/ (/dev/sdc4根据环境修改)

可以解决,真是太好了,立即测试,OK.只是挂载后为只读,不过只读就已不错,能把里面的数据完整的复制出来了.很好.


PS:1)网上还有另外一种办法,测试也可以使用,不过不是很方便.有兴趣的可以打开看看
原址:http://n-dimensional.de/blog/2012/05/01/wd-mybook-live-data-rescue/
使用的命令为:
•Extract the disk from the NAS enclosure and connect it to your PC/laptop.
•Create a new empty directory mkdir /path/to/saved-stuff on the free storage space where you will store the copy of the rescued data.
•Run debugfs /dev/sdg4 (your device name will vary).
•Inside debugfs(8), run the ls command to verify that you can see the shares directory. You can also look into the shares directory with the ls shares command.
•Inside debugfs(8), run the rdump command as follows: rdump shares /path/to/saved-stuff. This will copy all the data from the shares directory on the disk from the NAS to your local free space as /path/to/saved-stuff/shares/.
•Wait until the copying has finished. This will take many many hours if you have a lot of data to transfer, especially if you have the disk connected via USB 2.0.

2)当然,使用Winhex也可以恢复,我测试可以用,不过问题是恢复出来的文件的属性全部变掉了,文件日期全部是当前的日期.当然救急还是可以的.
3)DiskGenius 好像不行,只能查看到分区,都看不到分区内容的. 以上是Mybooklive 的硬盘DATA分区恢复的总结,对于mycloud,测试可以直接挂载,不存在问题.   

那是云论坛 - 国内知名的NAS交流平台
http://www.nasyun.com
分享淘帖
回复 印象

使用道具

13

精华

739

回帖

20万

积分

管理员

Rank: 9Rank: 9Rank: 9

云币
90
贡献
38402
活跃
11292
精华
13

活跃会员NAS发烧友技术达人突出贡献论坛元老编辑能手

mojelly 发表于 2016-11-15 00:10
不用这么复杂  windows 下  linux reader就搞定了
回复 支持 反对 印象

使用道具 举报

0

精华

6

回帖

109

积分

入门用户

Rank: 1

云币
0
贡献
14
活跃
35
精华
0
zjlxdz 发表于 2016-11-16 15:39 来自 中国浙江金华
mojelly 发表于 2016-11-15 00:10
不用这么复杂  windows 下  linux reader就搞定了

我试过,没用的,这个是分区表错误
回复 支持 反对 印象

使用道具 举报

0

精华

281

回帖

2939

积分

搞机大神

Rank: 3Rank: 3

云币
1
贡献
491
活跃
341
精华
0
odewdbuke 发表于 2016-12-8 22:52 来自 中国河南许昌
以前用两个软件,可以在windows下读出来。楼主这个情况没见过,先收藏。谢谢。
回复 支持 反对 印象

使用道具 举报

0

精华

6

回帖

109

积分

入门用户

Rank: 1

云币
0
贡献
14
活跃
35
精华
0
zjlxdz 发表于 2017-2-24 19:52 来自 中国浙江金华
DiskGenius 4.9 可以搞定,我和楼主遇到一样的问题,linux reader在分区表损坏的前提下没有用。
回复 支持 反对 印象

使用道具 举报

0

精华

60

回帖

3387

积分

搞机大神

Rank: 3Rank: 3

云币
0
贡献
351
活跃
1602
精华
0
lywei 发表于 2017-3-1 10:20 来自 中国江苏南京
UFS Explorer Professional Recovery 可以用
回复 支持 反对 印象

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于作者

ds2000

入门用户

  • 主题

    2

  • 帖子

    34

  • 关注者

    11

etsme
快速回复 返回列表 搜索 官方QQ群
懒人地图| 手机版|小黑屋| 智能生活 , 上那是云 |闽ICP备2020018196号-1 |网站地图