SAN disk removal query

From: McAlister, Bruce (Bruce.McAlister@irl.xerox.com)
Date: Tue Nov 11 2003 - 12:15:37 EST


Hi Sun Guru's,

I have a quick query, at least I'm hoping its relatively easy to answer. We
currently have 99% of our servers using SAN attached storage (HDS 9980V).
What I would like to know is, if a lun is allocated to a system, and then
after a while is not needed anymore is there any easy way of removing the
device. For example, with the photon range of disks the procedure to follow
(with vertias volume manager installed) was/is:

[1] vxdisk offline <disk>
[2] vxdisk rm <disk>
[3] luxadm remove_device [-f] <disk enclosure location>
[4] physicaly remove disk
[5] hit enter for luxadm to remove the device files.

with SAN attached disks, what kind of procedure would I follow, currently i
follow steps 1 and 2 as above, then I manually rm the logical devices in
/dev/dsk and /dev/rdsk then manually remove the raw devices in /devices,
then I have to manually edit /etc/path_to_inst.

However the above approach is not always desireable as the kernel still has
the driver instances loaded and if you run drvconfig, disks (or devfsadm -c
disk), then the raw, logical devices are recreated and the path_to_inst
updated with disks that are not attached.

Does anyone know if there is another tool/utility that is available for a
similar procedure as the photon's, and if not, is there a better way to
remove a san attached disk than the way we are doing it at the moment. I am
hoping to remove these disks without physically rebooting the system.

Any suggestions/comments would be greatly appreciated.

Thank you

Bruce McAlister
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:27 EDT