LUN Removal Process - Solaris 10 U8 / Storage Foundation 5.1 / PowerPath 5.3
What is the correct procedure to remove a LUN which is no longer required?
Setup is a Solaris 10 server, dual pathed FC to EMC storage and managed with VxVM 5.1.
Once the LUN has been removed from Veritas (removed from DG then vxdisk rm <disk>)
At what point can I unmask the LUN on the storage side? Is it before or after I remove the disk with powermt? Do I even perform a powermt remove?
Once that is done, I would then remove from OS via cfgadm, then devfsadm.
What I am currently trying to do a powermt remove <emcpower#> after I do a vxdisk rm <emcpower#>, but it complains that the device is still in use.
somebox01:# /etc/powermt remove dev=emcpower123a Cannot remove device that is in use: emcpower123a somebox01:#