IP Library › Granted Patent US 11,650,975
Granted Patent B2
US 11,650,975 · App. 17/119,009 · Granted May 16, 2023

Online file system consistency check for container data on a clustered filesystem

Inventors: Asmahan Ali (Poughkeepsie, NY); Christina Lara (Tucson, AZ); Abhishek Jain (Baraut, IN); Sasikanth Eda (Vijayawada, IN)
Assignee: International Business Machines Corporation
G06F16/2365G06F16/182
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,650,975
App. No.
17/119,009
Granted
May 16, 2023
Kind
B2
Abstract

Online file system consistency check for container data on a clustered file system is provided via identifying inodes (index nodes) of a group of files in a clustered file system based on a cyber-resiliency for the clustered file system; grouping the inodes based on a buffer size allocated to a FSCK (File System Consistency Check) operation; passing the inodes of to the FSCK operation in a single iteration when a total size of the inodes is less than the buffer size; or when the total size of the inodes is greater than the buffer size, identifying inodes that belong to a first container and that belong to a second container; passing the inodes that belong to the first container to the FSCK operation in a first iteration; and passing, after the first iteration completes, the inodes that belong to the second container to the FSCK operation in a second iteration.

Claims (76)

1. A method comprising:

identifying inodes of a first group of files in a clustered file system based on a cyber-resiliency for the clustered file system;

grouping the inodes based on a buffer size allocated to a FSCK (File System Consistency Check) operation for the clustered file system;

in response to the buffer size being greater than a total size of the inodes of the first group of files, passing the inodes of the first group of files to the FSCK operation in a single iteration;

in response to the buffer size being less than a total size of the inodes of a second group of files:

identifying the inodes of the second group of files that belong to a first container and that belong to a second container;

passing the inodes of the second group of files that belong to the first container to the FSCK operation in a first iteration; and

passing, after the first iteration completes, the inodes of the second group of files that belong to the second container to the FSCK operation in a second iteration.

2. The method of claim 1 , further comprising:

identifying the second group of files in the clustered file system based on the cyber-resiliency for the clustered file system;

separating inodes of the second group of files; and

grouping the inodes of the second group of files based on the buffer size allocated to the FSCK operation for the clustered file system.

3. The method of claim 1 , wherein identifying the first group of files in the clustered file system identifies the files that are important to the cyber-resiliency of the clustered file system further comprises:

monitoring file operations captured;

analyzing frequency patterns for how often the files are generated or updated by a given container;

analyzing access patterns of how many other containers, besides the given container, access the files; and

analyzing operational patterns for what types of operations are performed on the files by the other containers.

4. The method of claim 1 , wherein identifying the first group of files in the clustered file system identifies the files that are important to the cyber-resiliency of the clustered file system further comprises:

analyzing a time of last access for a given file; and

marking as the given file as one of passive or active based on whether the time of last access is within a threshold.

5. The method of claim 1 , further comprising:

selecting a number of Erasure Code (EC) fragments to validate for each of the files passed to the FSCK operation; and

scanning the files based on priority levels of the files.

6. The method of claim 5 , wherein the number of EC fragments are dynamically selected based on system load and resources allocated to the FSCK operation.

7. The method of claim 1 , wherein the first group of files consists of files assigned a priority level above a priority threshold for cyber-resiliency for the clustered file system.

8. A system, comprising:

a processor; and

a memory storing instructions that when executed by the processor enable performance of an operation that includes:

identifying inodes of a first group of files in a clustered file system based on a cyber-resiliency for the clustered file system;

grouping the inodes based on a buffer size allocated to a FSCK (File System Consistency Check) operation for the clustered file system;

in response to the buffer size being greater than a total size of the inodes of the first group of files, passing the inodes of the first group of files to the FSCK operation in a single iteration;

in response to the buffer size being less than a total size of the inodes of a second group of files:

identifying the inodes of the second group of files that belong to a first container and that belong to a second container;

