vxdisk list not showing correct device names and mappings

Article: 100020472
Last Published: 2022-02-02
Ratings: 0 0
Product(s): InfoScale & Storage Foundation

Problem

vxdisk list not showing correct device names and mappings

 

 

ISSUE:

vxdisk list is not showing the correct pseudo devices according to "vxdisk list" output.



DIAGNOSTIC STEPS:

* Check the devices are seen in OS (format)

* Check the pseudo devices as using the correct luns (powermt display)
- using powerpath for multipathing

* Look at the disk.info file (showing devices are not correctly represented)

* vxdisk (vxdisk -e list) output shows some devices (DA) are referring to the same OS native power device name that is currently being used.



SOLUTION:

Need to re-create the device mapping for VM to be able to pick up the correct devices

* To re-create the device mapping:
----------------
- Remove the following files inside the directory:
# rm /dev/vx/dmp/*
# rm /dev/vx/rdmp/*

- Rename the following files:
# mv /etc/vx/array.info /etc/vx/array.info.old
# mv /etc/vx/disk.info /etc/vx/disk.info.old

- Restart vxconfigd and it will re-create the files we just deleted.
# vxconfigd -k
----------------

Note: Freeze the service group first before restarting vxconfigd if system is running a Cluster.

* To check the status of your cluster and the service group and resources:
# hastatus -sum

* To freeze the service group:
# haconf -makerw
# hagrp -freeze <SG_name> -persistent
# haconf -dump -makero

*Unfreeze the service group after everything (vxconfigd was restarted) is done.
# haconf -makerw
# hagrp -unfreeze <SG_name> -persistent
# haconf -dump -makero

 

Was this content helpful?