Re: dm-cache: please check/repair metadata

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

 



I'm not exactly sure what are you doing, are you maintaining your own dm
cache volumes ?  (Writing your own volume manager and not using lvm2 -
what is lvm2 missing/doing wrong ?)

Yup.  I've continuing to use my "zodcache" system for assembling
dm-cache devices.

As to what lvm2 is missing or doing wrong ... It's not that there's
anything "wrong" with it.  It's just that I prefer to have a "simpler"
setup with a cached PVs/VGs, rather than cached LVs.  I've also always
found the fact that LVM cache puts both the fast and slow devices into
the same VG to be counterintuitive.

These are really matters of personal preference, though.  I want to be
very, very clear that I don't think that there's anything wrong with
LVM.  (To be perfectly honest, my preferences are probably colored by
the fact that I first used bcache, so I'm used to its "model".)

Are you going to write also your own recovery support ?

Until a few days ago I wasn't aware that such a thing might even be
necessary.  :-)

Otherwise it's normally a business of lvm2 to maintain proper size of
cached LVs (and even resize them when needed via monitoring)
This will be necessary once we will support online resize of cache pools
& cached volumes.

I didn't realize that LVM did that.  That's cool.

From the source code of lvm2 it seems it uses about 44  bytes per cache
chunk and with some transaction overhead for metadata (this could be
possible lowered for 'smq' policy...)

I came across this in one of my Google searches.


http://people.redhat.com/msnitzer/patches/upstream/dm-cache-for-v3.13/dm-cache-variable-hints.patch

I wonder if I should just use 128.  It would be a bit wasteful, but
hopefully it would be future-proof.

--
========================================================================
Ian Pilcher                                         arequipeno@xxxxxxxxx
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux