Forum Discussion

atanud_007's avatar
atanud_007
Level 0
8 years ago

Re: VxVM vxdg ERROR V-5-1-587

First perform this below commands. 

 

#vxconfigd -k (manually restart thevxconfig daemon)

vxdg import <disk_group_name>

 

please refer my commands:

[root@node1 ~]#vxdg -o dgtype=shared import atanudg
VxVM vxdg ERROR V-5-1-10978 Disk group atanudg: import failed:
Operation must be executed on master

[root@node1 ~]# vxdctl -c mode
mode: enabled: cluster inactive

[root@node1 ~]# vxdg -s -f import atanudg
VxVM vxdg ERROR V-5-1-10978 Disk group atanudg: import failed:
Operation must be executed on master

vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:cdsdisk - (atanudg) online
disk_1 auto:cdsdisk - (deepdg) online

How to overcome this scenario:

[root@node1 ~]# vxconfigd -k


[root@node1 ~]# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:cdsdisk - (atanudg) online
disk_1 auto:cdsdisk - (deepdg) online

[root@node1 ~]# vxdg import atanudg


[root@node1 ~]# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:cdsdisk shrddisk atanudg online
disk_1 auto:cdsdisk - (deepdg) online