passing the inodes of the second group of files that belong to the first container to the FSCK operation in a first iteration; and

passing, after the first iteration completes, the inodes of the second group of files that belong to the second container to the FSCK operation in a second iteration.

9. The system of claim 8 , wherein the operation further includes:

identifying the second group of files in the clustered file system based on the cyber-resiliency for the clustered file system;

separating inodes of the second group of files; and

grouping the inodes of the second group of files based on the buffer size allocated to the FSCK operation for the clustered file system.

10. The system of claim 8 , wherein identifying the first group of files in the clustered file system identifies the files that are important to the cyber-resiliency of the clustered file system further comprises:

monitoring file operations captured;

analyzing frequency patterns for how often the files are generated or updated by a given container;

analyzing access patterns of how many other containers, besides the given container, access the files; and

analyzing operational patterns for what types of operations are performed on the files by the other containers.

11. The system of claim 8 , wherein identifying the first group of files in the clustered file system identifies the files that are important to the cyber-resiliency of the clustered file system further comprises:

analyzing a time of last access for a given file; and

marking as the given file as one of passive or active based on whether the time of last access is within a threshold.

12. The system of claim 8 , further comprising:

selecting a number of Erasure Code (EC) fragments to validate for each of the files passed to the FSCK operation; and

scanning the files based on priority levels of the files.

13. The system of claim 12 , wherein the number of EC fragments are dynamically selected based on system load and resources allocated to the FSCK operation.

14. The system of claim 8 , wherein the first group of files consists of files assigned a priority level above a priority threshold for cyber-resiliency for the clustered file system.

15. A computer-readable storage medium including instructions that when executed by a processor enable performance of operations including:

identifying inodes of a first group of files in a clustered file system based on a cyber-resiliency for the clustered file system;

grouping the inodes based on a buffer size allocated to a FSCK (File System Consistency Check) operation for the clustered file system; and

in response to the buffer size being greater than a total size of the inodes of the first group of files, passing the inodes of the first group of files to the FSCK operation in a single iteration;

in response to the buffer size being less than a total size of the inodes of a second group of files:

identifying the inodes of the second group of files that belong to a first container and that belong to a second container;

passing the inodes of the second group of files that belong to the first container to the FSCK operation in a first iteration; and

passing, after the first iteration completes, the inodes of the second group of files that belong to the second container to the FSCK operation in a second iteration.

16. The computer-readable storage medium of claim 15 , wherein the operations further include:

identifying the second group of files in the clustered file system based on the cyber-resiliency for the clustered file system;

separating inodes of the second group of files; and

grouping the inodes of the second group of files based on the buffer size allocated to the FSCK operation for the clustered file system.

17. The computer-readable storage medium of claim 15 , wherein identifying the first group of files in the clustered file system identifies the files that are important to the cyber-resiliency of the clustered file system further comprises:

monitoring file operations captured;

analyzing frequency patterns for how often the files are generated or updated by a given container;

analyzing access patterns of how many other containers, besides the given container, access the files; and

analyzing operational patterns for what types of operations are performed on the files by the other containers.

18. The computer-readable storage medium of claim 15 , wherein identifying the first group of files in the clustered file system identifies the files that are important to the cyber-resiliency of the clustered file system further comprises:

analyzing a time of last access for a given file; and

marking as the given file as one of passive or active based on whether the time of last access is within a threshold.

19. The computer-readable storage medium of claim 15 , further comprising:

selecting a number of Erasure Code (EC) fragments to validate for each of the files passed to the FSCK operation; and

scanning the files based on priority levels of the files.

20. The computer-readable storage medium of claim 19 , wherein the number of EC fragments are dynamically selected based on system load and resources allocated to the FSCK operation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 11, 2020
From: ALI, ASMAHAN; LARA, CHRISTINA; JAIN, ABHISHEK; EDA, SASIKANTH
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 054616/0173 →
Continuity (1)
Related Publication 20220188289A1 · Jun 16, 2022