Apparently the problem is here: #format_text/format-text.c:630 Writing VG0 metadata to /dev/md1 at 20480 len 3166 #device/dev-io.c:90 /dev/md1: lseek 18446744071795900416 failed: Invalid argument The offset suddenly is changed from 20480 to a very large number. Did you do lvm2 upgrade before? If yes, is there any error during the upgrade?