lvconvert --splitcache, --uncache operations getting hung

Solution Verified - Updated -

Issue

  • When trying to flush the cached data present in dm-cache using lvconvert --splitcache, lvconvert --uncache options, the commands are getting hung after flushing a couple of blocks. The issue also persists when using --uncache instead of --splitcache.

    $ lvconvert --splitcache testvg/testlv
    Flushing 968874 blocks for cache testvg/testlv.
    Flushing 976515 blocks for cache testvg/testlv.
    Flushing 976507 blocks for cache testvg/testlv.
    Flushing 976507 blocks for cache testvg/testlv.
    Flushing 976507 blocks for cache testvg/testlv.
    Flushing 976507 blocks for cache testvg/testlv.
    Flushing 976507 blocks for cache testvg/testlv.
    [...]
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • dm-cache

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content