BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Thin Provisioned LVM
- Subject: [Discuss] Thin Provisioned LVM
- From: tmetro+blu at gmail.com (Tom Metro)
- Date: Thu, 12 Mar 2015 16:37:09 -0500
- In-reply-to: <54164d32997df8ce0b7f22c44ead8809.squirrel@mail.mohawksoft.com>
- References: <9add572f6d172df6ae1d292b42ee10b6.squirrel@mail.mohawksoft.com> <54FF4556.5040107@gmail.com> <dfce4b3cdeafb3342a1b505319cf3683.squirrel@mail.mohawksoft.com> <55005473.2030908@gmail.com> <2a0abeb4977f9dec804ba8215393e8dd.squirrel@mail.mohawksoft.com> <55007E04.2030601@gmail.com> <5826ead7c09a9c2debfdaf12db4b173c.squirrel@mail.mohawksoft.com> <BN3PR0401MB12043B3EFFB7E32A28F84159DC190@BN3PR0401MB1204.namprd04.prod.outlook.com> <c1b6ebbf19c9581cd361462a487ba125.squirrel@mail.mohawksoft.com> <BN3PR0401MB1204A16B99E510ECA7921C33DC060@BN3PR0401MB1204.namprd04.prod.outlook.com> <c47ae1b31b377c4ebdb4294feba4814e.squirrel@mail.mohawksoft.com> <5501B15E.5000002@gmail.com> <54164d32997df8ce0b7f22c44ead8809.squirrel@mail.mohawksoft.com>
markw at mohawksoft.com wrote: > Consider this: You are a large cloud hosting company. You have a SAN > storage system from which you allocate thin provisioned virtual luns which > you then present to ESX server virtual machines. You give each customer a > 2T LUN on which to install their OS of choice. The customers are billed by > the actual amount of storage they use. Using a conservative allocation of > disk space and in-place modification, the hosted system doesn't grow on > the LUN. > [...] > The problem with ZFS, is that it is very aggressive at growing the pool. > It assumes there is no cost to using the whole disk. Once it writes to a > block, that block is pulled out of the SAN and allocated to the LUN, you > can't give it back in the SAN. The number of "used" blocks have not really > changed on the LUN, only more free space has been allocated to it. Now the > customer has to pay for that and the hosting company has to add more > storage to their SAN. Are you talking about the behavior where a file occupies blocks A, B, and C, then the portion residing in block C gets modified, but instead of it being overwritten, a new block D gets written, and the current file index updated to point to blocks A, B, and D? If so, isn't that behavior a necessity for the snapshot capability in ZFS and fundamental to its design? According to this rather high-level (superficial) description of storage allocation: http://docs.oracle.com/cd/E19253-01/819-5461/gbchp/index.html it sounds like as long as you don't have a snapshot pointing to block C, it will eventually get reused. But it doesn't say when. I guess you might see the same behavior in other file systems, but you're saying with ZFS it doesn't go back to reuse block C until the disk starts to fill up? -Tom -- Tom Metro The Perl Shop, Newton, MA, USA "Predictable On-demand Perl Consulting." http://www.theperlshop.com/
- References:
- [Discuss] Thin Provisioned LVM
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Thin Provisioned LVM
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] Thin Provisioned LVM
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Thin Provisioned LVM
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] Thin Provisioned LVM
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Thin Provisioned LVM
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] Thin Provisioned LVM
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Thin Provisioned LVM
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] Thin Provisioned LVM
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Thin Provisioned LVM
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] Thin Provisioned LVM
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Thin Provisioned LVM
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] Thin Provisioned LVM
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Thin Provisioned LVM
- Prev by Date: [Discuss] magnet links in bittorrent question
- Next by Date: [Discuss] os x, pf, gui?
- Previous by thread: [Discuss] Thin Provisioned LVM
- Next by thread: [Discuss] Thin Provisioned LVM
- Index(es):