Re: LVM cache/dm-cache questions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Jun 11, 2016, at 7:36 PM, sergei <sergei.franco@gmail.com> wrote:
> 
> Hi,
> 
> I have a few simple questions regarding relatively new feature LVM cache/dm-cache.
> 
> From second hand information on internet, it appears that you cannot resize cached volume.
> Please correct me if I am wrong: to resize a cached volume, one needs to lvremove the cache, resize and recreate the cache?

This is true at the moment.  You are likely to be able to simply resize online in the future.

> In scenario where cache device fails, how safe is the data on the cached LVM?

If you are using writethrough, quite safe.  If you are using ‘writeback’, probably not (RAID for your cache in this case would probably be wise).

> Is it possible to make snapshots of the cached device?

easy answer is “no”.

complicated answer includes a ‘yes’.  You can cache a poolDataLV, then your thinLV and all its thinSnaps would be cached.

 brassow

_______________________________________________
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/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux