首页> 外国专利> Write anywhere file-system layout

Write anywhere file-system layout

机译:编写任何地方的文件系统布局

摘要

The present invention provides a method for keeping a file system in a consistent state and for creating read-only copies of a file system. Changes to the file system are tightly controlled. The file system progresses from one consistent state to another. The set of self-consistent blocks on disk that is rooted by the root inode is referred to as a consistency point. To implement consistency points, new data is written to unallocated blocks on disk. A new consistency point occurs when the fsinfo block (2440) is updated by writing a new root inode for the inode file (1210) into it. Thus, as long as the root inode is not updated, the state of the file system represented on disk does not change. The present invention also creates snapshots (Figure 22) that are read-only copies of the file system. A snapshot uses no disk space when it is initially created. It is designed so that many different snap shots can be created for the same file system. Unlike prior art file systems that create a clone by duplicating the entire inode file and all of the indirect blocks, the present invention duplicates only the inode that describes the inode file. A multi-bit free-block map file (1630) is used to prevent data from being overwritten on disk.
机译:本发明提供了一种用于使文件系统保持一致状态并创建文件系统的只读副本的方法。文件系统的更改受到严格控制。文件系统从一种一致状态发展到另一种一致状态。磁盘上由根索引节点建立根的一组自洽块称为一致性点。为了实现一致性点,将新数据写入磁盘上未分配的块。当通过将inode文件(1210)的新根inode写入fsinfo块(2440)来更新新的一致性点时。因此,只要不更新根索引节点,磁盘上表示的文件系统的状态就不会更改。本发明还创建快照(图22),该快照是文件系统的只读副本。快照最初创建时不使用磁盘空间。它的设计旨在为同一文件系统创建许多不同的快照。与通过复制整个inode文件和所有间接块来创建克隆的现有技术文件系统不同,本发明仅复制描述inode文件的inode。多位空闲块映射文件(1630)用于防止数据在磁盘上被覆盖。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号