[Ocfs2-devel] 答复: [QUESTION] How to recover a deleted file?

Shichangkuo shi.changkuo at h3c.com
Fri Mar 4 19:15:59 PST 2016


Hi Junxiao,
    Thanks for you reply.
    Unfortunately, the file was removed few days ago, and I cann't find the extents tree with logdump command as the journal file had been rewrited.
    I creat a file and remove it after a while, then the latest extents tree of the file can be found with logdump command. In this situation, the file can be restored.

        Anyway, thanks again.
Changkuo.Shi
----------------------------------------------------------------------
发件人: Junxiao Bi [mailto:junxiao.bi at oracle.com]
发送时间: 2016年3月4日 11:09
收件人: shichangkuo 09727 (CCPL); ocfs2-devel at oss.oracle.com
主题: Re: [Ocfs2-devel] [QUESTION] How to recover a deleted file?

On 03/04/2016 08:47 AM, Shichangkuo wrote:
> Hi All,
>
>     I have removed a file which was very important to me by mistake.
> Does someone once encounta problem like this, and could the file be
> undeleted?
Maybe you can rebuild it manually if released clusters are not reused.
Umount the volume first, then use logdump of debugfs.ocfs2 to find the latest extents tree of the file before it is removed. With this, you can copy the removed file out. Good luck.

Thanks,
Junxiao.

>
>
>
> Many thanks.
>
> Changkuo.Shi
>
> ----------------------------------------------------------------------
> ---------------------------------------------------------------
> This e-mail and its attachments contain confidential information from
> H3C, which is intended only for the person or entity whose address is
> listed above.
> Any use of the
> information contained herein in any way (including, but not limited
> to, total or partial disclosure, reproduction, or dissemination) by
> persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error,
> please notify the sender by phone or email immediately and delete it!
>
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
>

-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!


More information about the Ocfs2-devel mailing list