Time-based data partitioning
First Claim
Patent Images
1. A computer-implemented method for providing a file system, the method comprising:
- providing a plurality of FS (file system) partitions of an FS of a storage system, wherein each of the FS partitions is associated with a specific time period, including a first FS partition corresponding to a first time period and a second FS partition corresponding to a second time period;
in response to a request for writing a file to the storage system, examining a last modified time attribute of the file to determine that the last modified time attribute of the file is associated with the first time period;
storing the file in the first FS partition, such that files having similar time attributes are stored in an identical FS partition, wherein the first FS partition includes first FS metadata having name and directory information for accessing a first set of files each having a time attribute associated with the first time period, wherein the second FS partition includes second FS metadata having name and directory information for accessing a second set of files each having a time attribute associated with the second time period, and wherein the first FS metadata of the first FS partition can be independently loaded in a memory of the storage system for accessing the first set of files stored in the first FS partition, without having to load the second FS metadata the second FS partition in the memory to reduce a memory usage requirement;
determining that data stored in the first FS partition has reached a predetermined percentage of a storage capacity of the first FS partition;
allocating a third FS partition as an active FS partition to store subsequent files, while transforming the first FS partition into a read-only FS partition as an archive FS partition;
scanning a plurality of files stored in the first FS partition to identify a third set of files having a last modified time attribute within a third period of time; and
migrating the third set of files to a fourth FS partition, such that the fourth FS partition stores similar files having the last modified time attribute within the third period of time.
9 Assignments
0 Petitions
Accused Products
Abstract
According to one embodiment, a file system (FS) of a storage system is partitioned into a plurality of FS partitions, where each FS partition stores segments of data files. In response to a request for writing a file to the storage system, the file is stored in a first of the FS partitions that is selected based on a time attribute of the file, such that files having similar time attributes are stored in an identical FS partition.
40 Citations
22 Claims
-
1. A computer-implemented method for providing a file system, the method comprising:
-
providing a plurality of FS (file system) partitions of an FS of a storage system, wherein each of the FS partitions is associated with a specific time period, including a first FS partition corresponding to a first time period and a second FS partition corresponding to a second time period; in response to a request for writing a file to the storage system, examining a last modified time attribute of the file to determine that the last modified time attribute of the file is associated with the first time period; storing the file in the first FS partition, such that files having similar time attributes are stored in an identical FS partition, wherein the first FS partition includes first FS metadata having name and directory information for accessing a first set of files each having a time attribute associated with the first time period, wherein the second FS partition includes second FS metadata having name and directory information for accessing a second set of files each having a time attribute associated with the second time period, and wherein the first FS metadata of the first FS partition can be independently loaded in a memory of the storage system for accessing the first set of files stored in the first FS partition, without having to load the second FS metadata the second FS partition in the memory to reduce a memory usage requirement; determining that data stored in the first FS partition has reached a predetermined percentage of a storage capacity of the first FS partition; allocating a third FS partition as an active FS partition to store subsequent files, while transforming the first FS partition into a read-only FS partition as an archive FS partition; scanning a plurality of files stored in the first FS partition to identify a third set of files having a last modified time attribute within a third period of time; and migrating the third set of files to a fourth FS partition, such that the fourth FS partition stores similar files having the last modified time attribute within the third period of time. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer-readable storage medium having instructions stored therein, which when executed by a computer, cause the computer to perform operations of managing resources of a file system, the operations comprising:
-
providing a plurality of FS (file system) partitions of an FS of a storage system, wherein each of the FS partitions is associated with a specific time period, including a first FS partition corresponding to a first time period and a second FS partition corresponding to a second time period; in response to a request for writing a file to the storage system, examining a last modified time attribute of the file to determine that the last modified time attribute of the file is associated with the first time period; storing the file in the first FS partition, such that files having similar time attributes are stored in an identical FS partition, wherein the first FS partition includes first FS metadata having name and directory information for accessing a first set of files each having a time attribute associated with the first time period, wherein the second FS partition includes second FS metadata having name and directory information for accessing a second set of files each having a time attribute associated with the second time period, and wherein the first FS metadata of the first FS partition can be independently loaded in a memory of the storage system for accessing the first set of files stored in the first FS partition, without having to load the second FS metadata the second FS partition in the memory to reduce a memory usage requirement; determining that data stored in the first FS partition has reached a predetermined percentage of a storage capacity of the first FS partition; allocating a third FS partition as an active FS partition to store subsequent files, while transforming the first FS partition into a read-only FS partition as an archive FS partition; scanning a plurality of files stored in the first FS partition to identify a third set of files having a last modified time attribute within a third period of time; and migrating the third set of files to a fourth FS partition, such that the fourth FS partition stores similar files having the last modified time attribute within the third period of time. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A storage system, comprising:
-
a system memory; a file system (FS) executed in the system memory; a partition manager coupled to the file system and the system memory, wherein the partition manager is configured to perform operations, the operations including providing a plurality of FS partitions of the FS, wherein each of the FS partitions is associated with a specific time period, including a first FS partition corresponding to a first time period and a second FS partition corresponding to a second time period, in response to a request for writing a file to the storage system, examining a last modified time attribute of the file to determine that the last modified time attribute of the file is associated with the first time period, storing the file in the first FS partition, such that files having similar time attributes are stored in an identical FS partition, wherein the first FS partition includes first FS metadata having name and directory information for accessing a first set of files each having a time attribute associated with the first time period, wherein the second FS partition includes second FS metadata having name and directory information for accessing a second set of files each having a time attribute associated with the second time period, and wherein the first FS metadata of the first FS partition can be independently loaded in a memory of the storage system for accessing the first set of files stored in the first FS partition, without having to load the second FS metadata the second FS partition in the memory to reduce a memory usage requirement, determining that data stored in the first FS partition has reached a predetermined percentage of a storage capacity of the first FS partition, allocating a third FS partition as an active FS partition to store subsequent files, while transforming the first FS partition into a read-only FS partition as an archive FS partition, scanning a plurality of files stored in the first FS partition to identify a third set of files having a last modified time attribute within a third period of time, and migrating the third set of files to a fourth FS partition, such that the fourth FS partition stores similar files having the last modified time attribute within the third period of time. - View Dependent Claims (20, 21, 22)
-
Specification