Experiences with thinly-provisioned volumes?
Can anyone provide experiences with storage devices that use thin provisioning? I’ve been testing a few on them and I run into problems with the storage device incorrectly reporting the usage allocation after the files are deleted. I see this reference in the GPFS FAQ, but I’m looking for some real-world experiences. Most flash devices use thin provisioning internally. Reference here: https://www-01.ibm.com/support/knowledgecenter/api/content/nl/en-us/SSFKCN/c... Q4.12: What are the considerations for using thinly provisioned or compressed volumes with GPFS? A4.12: While it is possible to use thinly provisioned (compression constitutes a form of thin provisioning) volumes with GPFS, there are some important configuration aspects that must be considered. Placing GPFS metadata on an NSD backed by a thinly provisioned volume is dangerous and unsupported. If the real disk space backing a thinly provisioned virtual volume is exhausted, there is a possibility of a write to a previously allocated disk sector failing. If this volume hosts GPFS metadata, in certain scenarios this could make a GPFS file system temporarily or even permanently unavailable. Placing GPFS data on a thinly provisioned volume is supported, but with certain limitations. Specifically, if the real disk space backing a thinly provisioned virtual volume is exhausted, a failing data write could make the GPFS file system temporarily unavailable. Since at present GPFS does not communicate block deallocation events to the block device layer, freeing space on the file system layer does not free up space on the block device layer. Thus it is possible for the efficiency of thin provisioning to degrade over time, as blocks as allocated and freed. Bob Oesterlin Sr Storage Engineer, Nuance HPC Grid
You write "storage device incorrectly reporting...". Please give an example. What numbers do you expect? Why? What numbers are you seeing? Exactly because of what is highlighted in red "GPFS does not communicate block deallocation events...." -- I would not expect deleting files to change "storage device report [of]... usage allocations". The device saw GPFS write to some data blocks and ... nothing after that ... so the device still "thinks" those blocks are in use. Indeed GPFS may re-use/re-write those blocks in the future when they become part of another file" OTOH GPFS may not do that until it has written to every other block that is addressable from its point of view. GPFS has no idea that the thin provisioning layer exists and might favor re-using one disk address over using another. See also https://en.wikipedia.org/wiki/Trim_(computing)
On 22/12/15 17:32, Oesterlin, Robert wrote:
Can anyone provide experiences with storage devices that use thin provisioning? I’ve been testing a few on them and I run into problems with the storage device incorrectly reporting the usage allocation after the files are deleted. I see this reference in the GPFS FAQ, but I’m looking for some real-world experiences.
Most flash devices use thin provisioning internally.
What is the usage case of using thin provisioning on a GPFS file system? I just can't think of why it would ever be needed or for that matter a good idea. I would personally file it under crazy ideas never to implement in a production system. Surely you throw everything into the GPFS file system and then overcommit on your quotas. At least that is I would say the philosophy of GPFS. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
participants (3)
-
Jonathan Buzzard -
Marc A Kaplan -
Oesterlin, Robert
