Re: [OpenZFS Developer] cache device sharing

2015-09-11 Thread George Wilson
I don't think L2ARC can be shared only spare devices can be shared. - George On Fri, Sep 11, 2015 at 7:23 AM, Andriy Gapon wrote: > > I am curious what was the original reason to not allow sharing of cache > devices > (L2ARC) between pools? > After all, the main ARC

Re: [OpenZFS Developer] cache device sharing

2015-09-11 Thread Andriy Gapon
On 11/09/2015 16:36, George Wilson wrote: > I don't think L2ARC can be shared only spare devices can be shared. But why? And I do not mean multiple ownership of the cache devices. I mean that if a pool with a cache device is imported then the cache device could be used by ARC for the second level

Re: [OpenZFS Developer] cache device sharing

2015-09-11 Thread George Wilson
The ideas was that only one pool could own it so that failover would be possible and the cache device would follow that pool. It also would be required for persistent l2arc. However, it should be possible to create an independent l2arc which never fails over but can be added to multiple pools. It

Re: [OpenZFS Developer] cache device sharing

2015-09-11 Thread Andriy Gapon
On 11/09/2015 16:47, George Wilson wrote: > The ideas was that only one pool could own it so that failover would be > possible and the cache device would follow that pool. It also would be > required for persistent l2arc. > > However, it should be possible to create an independent l2arc which

Re: [OpenZFS Developer] cache device sharing

2015-09-11 Thread Garrett D'Amore
Given persistent l2arc there are definite performance reasons to move the cache with the pool. From a performance standpoint loss of the cache device is not harmless. Not tragic but also not harmless. Sent from my iPhone > On Sep 11, 2015, at 7:20 AM, Andriy Gapon