Creating LV mirror is failing with dirty region log: log device dm-X too small

Solution In Progress - Updated -

Issue

When running lvconvert to create a mirror LV from an existing standalone LV

# lvconvert --background --type mirror --mirrors 1 --stripes 32 --mirrorlog disk --stripesize 16M  /dev/vgdlb01/lv_dlb01 /dev/sda /dev/sdb... /dev/sdX

But it is failing with below error

Sep 17 15:15:00 hostnameX kernel: [5956906.671636] device-mapper: dirty region log: log device 253:22 too small: need 16778240 bytes
Sep 17 15:15:00 hostnameX kernel: [5956906.673729] device-mapper: table: 253:18: mirror: Error creating mirror dirty log (-EINVAL)
Sep 17 15:15:00 hostnameX kernel: [5956906.675163] device-mapper: ioctl: error adding target to table

Environment

  • Red Hat Enterprise Linux
  • lvm2

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