Using the LUN type for storage allocation
AssigneeNetApp, Inc.
InventorsRupesh Nasre, Chimangala Mahanteshwar
Life of this patent
Estimating the term…
Abstract
In an embodiment of the invention, an apparatus uses a LUN (logical unit number) data type for storage allocation. The apparatus includes a storage appliance that specifies a LUN data type for a LUN. The storage appliance then allocates data blocks in the LUN based on the LUN data type. The storage appliance allocates data blocks in the LUN as contiguous data blocks or as non-contiguous data blocks, based on the LUN data type. The LUN data type may be, for example, database data type, user data type, or binary data type.
Claims23
A method of using a LUN (logical unit number) data type for storage allocation, the method comprising:
- specifying, by a file system of a computer, a LUN data type for a LUN from a plurality of LUN data types, the plurality of LUN data types including a database data type;
- receiving, by the file system, write data to be written into the LUN, wherein the write data has a LUN data type attribute;
- comparing, by the file system, the LUN data type attribute of the write data with the LUN data type of the LUN;
- if the LUN data type attribute of the write data matches the LUN data type of the LUN, then allocating, by the file system, at least some data blocks in the LUN for the write data, wherein a larger number of reserved data blocks are allocated in the LUN when the LUN data type is the database data type than are allocated when the LUN data type is another data type;
- and
- writing, by the file system, the write data into the LUN.
An article of manufacture comprising:
- a non-transitory computer-readable storage medium having stored thereon instructions to:
- specify, by a file system, a LUN data type for a LUN from a plurality of LUN data types, the plurality of LUN data types including a database data type;
- receive, by the file system, write data to be written into the LUN, wherein the write data has a LUN data type attribute;
- compare, by the file system, the LUN data type attribute of the write data with the LUN data type of the LUN;
- allocate, by the file system, at least some data blocks in the LUN for the write data if the LUN data type attribute of the write data matches the LUN data type of the LUN, wherein a larger number of reserved data blocks are allocated in the LUN when the LUN data type is the database data type than are allocated when the LUN data type is another data type;
- and
- write, by the file system, the write data into the LUN.
An apparatus for using a LUN (logical unit number) data type for storage allocation, the apparatus comprising:
- a processor;
- and
- a file system accessible to the processor and configured to specify a LUN data type for a LUN from a plurality of LUN data types, the plurality of LUN data types including a database data type, receive write data to be written into the LUN, wherein the write data has a LUN data type attribute, compare the LUN data type attribute of the write data with the LUN data type of the LUN, allocate at least some data blocks in the LUN for the write data if the LUN data type attribute of the write data matches the LUN data type of the LUN, and write the write data into the LUN, wherein a larger number of reserved data blocks are allocated in the LUN when the LUN data type is the database data type than are allocated when the LUN data type is another data type.
Dependencies are inferred from the claim text.