Forum Discussion

KMomtaz's avatar
KMomtaz
Level 2
5 years ago

Inconsistent Device Name between the VM vxdisk

Dears,

I hope you're all well & safe. 

We are using Veritas Infoscale 7.4 and we are having a 6 nodes cluster.

The output of the vxdisk list command on the first two nodes is showing the below:

DEVICE TYPE DISK GROUP STATUS
sba-emm-app-pro_vmdk0_0 auto:sliced sba-emm-app-pro_vmdk0_0 mmdbdg20 online shared
sba-emm-app-pro_vmdk0_1 auto:sliced sba-emm-app-pro_vmdk0_1 mmdata1dg20 online shared
sba-emm-app-pro_vmdk0_2 auto:sliced sba-emm-app-pro_vmdk0_2 mmdatadg20 online shared
sba-emm-app-pro_vmdk0_3 auto:LVM - - LVM

For the rest of the four remaining nodes, the output is the following:

DEVICE TYPE DISK GROUP STATUS
sba-emm-app-pro_vmdk0_0 auto:LVM - - LVM
sba-emm-app-pro_vmdk0_1 auto:sliced sba-emm-app-pro_vmdk0_0 mmdbdg20 online shared
sba-emm-app-pro_vmdk0_2 auto:sliced sba-emm-app-pro_vmdk0_1 mmdata1dg20 online shared
sba-emm-app-pro_vmdk0_3 auto:sliced sba-emm-app-pro_vmdk0_2 mmdatadg20 online shared

If you notice, the "DEVICE" output is inconsistent between the nodes. 
Could you please help me understand why I can see this inconsistency? And is there a way to make them all consistent? 

Thanks & Regards,

Karim Momtaz

    • KMomtaz's avatar
      KMomtaz
      Level 2

      Hi Frank,

      Thanks for your reply. 

      I tested the procedure mentioned in your reply on a 2 nodes cluster having the same mismatch:

      SBA-EMM-APP-TEST1:/dev/vx/rdmp# vxdisk list
      DEVICE TYPE DISK GROUP STATUS
      sba-emm-app-tes_vmdk0_0 auto:LVM - - LVM
      sba-emm-app-tes_vmdk0_1 auto:sliced sba-emm-app-tes_vmdk0_1 mmdatadg20 online shared
      sba-emm-app-tes_vmdk0_2 auto:sliced sba-emm-app-tes_vmdk0_2 mmdbdg20 online shared

      SBA-EMM-APP-TEST2:/etc/vx# vxdisk list
      DEVICE TYPE DISK GROUP STATUS
      sda auto:LVM - - LVM
      sdb auto:sliced sba-emm-app-tes_vmdk0_1 mmdatadg20 online shared
      sdc auto:sliced sba-emm-app-tes_vmdk0_2 mmdbdg20 online shared

      I applied the procedure on the second node first then the first one but they are the same after doing it. I mean no changes were found. The exact commands I used:
      1- hasys -freeze SBA-EMM-APP-TEST2
      2- rm -f /dev/vx/dmp/*
      3- rm -f /dev/vx/rdmp/*
      4- mv /etc/vx/array.info /etc/vx/array.info.old
      5- mv /etc/vx/disk.info /etc/vx/disk.info.old2
      6- vxconfigd -k -x syslog
      7- hasys -unfreeze SBA-EMM-APP-TEST2

      Any idea why it didn't fix it as expected? 

      • frankgfan's avatar
        frankgfan
        Moderator

        lets troubleshoot the issue further.

         

        Please run the commans below on both nodes and post the output

        1. vxdisk list sdb | grep -i disk | grep -i id

        2. vxdisk list sdc | grep -i disk | grep -i id

        3. vxdg list

        where on the second node, you need to replace the disk names sdb and sdc which the actual disk names shown in vxdisk list output accordingly.

         

        on node SBA-EMM-APP-TEST1, run the commands below:

        a.  vxddladm set namingscheme=osn

        b. vxdisk -o alldgs list | grep -i shared