Operating System - HP-UX
1834163 Members
2628 Online
110064 Solutions
New Discussion

Re: problems/errors after deassigning EMC SAN volume

 
Peter Heinemann
Frequent Advisor

problems/errors after deassigning EMC SAN volume

hpux 11.11, emc SAN, dual-connected via HBAs.
Here's the problem:

Trying to perform a controlled removal of EMC SAN LUNS.

1. lvremoved logical volume that used the LUNS to be deassigned.
2. deassigned the LUNs on the san side
3. issued the emc utility command "powermt remove dev=LUN-id"
4. issued vgreduce primary-links
up to this point, all ok.

Then the problem started...

- vgreduce of secondary-link hangs.
- syslog shows constant messages of restoring the PV to the VG, followed by the "Recovered Path", then repeats the restoring messages.

All of the PVs being "restored" are the ones we're attempting to remove.

-Any suggestions as to how to stop the constant lvm restores, which we don't want?
-Any suggestions as to a correct order in which to perform the san disk VGreduce?
3 REPLIES 3
Geoff Wild
Honored Contributor

Re: problems/errors after deassigning EMC SAN volume

Before anything is done on the SAN/EMC side - you should have lvreduce, vgreduced and rmsf -H hw_path to those disks - then pulled the luns away, then issue an ioscan -fnC disk.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Stuart Abramson
Trusted Contributor

Re: problems/errors after deassigning EMC SAN volume

unmount LV
lvremove LV
vgreduce VG
pvremove PV ?
powermt remove adapter=all dev=c2t6d0
rmsf /dev/*dsk/c2t6d0
Remove LUN masking from HV to HBA in ECC
"Depresent" HV from FA (if desired) in ECC
symcfg discover
symmask refresh
powermt save

Peter Heinemann
Frequent Advisor

Re: problems/errors after deassigning EMC SAN volume

Thanks...verified the sequence suggested by both of you.