Operating System - HP-UX
1823302 Members
3302 Online
109652 Solutions
New Discussion юеВ

Veritas 4.1 DMP and depresent a LUN

 
SOLVED
Go to solution
Adam Garsha
Valued Contributor

Veritas 4.1 DMP and depresent a LUN

If I depresent a LUN from an HP-UX 11.23 system and the LUN was originally under Veritas control, how do I notify DMP to "forget" about the LUN.

Namely, if I:
1. depresent LUN at SAN
2. ioscan -f; insf -e; vxdctl enable
3. vxdisk list | egrep error
4. vxdisk rm removed_disk_access_name_goes_here
5. vxdisk list | egrep error # removed disk is gone
6. ioscan -f; insf -e; vxdctl enable
7. vxdisk list | egrep error # removed disk is back again... how to get rid of it until a new disk presented?

So far the only way I know how to clear away the ghost disks is to reboot... but there must be another clean way.

Thanks, I'll asign points.
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor
Solution

Re: Veritas 4.1 DMP and depresent a LUN

Hi,

Try to remove the device files.

# vxdisk rm removed_disk_access_name_goes_here
or if it is part of a diskgroup
# vxdg -g adg -k rmdisk removed_disk_access_name_goes_here

example
# lssf /dev/rdsk/c7t3d0
sdisk card instance 7 SCSI target 3 SCSI LUN 0 section 0 at address 0/4/0/0.200.21.255.2.3.0 /dev/rdsk/c7t3d0
# rmsf -H 0/4/0/0.200.21.255.2.3.0

Regards,
Robert-Jan
juhasza
New Member

Re: Veritas 4.1 DMP and depresent a LUN

Hello
if yet current ,you steps is ok,but you need
recreate /etc/vx/disk.info
(persistent disk database)
run this:vxconfigd -k ,and ready.
a