minor number mismatch in Solaris

We face the issue of minor number in Solaris servers , below is the issue how to fix the same .

 

Console Error Messages during the reboot:

==================================

VxVM vxvm-startup2 INFO V-5-2-503 VxVM general startup…

Feb  5 11:01:01 vxvm:vxconfigd: V-5-1-663 Group mdmadmin-dg: Duplicate virtual device number(s):

Feb  5 11:01:01 vxvm:vxconfigd:         Volume mdmadmin_vol remapped from 234,104000 to 234,131070

Feb  5 11:01:01 vxvm:vxconfigd:         Volume mdmadminprog_vol remapped from 234,104001 to 234,131069

The system is coming up.  Please wait.

Minor number’s once the server came up:

=======================================

  1. Unix01:root# pwd

/global/.devices/node@1/dev/vx/dsk

Unix01:root# cd ../mdmadmin-dg  ( go to the Path)

Unix01:root# ls -l

total 0

brw——-   1 root     root     234,131070 Feb  5 11:11 mdmadmin_vol———->>>> Minor number

brw——-   1 root     root     234,131069 Feb  5 11:11 mdmadminprog_vol ——>>>> Minor number

  1. vxprint -htg <<dg>> | grep default

 

==================================

dg cdmadmin-dg  default      default  43000    1166196781.30.Unix01

dg mdmadmin-dg  default      default  104000   1166196841.36.Unix01 ———->>>>Minor Number

dg sdmadmin-dg  default      default  10000    1166196567.24.Unix01

It clearly shows the the minor number for “mdmadmin-dg” is not the same, per above 2 outputs:

 

 

  1. Gave a new minor number “104010” to mdmadmin-dg

 

  1. Unix01:root# vxdg reminor mdmadmin-dg 104010

Unix01:root# ls -l

total 0

brw——-   1 root     root     234,104010 Feb  5 11:34 mdmadmin_vol

brw——-   1 root     root     234,104011 Feb  5 11:34 mdmadminprog_vol

Unix01:root#

5.Unix01:root# vxprint -htg mdmadmin-dg | grep dg | grep default

dg mdmadmin-dg  default      default  104010   1166196841.36.Unix01

Unix01:root#

 

 

Blogs : Supported By VK.S

Leave a Reply

Your email address will not be published. Required fields are marked *