前几天还看到有人在问如何恢复OCFS上的文件, 当时我不知道如何做. 今天去看Oracle开源项目网站时, 无意中发现一个名为FSCat的开源项目, 项目说明如下:

FSCat is a utility for dumping filesystems offline. No kernel driver is needed, just access to the block device and an FSCat driver for the particular filesystem.

    这是一个离线备份文件系统的工具, 可以在没有内核驱动的情况用, 访问FSCat支持的特殊文件系统. 看第二段说明, 就可以知道支持哪些的文件系统了.

FSCat can list, archive, and copy out the contents of the filesystem. FSCat currently supports OCFS2, EXT2, EXT3, and OCFS filesystems.

    FSCat可以列出, 归档和拷贝文件系统中的内容, 并且支持OCFS和OCFS2, 更支持Linux上的主流文件系统EXT2和EXT3. 在Man Page中可以找到如下字样.

This allows administrators to recover data when drivers are not available, and even when the storage is slightly corrupt.

    可以在没有驱动或文件系统在轻微损坏的情况下恢复出数据来. 这到是一个不错的工具, 有空试试, 也看看能不能在Windows上编译出来.