Operating System - HP-UX
1846853 Members
2710 Online
110256 Solutions
New Discussion

Devices that were removed reappearing after insf command issued.

 
John E. Goetz
Frequent Advisor

Devices that were removed reappearing after insf command issued.

We are using HP StorageWorks Command View to remove devices from a HP Unix server connected to our HP X1024. All paths are removed succussfully however when doing a ioscan -fnC disk and insf -e on the server, the device reappears. Only way to clear it has been doing a reboot which clears the devices from the kernel. There has to be another way besides rebooting. Any suggestions?
6 REPLIES 6
IT_2007
Honored Contributor

Re: Devices that were removed reappearing after insf command issued.

how did you remove all paths? did you use rmsf -kH ??

John E. Goetz
Frequent Advisor

Re: Devices that were removed reappearing after insf command issued.

After running rmsf -kH hardware path the devices did not come back to /dev/rdsk or /dev/dsk when running ioscan and insf. However when I issue veritas command: vxdctl enable, the devices come back in /dev/vx/rdmp and /dev/vx/dmp directories.
IT_2007
Honored Contributor

Re: Devices that were removed reappearing after insf command issued.

Since you are using Veritas Volume Manager there is no other way to remove re-appearing paths other than reboot.
Kevin Wright
Honored Contributor

Re: Devices that were removed reappearing after insf command issued.

why run vxdctl enable then? Are you trying to add new device paths, and you are seeing the old one's re-appear? vxdctl enable causes the system to rebuild the device tree, in addition to scanning the system for newly attached drives.
John E. Goetz
Frequent Advisor

Re: Devices that were removed reappearing after insf command issued.

The old devices are reappearing.
Kevin Wright
Honored Contributor

Re: Devices that were removed reappearing after insf command issued.

yes, from the vxdctl man page:
vxdctl enable
Request that vxconfigd enter enabled mode, import all disk groups, and rebuild the volume and plex device node directories. This operation can be used even if vxconfigd is already in enabled mode. The primary purpose for using this operation when in enabled mode is to rebuild the volume and plex device nodes. This operation will also cause vxconfigd to scan for any disks that were newly added since vxconfigd was last started. In this manner, disks can be dynamically configured to the system and then recognized by the Volume Manager.