All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] howto cache a thinpool-device?
@ 2014-08-09 13:43 Oliver Rath
  2014-08-09 16:26 ` Oliver Rath
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Rath @ 2014-08-09 13:43 UTC (permalink / raw)
  To: LVM general discussion and development

Hi list,

Im playing around with the new cache options. Ive created a lvm-device
on my cache-disk named lvx-cache (vg is dmivg). Additionally Ive created
a thinpool-device named winthinpool.

Now i wanted to use my cache-device to cache my thinpool-lvm, but this
doesnt work:

~# lvconvert --type cache --cachepool dmivg/lvx_cache dmivg/winthinpool
  Can't cache thin-pool volume dmivg/winthinpool.

isnt is possible to cache a thinpool-device?

Tfh!
Oliver

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] howto cache a thinpool-device?
  2014-08-09 13:43 [linux-lvm] howto cache a thinpool-device? Oliver Rath
@ 2014-08-09 16:26 ` Oliver Rath
  2014-08-19 23:34   ` Brassow Jonathan
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Rath @ 2014-08-09 16:26 UTC (permalink / raw)
  To: linux-lvm

Hi list,

what now worked:

- creating a cached data-lv
- creating a non-cached meta-lv
- converting data-lv to a thinpool-device with meta-lv as metadata

what not: doing the same thing with a cached meta-lv. Does this make sense?

Is the metadata already cached by lvm-logic? Do i have a cache thinpool
(with non-cached metadata) with the used way?

Tfh!
Oliver


Am 09.08.2014 um 15:43 schrieb Oliver Rath:
> Hi list,
>
> Im playing around with the new cache options. Ive created a lvm-device
> on my cache-disk named lvx-cache (vg is dmivg). Additionally Ive created
> a thinpool-device named winthinpool.
>
> Now i wanted to use my cache-device to cache my thinpool-lvm, but this
> doesnt work:
>
> ~# lvconvert --type cache --cachepool dmivg/lvx_cache dmivg/winthinpool
>   Can't cache thin-pool volume dmivg/winthinpool.
>
> isnt is possible to cache a thinpool-device?
>
> Tfh!
> Oliver
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] howto cache a thinpool-device?
  2014-08-09 16:26 ` Oliver Rath
@ 2014-08-19 23:34   ` Brassow Jonathan
  0 siblings, 0 replies; 3+ messages in thread
From: Brassow Jonathan @ 2014-08-19 23:34 UTC (permalink / raw)
  To: LVM general discussion and development

If it was me, I would put the thinMetaLV directly on the fast device (because it is small) and I would cache the thinDataLV.

Remember that some of what you are doing is pretty cutting edge.  I wouldn't yet use caching + thin in production yet.

Also, consider making your thin devices redundant (if they are not already via backend storage).

 brassow


On Aug 9, 2014, at 11:26 AM, Oliver Rath wrote:

> Hi list,
> 
> what now worked:
> 
> - creating a cached data-lv
> - creating a non-cached meta-lv
> - converting data-lv to a thinpool-device with meta-lv as metadata
> 
> what not: doing the same thing with a cached meta-lv. Does this make sense?
> 
> Is the metadata already cached by lvm-logic? Do i have a cache thinpool
> (with non-cached metadata) with the used way?
> 
> Tfh!
> Oliver
> 
> 
> Am 09.08.2014 um 15:43 schrieb Oliver Rath:
>> Hi list,
>> 
>> Im playing around with the new cache options. Ive created a lvm-device
>> on my cache-disk named lvx-cache (vg is dmivg). Additionally Ive created
>> a thinpool-device named winthinpool.
>> 
>> Now i wanted to use my cache-device to cache my thinpool-lvm, but this
>> doesnt work:
>> 
>> ~# lvconvert --type cache --cachepool dmivg/lvx_cache dmivg/winthinpool
>>  Can't cache thin-pool volume dmivg/winthinpool.
>> 
>> isnt is possible to cache a thinpool-device?
>> 
>> Tfh!
>> Oliver
>> 
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm@redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-lvm
>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-19 23:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-09 13:43 [linux-lvm] howto cache a thinpool-device? Oliver Rath
2014-08-09 16:26 ` Oliver Rath
2014-08-19 23:34   ` Brassow Jonathan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.