LSX-blog

Feed Rss

【原创】浅谈ext3下的数据恢复

05.29.2012, Linux, 系统, by .

       闲来无事,独身于网络闲逛,无暇之时偶于关于Linux文件系统删除文件的恢复文章,仔细研究,今天就把成果分享一下。

       ext2,ext3 文件格式相关知识

        ext3grep 软件一个    http://code.google.com/p/ext3grep/

       ext3grep 是Carlo Wood 这位牛人写的,背景在你他在2008年的一次误删除自己的系统home目录,造成超过3GB的数据丢失,并开始学习ext3文件系统,三个星期后,这位牛人用近5000行代码,成就了ext3grep这个程序,这也是下面我们要介绍这个工具的使用方法。

       这里就不介绍如何安装这个程序了,比较简单,默认安装就行

Debian GNU/Linux 6.0

LVM 多卷管理方式

       1、列出本机的文件系统

image

这里我们拿 /dev/mapper/debian-var 开刀

切换到 root@debian:~# cd /var/log/ 并删除目录所有文件

并新建一个test.txt文件随便写入点东西保存

image

然后删除这个目录下面的所有目录

image

已经没有文件了

详细操作可见作者文章

http://carlo17.home.xs4all.nl/howto/undelete_ext3.html

下面是我的操作部分,记住这个程序只能用于ext3文件系统,你在恢复的时候记得挂载成只读,因为我这里是在虚拟机上面操作,所以我不怕有问题,就直接不挂载只读模式了

root@debian:~# ext3grep /dev/mapper/debian-var –restore-all

一条命令搞定,这样会在当前目录产生三个

image

那个文件夹里面就是包含恢复后的文件

image

image

当然这个程序可不是简单的就这几个功能,这里我恢复的是所有的文件,我们这里还可以指写一个时间段,这样恢复起来更精确,还可以手动恢复单个单个的文件,更精确,这个软件值得去研究下,我研究了两三天,感觉收获还是很大的,起码可以了解Linux文件存储方面的知识。

【原创】浅谈ext3下的数据恢复 有 474 条回应

  1. After looking over a number of the articles on your site, I seriously appreciate your way of writing a blog. I bookmarked it to my bookmark site list and will be checking back soon. Please check out my website as well and tell me how you feel.

    回复
  2. It’s amazing for me to have a website, which is
    beneficial in favor of my knowledge. thanks admin

    回复
  3. My family all the time say that I am killing my time here at web, however I know I
    am getting know-how all the time by reading thes pleasant articles.

    回复
  4. Hey There. I found your blog the use of msn. That is an extremely
    well written article. I will make sure to bookmark it and return to read extra of your useful info.

    Thanks for the post. I’ll certainly comeback.

    回复
  5. Howdy! This is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche.

    Your blog provided us useful information to work on. You have done a
    outstanding job!

    回复
  6. Way cool! Some very valid points! I appreciate you penning this post and also
    the rest of the website is extremely good.

    回复
  7. Normally I do not read post on blogs, however I
    wish to say that this write-up very pressured me to check out and do it!
    Your writing style has been amazed me. Thank you, very
    great post.

    回复
  8. Excellent way of describing, and nice post to get data concerning my presentation subject matter,
    which i am going to convey in institution of higher education.

    回复
  9. Hello! I could have sworn I’ve been to this blog before but after browsing through a few of the posts I
    realized it’s new to me. Anyhow, I’m certainly pleased I discovered it and I’ll be book-marking it and checking back often!

    回复
  10. [url=https://phenergan365.com/]phenergan 25 mg without prescription[/url]

    回复
  11. It’s appropriate time to make some plans for the future and it’s time to be happy.
    I have read this post and if I could I desire to suggest you some interesting things or advice.

    Maybe you can write next articles referring to this article.
    I wish to read more things about it!

    回复
  12. Hi there, the whole thing is going perfectly here and ofcourse every one is sharing data,
    that’s actually excellent, keep up writing.

    回复
  13. When someone writes an paragraph he/she maintains the
    thought of a user in his/her mind that how a user can know it.
    Therefore that’s why this post is great. Thanks!

    回复
  14. Have you ever thought about creating an e-book or guest
    authoring on other websites? I have a blog based on the same topics you discuss
    and would really like to have you share some stories/information. I know
    my readers would enjoy your work. If you’re even remotely interested, feel free to send me an e-mail.

    回复
  15. I know this site presents quality based articles or reviews and extra material, is there any other web page
    which gives these stuff in quality?

    回复
  16. I was very happy to discover this web site. I wanted to thank you for your time due to this wonderful read!!
    I definitely enjoyed every little bit of it and i also
    have you saved to fav to look at new things on your web site.

    回复
  17. I like the valuable info you provide in your articles.

    I will bookmark your weblog and check again here frequently.
    I am quite sure I will learn a lot of new stuff right here!
    Best of luck for the next!

    回复
  18. Can I just say what a comfort to uncover somebody who
    actually understands what they are talking about over the internet.

    You definitely know how to bring a problem to light and make it important.
    More and more people need to look at this and understand this side of the story.

    It’s surprising you aren’t more popular since you surely possess the gift.

    回复
  19. I really like your blog.. very nice colors & theme. Did you create this website
    yourself or did you hire someone to do it for you?
    Plz respond as I’m looking to design my own blog and would like to find out where u
    got this from. thank you

    回复
  20. [url=https://lasixp.com/]lasix 20[/url] [url=https://bectrim.com/]bactrim 800 160[/url] [url=https://lasixsale.com/]can i buy lasix over the counter[/url] [url=https://celexa24.com/]buy celexa no prescription[/url] [url=https://colchicinelab.com/]colchicine brand[/url] [url=https://dapoxetine20.com/]can you buy dapoxetine over the counter[/url] [url=https://elimitepermethrin.com/]elimite drug[/url] [url=https://diflucanmed.com/]generic diflucan otc[/url] [url=https://augmentinmed.com/]buy augmentin[/url] [url=https://zoloftsert.com/]buy cheap zoloft[/url] [url=https://ciprorx.com/]cipro 750 mg[/url] [url=https://trazodone911.com/]trazodone 50[/url] [url=https://advairdsk.com/]advair 500 diskus[/url] [url=https://furosemidepill.com/]furosemide 40 mg pill[/url] [url=https://zithromaxcov.com/]zithromax azithromycin[/url] [url=https://vardenafilmed.com/]vardenafil 20 mg online[/url] [url=https://tetracycline911.com/]tetracycline generic drug[/url] [url=https://anafranil24.com/]anafranil 25 mg[/url] [url=https://acyclovirv.com/]acyclovir generic cream[/url] [url=https://fluoxetinemed.com/]fluoxetine price in india[/url]

    回复
  21. [url=https://dapoxetine20.com/]buy dapoxetine 60 mg in india[/url] [url=https://albenzamed.com/]albenza over the counter[/url] [url=https://prednisonetabs.com/]prednisone buy[/url] [url=https://zithromaxcov.com/]buy cheap generic zithromax[/url] [url=https://ventolininhl.com/]how to get ventolin[/url]

    回复
  22. “This website really has all of the info I wanted about this subject and didn’t know who to ask.”

    回复
  23. “Great article and right to the point. I don’t know if this is in fact the best place to ask but do you folks have any thoughts on where to get some professional writers? Thank you ??”

    回复
  24. [url=http://finpeciafinasteride.com/]finpecia tablet[/url]

    回复

发表评论

电子邮件地址不会被公开。 必填项已用*标注