[dm-devel] [PATCH 1/6] dm cache: cache shrinking support

Mike Snitzer snitzer at gmail.com
Mon Nov 11 23:08:40 UTC 2013


On Mon, Nov 11, 2013 at 6:03 PM, Alasdair G Kergon <agk at redhat.com> wrote:
>> DMERR("unable to shrink cache due to dirty blocks");
>
> Also, what is the process to recover from this error, given that you have
> already lost the end of the device and you cannot now resume the device
> without a preresume failure?
>
> Do the tools support retrieval of the dirty blocks from the portion of the
> device that you do still have?

Whatever the user used to resize the fast device would need to be
reversed.  The metadata hasn't changed, and provided the user can
actually get the original data back (possible with linear volume
anyway) then they can easily recover.  More sophisticated volumes may
not make this possible....

It hurts when one shoots one's self in the foot.




More information about the dm-devel mailing list