admin管理员组文章数量:1586763
最近使用fedora19, 似乎很不稳定啊! 特别是更新源很多问题,一个不小心就更新死掉了. 到目前为止已经死了4次,重装3次.
在此记录最近一次修复btrfs的过程.
这次遇到的是在vmware中安装的fedora, 发现开不了机,系统也进不去.
用livecd登入系统, 按如下方式挂载损坏的文件系统, 我采用的是第一种: mount -o clear_cache /dev/sda3 /tmp/dd
挂载成功, 看起来似乎能使用了. 里边的文件也在. 重启,进入硬盘系统. 一切OK,搞定.
First of all, you should try with a very recent kernel. I think Fedora 18 comes with a 3.6 kernel, maybe find alive cd with a more recent kernel (3.8).
Then, you can try mounting your file system with one of the following options:
mount -o clear_cache /dev/sdX /your/mountpoint
(this will delete the freezspace cache, which is sometimes a cause for btrfs refusing to mount)
or:
mount -o recovery /dev/sdX /your/mountpoint
(will try to use an ‘old but known as good’ filesystem root.)
If it doesn’t work, you may want to try btrfsck with the latest btrfs tools from git (you will have to download and compile them yourself)
参考: http://qandasys.info/unknown-btrfs-error-partition-wont-mount-3/
版权声明:本文标题:btrfs文件系统损坏恢复 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1727993106a1141556.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论