Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Removing LUN from a production environment

807557Jun 8 2010 — edited Jun 10 2010
We have a production host that I need to remove a LUN from. I have searched through and I find conflicting instructions some of which are commented this froze the host. The host has multipath setup and 3 LUNs attached to 2 ports on separate FC HBAs. I would like to remove the LUN cleanly and without rebooting the host. I have removed the entry from the vfstab and umounted. I want to remove LUN 17
I have read that luxadm remove_device should be used, also cfgadm unconfigure. What is the approved / safest way to accomplish this?
If using either of the 2 commands what are the correct parameters given the information below? unfortunately I do not have a spare host to practice on.
luxadm probe
Node WWN:200400a0b85ae3f1 Device Type:Disk device
Logical Path:/dev/rdsk/c5t600A0B80005AE3F100000D8F4BC59977d0s2

cfgadm -al -o show_SCSI_LUN
c1 fc-fabric connected configured unknown
c1::203400a0b85ae3f1,11 disk connected configured unknown
c1::203400a0b85ae3f1,13 disk connected configured unknown
c1::203400a0b85ae3f1,17 disk connected configured unknown
c1::203500a0b85ae3f1,11 disk connected configured unknown
c1::203500a0b85ae3f1,13 disk connected configured unknown
c1::203500a0b85ae3f1,17 disk connected configured unknown
c2 fc connected unconfigured unknown
c3 fc-fabric connected configured unknown
c3::202400a0b85ae3f1,11 disk connected configured unknown
c3::202400a0b85ae3f1,13 disk connected configured unknown
c3::202400a0b85ae3f1,17 disk connected configured unknown
c3::202500a0b85ae3f1,11 disk connected configured unknown
c3::202500a0b85ae3f1,13 disk connected configured unknown
c3::202500a0b85ae3f1,17 disk connected configured unknown
c4 fc connected unconfigured unknown
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2010
Added on Jun 8 2010
3 comments
430 views