Storage space management in union mounted file systems
First Claim
1. A method for re-balancing data and metadata across multiple sub-file systems of a file system, the method comprising:
- determining sub-file systems including an amount of data that exceeds a threshold;
identifying at least one cell in the sub-file systems as a candidate for re-balancing;
performing a re-balance process on the at least one cell comprising;
performing a flush operation to flush data from file system buffers;
copying an inode table plus any additional metadata for an independent set of files in the at least one cell to a destination sub-file system;
notifying an allocation manager for the destination sub-file system of a new storage pool to manage; and
performing an un-quiesce operation on I/O operations to each element of the at least one cell; and
upon a request by a particular sub-file system for more inodes without any inodes available, revoking inode numbers from at least one other sub-file system having unused inodes;
wherein each directory in the multiple sub-file systems is named using an inode number of a directory.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment provides a method for re-balancing data and metadata across multiple sub-file systems of a file system. The method includes determining sub-file systems including an amount of data that exceeds a threshold. At least one cell in the sub-file systems is identified as a candidate for re-balancing. A re-balance process is performed on the at least one cell that includes performing a flush operation to flush dirty data from file system buffers, copying an inode table for an independent set of files in the at least one cell to a destination sub-file system, notifying an allocation manager for the destination sub-file system of a new storage pool to manage, and performing an un-quiesce operation on I/O operations to each element in the at least one cell.
62 Citations
20 Claims
-
1. A method for re-balancing data and metadata across multiple sub-file systems of a file system, the method comprising:
-
determining sub-file systems including an amount of data that exceeds a threshold; identifying at least one cell in the sub-file systems as a candidate for re-balancing; performing a re-balance process on the at least one cell comprising; performing a flush operation to flush data from file system buffers; copying an inode table plus any additional metadata for an independent set of files in the at least one cell to a destination sub-file system; notifying an allocation manager for the destination sub-file system of a new storage pool to manage; and performing an un-quiesce operation on I/O operations to each element of the at least one cell; and upon a request by a particular sub-file system for more inodes without any inodes available, revoking inode numbers from at least one other sub-file system having unused inodes; wherein each directory in the multiple sub-file systems is named using an inode number of a directory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for re-balancing data and metadata across multiple sub-file systems of a file system, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
-
determine, by the processor, sub-file systems including an amount of data that exceeds a threshold; identify, by the processor, at least one cell in the sub-file systems as a candidate for re-balancing; perform, by the processor, a re-balance process on the at least one cell comprising; performing a flush operation to flush data from file system buffers; copying an inode table plus associated metadata for an independent set of files in the at least one cell to a destination sub-file system; notifying an allocation manager for the destination sub-file system of a new storage pool to manage; and performing an un-quiesce operation on I/O operations to each element of the at least one cell; and upon a request by a particular sub-file system for more inodes without any inodes available, revoking, by the processor, inode numbers from at least one other sub-file system having unused inodes; wherein each directory in the multiple sub-file systems is named using an inode number of a directory. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An apparatus comprising:
-
a memory storing instructions; and one or more processors executing the instructions to; determine sub-file systems including an amount of data that exceeds a threshold; identify at least one cell in the sub-file systems as a candidate for re-balancing; perform a re-balance process on the at least one cell by the one or more processors executing the instructions to; perform a flush operation to flush data from file system buffers; copy an inode table for an independent set of files in the at least one cell to a destination sub-file system; notify an allocation manager for the destination sub-file system of a new storage pool to manage; and perform an un-quiesce operation on I/O operations to each element of the at least one cell; and upon a request by a particular sub-file system for more inodes without any inodes available, revoking inode numbers from at least one other sub-file system having unused inodes; wherein each directory in the multiple sub-file systems is named using an inode number of a directory. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification