Re: dm-cache: please check/repair metadata

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

 



Dne 18.12.2016 v 16:51 Ian Pilcher napsal(a):
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.

It's not counterintuitive - lvm2 gives you FULL control where to place cache data and metadata...

ATM lvm2 has no notation what is 'slow' and what is 'fast'
For the 'cache'  both  data & metadata are supposed to be on 'fast'.

Please check 'man lvmcache' for full description.

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.  :-)

Well errors do happen and having repair logic at hands is always useful.

There are also quite some types of failures - so I probably need to wish best luck with rediscovering all this.

Unless your 'zodcache' is meant to be used as quick 'experimental' sort of device where you do not care mostly about data being unusable. In this case plain activation of 'dm' device via couple ioctl calls surely can't be beaten by lvm2 - but that's not where lvm2 usage is targeted.

Regards

Zdenek

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