[dm-devel] How to determine when a snapshot has finished merging?

Wicher Minnaard wicher at gavagai.eu
Thu Jan 28 14:04:04 UTC 2010


On Tue, Jan 26, 2010 at 9:49 PM, Mike Snitzer <snitzer at redhat.com> wrote:
> On Sun, Jan 24 2010 at  9:12am -0500,
> Wicher Minnaard <wicher at gavagai.eu> wrote:
<snip/>
>> But I don't know how to determine whether the merge has completed. I
>> looked around in /proc and /sys, but those contained no obvious clues
>> (not obvious to me, that is). My kernel logs never mention any dm
>> activity (whereas the md driver is quite chatty and features
>> /proc/mdstat).
>> Any suggestions greatly appreciated.
>
> Hi Wicher,
>
> The status for the snapshot-merge (and snapshot) target was extended to
> include the "allocated metadata sectors" at the end of its status
> output, see commit: http://git.kernel.org/linus/985903bb3a6d98
<snip/>
Thanks so much for the pointers & examples, Mike. I got it working!




More information about the dm-devel mailing list