Re: [dm-devel] dm-cache: please check/repair metadata

2016-12-18 Thread Zdenek Kabelac
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-c

Re: [dm-devel] dm-cache: please check/repair metadata

2016-12-18 Thread Ian Pilcher
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 do

Re: [dm-devel] dm-cache: please check/repair metadata

2016-12-18 Thread Zdenek Kabelac
Dne 18.12.2016 v 01:34 Ian Pilcher napsal(a): On 12/08/2016 08:53 AM, Ian Pilcher wrote: Running cache_repair against the metadata device gives me this error: transaction_manager::new_block() couldn't allocate new block I strongly suspect that my metadata device is too small. It was sized w

Re: [dm-devel] dm-cache: please check/repair metadata

2016-12-17 Thread Ian Pilcher
On 12/08/2016 08:53 AM, Ian Pilcher wrote: Running cache_repair against the metadata device gives me this error: transaction_manager::new_block() couldn't allocate new block I strongly suspect that my metadata device is too small. It was sized with the algorithm that I posted to this list ab

Re: [dm-devel] dm-cache: please check/repair metadata

2016-12-08 Thread Ian Pilcher
On 12/08/2016 04:23 AM, Zdenek Kabelac wrote: I'm sorry but you've attached so little information there is no way to give you some useful hint. Actually you did. :-) I was just asking what tool(s) I should be using to "check/repair" the metadata. (Google is oddly silent on the subject.) You

Re: [dm-devel] dm-cache: please check/repair metadata

2016-12-08 Thread Zdenek Kabelac
Dne 8.12.2016 v 02:36 Ian Pilcher napsal(a): I have a dm-cache device that throws the following error when I try to create it: device-mapper: cache: 253:20: unable to switch cache to write mode until repaired. device-mapper: cache: 253:20: switching cache to read-only mode device-mapper: tabl

[dm-devel] dm-cache: please check/repair metadata

2016-12-07 Thread Ian Pilcher
I have a dm-cache device that throws the following error when I try to create it: device-mapper: cache: 253:20: unable to switch cache to write mode until repaired. device-mapper: cache: 253:20: switching cache to read-only mode device-mapper: table: 253:20: cache: Unable to get write acces