JPH08511367A

Write anywhere file-system layout method and apparatus

Abstract

(57) [Summary] The present invention provides a method of maintaining a file system in a consistent state and making a read-only copy of the file system. Changes to the file system are tightly controlled. This file system goes from one consistent state to another. The set of self-aligned blocks on the disk that is rooted by the root inode is called the consistency point. To enforce the consistency point, new data is always written to unallocated blocks on the disk. A new consistency point occurs when the file system information block (2440) is updated by writing a new root inode for the inode file (1210) to disk. In this way, the state of the file system existing on the disk does not change unless the root inode is updated. The present invention also creates a snapshot (Fig. 22) that is a read-only copy of the file system. When created for the first time, the snapshot does not use disk space. It is designed to allow you to create many different snapshots for the same file system. In a conventional file system, a clone is created by duplicating the entire inode file and all indirect blocks, but unlike this, the present invention duplicates only the inode that describes the inode file. A multi-bit free blockmap file (1630) is used to prevent overwriting on disk.

Term

Term ended

Projected expiry passed 2 June 2014, 12.3 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

1 claim: 1 independent, 0 dependent

  1. 1
    【特許請求の範囲】 1.ファイルシステムにある複数の変更されたブロックを指す複数のiノードを 整合点にあるものとしてマークを付けるステップ、 正規ファイルを記憶手段に対しフラッシュし、特殊なファイルを上記の記憶手 段にフラッシュするステップ、 ファイルシステム情報の少なくとも一つのブロックを上記の記憶手段にフラッ シュするステップ、および、 上記の整合点の一部ではなかった汚れiノードを再キューするステップ からなる整合点の作成方法。 2.請求項1の方法において、上記の特殊なファイルを上記の記憶手段に送る上 記のステップは、さらに、 ブロックマップファイル用のiノードをiノードファイルに予めフラッシュす るステップ、 上記のiノードと上記のブロックマップファイルにあるすべての汚れブロック とに上記の記憶手段における空間を割当てるステップ、 上記のブロックマップファイル用の上記のiノードを再びフラッシュするステ ップ、 上記のブロックマップファイルにある複数のエントリ(この複数のエントリの 各々は上記の記憶手段上のブロックを示す)を更新するステップ、および、 上記のブロックマップファイルと上記のiノードファイルにある全ての汚れブ ロックを上記の記憶手段に書込むステップ からなる方法。