IP Library Granted Patent US 7,346,620
Granted Patent B2
US 7,346,620 · App. 10/777,722 · Granted Mar 18, 2008

Adjusting log size in a static logical volume

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 7,346,620
App. No.
10/777,722
Granted
Mar 18, 2008
Kind
B2
Abstract

A method, system, and program for adjusting the size of a file system and an inline file system log housed in a static logical volume. A computer system includes a logical volume allocated between an file system and its inline file system log. A request is received to adjust the inline log from a current size to a new size while maintaining the size of the logical volume. Storage space is then allocated from within the logical volume to the inline log according to the storage requirement for the new size. Allocating storage space may require decreasing or increasing the amount of storage formerly allocated to the inline log. Then, the inline log is reformatted to the allocated storage space, such that the storage allocated to the inline log for a file system is adjusted while the size of the logical volume housing the inline log and file system remains static.

Claims (45)

1. A method for adjusting the size of an inline log for a file system, comprising:

receiving a request to adjust an allocated size for an inline log for a file system from a current size allocation to a new size allocation while maintaining a size allocation of a logical volume, wherein said inline log and said file system are stored in said logical volume;

responsive to said request to adjust said allocated size for said inline log for said file system from said current size allocation to said new size allocation while maintaining said size allocation of said logical volume, shrinking a portion of a total storage space allocated to said file system within said logical volume and allocating additional storage space available from shrinking said portion of said total storage space allocated to said file system within said logical volume to said inline log according to a storage requirement for said new size allocation; an

reformatting said inline log to said additional allocated storage space, such that said storage space allocated to said inline log for said file system is adjusted while said size allocation of said logical volume housing said inline log and said file system remains static.

2. The method according to claim 1 for adjusting the size of an inline log, wherein receiving a request to adjust an inline log further comprises:

receiving said request from a system administrator.

3. The method according to claim 1 for adjusting the size of an inline log, wherein receiving a request to adjust an allocated size for an inline log further comprises:

receiving a first request to adjust said allocated size for said inline log for said file system from said current size allocation to said new size allocation;

detecting that additional storage space is not available for allocation to said logical volume for said first request; and

triggering said request to adjust said allocated size for said inline log for said file system from said current size allocation to said new size allocation while maintaining said allocated size of said logical volume.

4. The method according to claim 1 for adjusting the size of an inline log, wherein receiving a request to adjust an allocated size for an inline log further comprises:

receiving a first request to adjust an allocated size for said file system from a current file system size allocation to a new file system size allocation; and

triggering said request to adjust said allocated size for said inline log from said current size allocation to said new size allocation to compensate for said first request to adjust said allocated size for said file system from said current file system size allocation to a new file system size allocation.

5. The method according to claim 1 for adjusting the size of an inline log, wherein allocating storage space from said logical volume to said inline log further comprises:

increasing the total storage space allocated to said file system in said logical volume.

6. A system for adjusting the size of an inline log for a file system without adjusting a size of a logical volume storing said inline log and said file system, comprising:

means for receiving a request to adjust an allocated size for an inline log for a file system from a current size allocation to a new size allocation while maintaining a size allocation of a logical volume;

means, responsive to said request to adjust said allocated size for said inline log for said file system from said current size allocation to said new size allocation while maintaining said size allocation of said logical volume, for shrinking a portion of a total storage space allocated to said file system within said logical volume and allocating additional storage space available from shrinking said portion of said total storage space allocated to said file system from within said logical volume to said inline log according to a storage space requirement for said new size allocation; and

means for reformatting said inline log to said additional allocated storage space.

7. The system according to claim 6 for adjusting the size of an inline log, wherein said means for receiving a request to adjust an inline log further comprises:

means for receiving said request from a system administrator.

8. The system according to claim 6 for adjusting the size of an inline log, wherein said means for receiving a request to adjust an allocated size for an inline log further comprises:

means for receiving a first request to adjust said allocated size for said inline log for said file system from said current size allocation to said new size allocation;

means for detecting that additional storage space is not available for allocation to said logical volume for said first request; and

means for triggering said request to adjust said allocated size for said inline log for said file system from said current size allocation to said new size allocation while maintaining said allocated size of said logical volume.

9. The system according to claim 6 for adjusting the size of an inline log, wherein said means for receiving a request to adjust an allocated size for an inline log further comprises:

means for receiving a first request to adjust an allocated size for said file system from a current file system size allocation to a new file system size allocation; and

means for triggering said request to adjust said allocated size for said inline log from said current size allocation to said new size allocation to compensate for said first request to adjust said allocated size for said file system from said current file system size allocation to a new file system size allocation.

10. The system according to claim 6 for adjusting the size of an inline log, wherein said means for allocating storage space from within said logical volume to said inline log further comprises:

means for increasing the total storage space allocated to said file system within said logical volume.

11. A computer program product, residing in a computer readable medium, for adjusting the size of an inline log for a file system within a static logical volume, comprising:

means for receiving a request to adjust an allocated size for an inline log for a file system from a current size allocation to a new size allocation while maintaining a size allocation of a logical volume;

means, responsive to said request to adjust said allocated size for said inline log for said file system from said current size allocation to said new size allocation while maintaining said size allocation of said logical volume, for shrinking a portion of a total storage space allocated to said file system within said logical volume and allocating additional storage space available from shrinking said portion of said total storage space allocated to said file system from within said logical volume to said inline log according to a storage space requirement for said new size allocation; and

means for reformatting said inline log to said additional allocated storage space.

12. The computer program product according to claim 11 for adjusting the size of an inline log, wherein said means for receiving a request to adjust an inline log further comprises:

means for receiving said request from a system administrator.

13. The computer program product according to claim 11 for adjusting the size of an inline log, wherein said means for receiving a request to adjust an allocated size for an inline log further comprises:

means for receiving a first request to adjust said allocated size for said inline log for said file system from said current size allocation to said new size allocation;

means for detecting that additional storage space is not available for allocation to said logical volume for said first request; and

means for triggering said request to adjust said allocated size for said inline log for said file system from said current size allocation to said new size allocation while maintaining said allocated size of said logical volume.

14. The computer program product according to claim 11 for adjusting the size of an inline log, wherein said means for receiving a request to adjust an allocated size for an inline log further comprises:

means for receiving a first request to adjust an allocated size for said file system from a current file system size allocation to a new file system size allocation; and

means for triggering said request to adjust said allocated size for said inline log from said current size allocation to said new size allocation to compensate for said first request to adjust said allocated size for said file system from said current file system size allocation to a new file system size allocation.

15. The computer program product according to claim 11 for adjusting the size of an inline log, wherein said means for allocating storage space from within said logical volume to said inline log further comprises:

means for increasing the total storage space allocated to said file system in said logical volume.

Assignments (1)
CHANGE OF NAME Recorded Dec 20, 2021
From: FACEBOOK, INC.
To: META PLATFORMS, INC.
Reel/Frame 058553/0802 →