Method and system for efficient generation of storage reports
First Claim
1. In a computing environment comprising at least a processor and a memory, a method comprising:
- receiving a first request for a first storage report, the first request including an indication of information that is to be determined by scanning at least a portion of a namespace on a storage volume;
receiving a second request for a second storage report, the second request including an indication of information that is to be determined by scanning the same portion of the namespace on the storage volume;
consolidating the first request and the second request, such that the storage volume information indicated in the first request and the storage volume information indicated in the second request are both simultaneously ascertainable from a single storage volume scan;
planning a storage volume scan based on;
the consolidated requests for storage reports corresponding to the namespace, the storage volume scan being configured to scan the namespace for both the storage volume information indicated in the first request and the storage volume information indicated in the second request simultaneously in a single scan; and
one or more activity hints;
overriding the storage volume scan based on the consolidated requests and the activity hints, such that the storage volume scan is based on one or more user inputs;
performing the storage volume scan as indicated by the user inputs to simultaneously ascertain both the storage volume information indicated in the first request and the storage volume information indicated in the second request; and
generating a plurality of reports based on the scanned information, each report in the plurality of reports corresponding to a request for information including at least one of the first request and the second request.
2 Assignments
0 Petitions
Accused Products
Abstract
Described is a method and system by which reports of storage usage in computer systems are generated in an efficient manner by consolidating multiple requests for reports into a minimal number of volume scans, including by intelligently selecting a scanning method (e.g., of file system metadata versus find-first/find-next) and by performing parallel scans on different volumes. Namespace consolidation scans namespaces together, so as to generate multiple reports from the same set of files, reducing the number of volumes scans required to collect the data. Each volume scan may be a find-first, find next directory-based scan, or a volume metadata database scan. Time consolidation groups independent storage report generations together, such as storage report requests received within an administrator-specified interval. Parallel scans of different volumes may be performed, subject to I/O and processing resource limitations, and so that volumes partitioned on the same spindle are not scanned in parallel.
32 Citations
20 Claims
-
1. In a computing environment comprising at least a processor and a memory, a method comprising:
-
receiving a first request for a first storage report, the first request including an indication of information that is to be determined by scanning at least a portion of a namespace on a storage volume; receiving a second request for a second storage report, the second request including an indication of information that is to be determined by scanning the same portion of the namespace on the storage volume; consolidating the first request and the second request, such that the storage volume information indicated in the first request and the storage volume information indicated in the second request are both simultaneously ascertainable from a single storage volume scan; planning a storage volume scan based on; the consolidated requests for storage reports corresponding to the namespace, the storage volume scan being configured to scan the namespace for both the storage volume information indicated in the first request and the storage volume information indicated in the second request simultaneously in a single scan; and one or more activity hints; overriding the storage volume scan based on the consolidated requests and the activity hints, such that the storage volume scan is based on one or more user inputs; performing the storage volume scan as indicated by the user inputs to simultaneously ascertain both the storage volume information indicated in the first request and the storage volume information indicated in the second request; and generating a plurality of reports based on the scanned information, each report in the plurality of reports corresponding to a request for information including at least one of the first request and the second request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 13, 14, 15, 16, 19, 20)
-
-
9. At least one computer-readable storage medium having computer-executable instructions stored thereon, which upon execution perform steps, comprising:
-
receiving a first request for a first storage report, the first request including an indication of information that is to be determined by scanning at least a portion of a namespace on a snapshot of a storage volume; receiving a second request for a second storage report, the second request including an indication of information that is to be determined by scanning the same portion of the namespace on the snapshot of the storage volume; consolidating the first request and the second request, such that the storage volume snapshot information indicated in the first request and the storage volume snapshot information indicated in the second request are both simultaneously ascertainable from a single storage volume snapshot scan; planning a storage volume snapshot scan based on the consolidated requests for storage reports corresponding to the namespace, the storage volume snapshot scan being configured to scan the namespace for both the storage volume snapshot information indicated in the first request and the storage volume snapshot information indicated in the second request simultaneously in a single scan; performing the planned storage volume snapshot scan to simultaneously ascertain both the storage volume snapshot information indicated in the first request and the storage volume snapshot information indicated in the second request; and generating a plurality of reports based on the scanned information, each report in the plurality of reports corresponding to a request for information including at least one of the first request and the second request. - View Dependent Claims (10, 11, 12, 17)
-
-
18. In a computing environment comprising at least a processor and a memory, a method for combining multiple storage volume snapshot scan requests, such that the requests can be processed simultaneously in a single storage volume snapshot scan, the method comprising:
-
receiving a plurality of storage volume snapshot scan requests requesting information about data stored on a snapshot of a storage volume; consolidating the scan requests, such that the requests can be processed simultaneously in a single storage volume snapshot scan; accessing information including activity hints from at least one previous storage volume snapshot scan; based on the accessed information, determining, from a list of available volume scans, which snapshot volume scan is most efficient; performing the determined storage volume snapshot scan; generating intermediate data during the scan indicating information corresponding to that information requested in the storage volume snapshot scan request; and rendering one or more storage volume snapshot reports in a user-selected format based on the generated intermediate data.
-
Specification