File system provisioning and management with reduced storage communication
First Claim
Patent Images
1. A method of operating file systems in a NAS (network attached storage) cluster, the method comprising:
- deploying a file system within a data node of the NAS cluster, the data node running on a physical computing machine, the file system built upon a local volume within the data node, the local volume backed by a thin LUN (Logical UNit) provisioned from block storage, the block storage configured to host a plurality of thin-provisioned LUNs;
establishing a current size a maximum allowed size of the LUN but obtaining no reservation that storage space will be available from the block storage for the LUN to reach the maximum allowed size, the file system and the local volume each having an address space wherein each address in the file system corresponds, one-to-one, with a respective address in the local volume;
issuing a request to add an extent of additional storage space to the file system, the extent having a size; and
in response to issuance of the request, performing a provisioning operation at least in part by (i) extending provisioned space in the local volume by the size of the extent,wherein the provisioning operation is performed without requesting additional storage space from the block storage and without correspondingly extending provisioned space in the LUN by the size of the extent, andwherein the method further comprises, after performing the provisioning operation;
issuing a write request to write content to the file system in a region of the added extent;
sending the write request to the block storage; and
receiving, from the block storage in response to sending the write request, a message indicating that the request has failed, the message based on an out-of-space condition in the block storage that prevents additional storage space from being provisioned to the LUN for fulfilling the write request.
9 Assignments
0 Petitions
Accused Products
Abstract
A technique for operating a file system in a NAS (network attached storage) cluster deploys a file system on a thin LUN in block storage and unilaterally provisions storage space to the file system without extending provisioning activities to the LUN. Rather, the file system proceeds as if the storage space is available from the LUN without reserving space or confirming availability.
38 Citations
22 Claims
-
1. A method of operating file systems in a NAS (network attached storage) cluster, the method comprising:
-
deploying a file system within a data node of the NAS cluster, the data node running on a physical computing machine, the file system built upon a local volume within the data node, the local volume backed by a thin LUN (Logical UNit) provisioned from block storage, the block storage configured to host a plurality of thin-provisioned LUNs; establishing a current size a maximum allowed size of the LUN but obtaining no reservation that storage space will be available from the block storage for the LUN to reach the maximum allowed size, the file system and the local volume each having an address space wherein each address in the file system corresponds, one-to-one, with a respective address in the local volume; issuing a request to add an extent of additional storage space to the file system, the extent having a size; and in response to issuance of the request, performing a provisioning operation at least in part by (i) extending provisioned space in the local volume by the size of the extent, wherein the provisioning operation is performed without requesting additional storage space from the block storage and without correspondingly extending provisioned space in the LUN by the size of the extent, and wherein the method further comprises, after performing the provisioning operation; issuing a write request to write content to the file system in a region of the added extent; sending the write request to the block storage; and receiving, from the block storage in response to sending the write request, a message indicating that the request has failed, the message based on an out-of-space condition in the block storage that prevents additional storage space from being provisioned to the LUN for fulfilling the write request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 19, 20, 21, 22)
-
-
10. A computerized apparatus, comprising a set of processing units coupled to memory, the set of processing units and the memory together forming control circuitry, the control circuitry constructed and arranged to:
-
deploy a file system within a data node of the NAS cluster, the data node running on a physical computing machine, the file system built upon a local volume within the data node, the local volume backed by a thin LUN (Logical UNit) provisioned from block storage, the block storage configured to host a plurality of thin-provisioned LUNs; establish a current size and a maximum allowed size of the LUN but obtaining no reservation that storage space will be available from the block storage for the LUN to reach the maximum allowed size, the file system and the local volume each having an address space wherein each address in the file system corresponds, one-to-one, with a respective address in the local volume; issue a request to add an extent of additional storage space to the file system, the extent having a size; and in response to issuance of the request, performing a provisioning operation at least in part by extending provisioned space in the local volume by the size of the extent, wherein the provisioning operation is performed without any request for additional storage space from the block storage and without an corresponding extension of provisioned space in the LUN by the size of the extent, and wherein the control circuitry, after performance of the provisioning operation, is constructed and arranged to; issue a write request to write content to the file system in a region of the added extent; send the write request to the block storage; and receive, from the block storage in response to sending the write request, a message indicating that the request has failed, the message based on an out-of-space condition in the block storage that prevents additional storage space from being provisioned to the LUN for fulfilling the write request.
-
-
11. A computer program product including a set of non-transitory, computer-readable media having instructions which, when executed by control circuitry of a computerized apparatus, cause the control circuitry to perform a method for operating a file system, the method comprising:
-
deploying a file system within a data node of the NAS (network attached storage) cluster, the data node running on computerized apparatus, file system built upon a local volume within the data node, the local volume backed by a thin LUN (Logical UNit) provisioned from block storage, the block storage configured to host a plurality of thin-provisioned LUNs; establishing a current size and a maximum allowed size of the LUN but obtaining no reservation that storage space will be available from the block storage for the LUN to reach the maximum allowed size, the file system and the local volume each having an address space wherein each address in the file system corresponds, one-to-one, with a respective address in the local volume; issuing a request to add an extent of additional storage space to the file system, the extent having a size; and in response to issuance of the request, performing a provisioning operation at least in part by extending provisioned space in the local volume by the size of the extent, wherein the provisioning operation is performed without requesting additional storage space from the block storage and without correspondingly extending provisioned space in the LUN by the size of the extent, and wherein the method further comprises, after performing the provisioning operation; issuing a write request to write content to the file system in a region of the added extent; sending the write request to the block storage; and receiving, from the block storage in response to sending the write request, a message indicating that the request has failed, the message based on an out-of-space condition in the block storage that prevents additional storage space from being provisioned to the LUN for fulfilling the write request. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
Specification