File system capable of generating snapshots and providing fast sequential read access
First Claim
1. A method for providing a structure of a file system stored on a plurality of storage devices executing on a storage system, the file system capable of generating snapshots and providing fast sequential read access to a data container stored on the storage devices, the method comprising:
- arranging sequential portions of the data container into a plurality of regions on the storage devices, each region including a predetermined amount of storage space represented by blocks on the storage devices;
organizing the plurality of regions as a plurality of active regions, each active region allocated for a different sequential portion of the data container and configured to store active file system data and snapshot data for the different sequential portion of the data container, wherein first blocks in a portion of the active region are marked as one of active for use in an active file system, for use in one or more snapshots, and free; and
if an active block is marked as for use in the one or more snapshots, preserving the active block within the active region without overwriting the active block with new active data, and writing the new active data to free space within the active region.
0 Assignments
0 Petitions
Accused Products
Abstract
An on-disk structure of a file system has the capability to generate snapshots and provide fast sequential read access to data containers, such as files. The on-disk structure arranges sequential portions of files on disk within regions, wherein each region comprises a predetermined amount of disk space represented by blocks and wherein the data of the files stored within each region may or may not be stored sequentially within the region. In addition, the on-disk structure accommodates a plurality of types of regions, including (i) active regions that contain active file system data for large files, (ii) snapshot regions that contain “copy out” snapshot data for the large files and (iii) metadata regions that contain metadata, as well as directories and small files.
73 Citations
14 Claims
-
1. A method for providing a structure of a file system stored on a plurality of storage devices executing on a storage system, the file system capable of generating snapshots and providing fast sequential read access to a data container stored on the storage devices, the method comprising:
-
arranging sequential portions of the data container into a plurality of regions on the storage devices, each region including a predetermined amount of storage space represented by blocks on the storage devices; organizing the plurality of regions as a plurality of active regions, each active region allocated for a different sequential portion of the data container and configured to store active file system data and snapshot data for the different sequential portion of the data container, wherein first blocks in a portion of the active region are marked as one of active for use in an active file system, for use in one or more snapshots, and free; and if an active block is marked as for use in the one or more snapshots, preserving the active block within the active region without overwriting the active block with new active data, and writing the new active data to free space within the active region. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system, comprising:
-
a storage system having a processor and coupled to one or more storage devices including storage space, the storage system configured to provide storage services relating to organization of information on the storage devices; a storage operating system executed by the processor and configured to generate a snapshot and providing sequential read access to a data container stored on the storage devices, the storage operating system further configured to apportion the storage space into regions, including a plurality of active regions, where each active region is allocated for a different sequential portion of the data container and configured to store active file system data and snapshot data for the different sequential portion of the data container; and the storage operating system executed by the processor further configured to preserve an active block within the active region and write new active data to free space within the active region if the active block is marked for use in one or more snapshots. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. Apparatus configured to provide a structure of a file system executed by a processor and including one or more storage devices, the file system configured to generate snapshots and provide fast sequential read access to a data container stored on the storage devices, comprising:
-
means for arranging sequential portions of the data container into a plurality of regions on the storage devices, each region including a predetermined amount of space represented by blocks on the storage devices; means for organizing the plurality of regions as active regions and other regions, each active region allocated for a different sequential portion of the data container and containing active file system data and snapshot data for the different sequential portion of the data container, wherein first blocks in a portion of the active region are marked as one of active for use in an active file system, for use in one or more snapshots, and free; and means for preserving an active block within the active region and writing new active data to free space within the active region if the active block is not required by the one or more snapshots. - View Dependent Claims (14)
-
Specification