IBM Support

syncvg: 0516-622 mklvcopy: Warning, cannot write lv control block data

Troubleshooting


Problem

# syncvg -v 0516-622 mklvcopy: Warning, cannot write lv control block data

Symptom

# syncvg -v <vgname>
0516-622 mklvcopy: Warning, cannot write lv control block data

# lsvg -l <vgname>
..
tsmlv jfs2 440 880 2 open/stale /opt/tivoli/tsm
...

Cause

Missing character device file for the Logical Volume

Environment

AIX 61, 71

Diagnosing The Problem

Collect snap and review LVM debug files...
lvmcfg.log
lvmt.log

lvmt.log shows stat failed on /dev/rtsmlv...

[S 38928550 38666484 08/20/15-10:03:45:136 syncvg.sh 536] /usr/sbin/syncvg -l tsmlv
[S 30015736 38928550 08/20/15-10:03:45:158 getlvodm.c 2102] getlvodm -l tsmlv
[E 30015736 0:000 getlvodm.c 2368] getlvodm: exited with rc=0
[S 30015738 38928550 08/20/15-10:03:45:167 getlvodm.c 2102] getlvodm -b 00cf516100004c000000012eca8b89b5.10
[E 30015738 0:001 getlvodm.c 2368] getlvodm: exited with rc=0
[S 30015740 38928550 08/20/15-10:03:45:176 getlvodm.c 2102] getlvodm -v tsmvg
[E 30015740 0:000 getlvodm.c 2368] getlvodm: exited with rc=0
[1 30015488 0:161 utilities.c 735] status_chk: FAIL: stat on newname /dev/rtsmlv failed, errno=2
[1 30015488 0:162 resynclv.c 179] lvm_resynclv: FAIL: status_chk failed, rc=-140
[E 38928550 0:840 syncvg.sh 19] /usr/sbin/syncvg: exited with rc=2

ls of /dev directory show the raw/character device for the LV does not exist...

# ls -l /dev/*<lvname>
brw-rw---- 1 root system 41, 4 Jul 6 17:41 tsmlv

Resolving The Problem

Recreate the missing raw/character device file with major/minor values matching the block device...

# mknod rtsmlv c 41 4
# ls -l /dev/*<lvname>
brw-rw---- 1 root system 41, 4 Jul 6 17:41 tsmlv
brw-rw---- 1 root system 41, 4 Aug 9 10:13 rtsmlv

# syncvg -l tsmlv -> successful
# lsvg -l tsmvg
..
tsmlv jfs2 440 880 2 open/syncd /opt/tivoli/tsm
...

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"File management","Platform":[{"code":"PF002","label":"AIX"}],"Version":"5.3;6.1;7.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1022627