Old LUNs was unmapped, for their H-Lun new ones was mapped. vxdisk shows:
root@solaris:/home# vxdisk list|grep hus
hus_1500_0 auto:cdsdisk - - online
hus_1500_1 auto - - error
hus_1500_2 auto:cdsdisk - - online
hus_1500_3 auto - - error
hus_1500_4 auto:cdsdisk - - online
hus_1500_5 auto:cdsdisk - - online
cfgadm shows that our LUNs is ok:
root@solaris:/home# cfgadm -al -o show_FCP_dev
Ap_Id Type Receptacle Occupant Condition
c9 fc-fabric connected configured unknown
c9::50060e80101de576,0 disk connected configured unknown
c9::50060e80101de576,1 disk connected configured unknown
c9::50060e80101de576,2 disk connected configured unknown
c9::50060e80101de576,3 disk connected configured unknown
c9::50060e80101de576,4 disk connected configured unknown
c9::50060e80101de576,5 disk connected configured unknown
c9::50060e80101de57f,0 disk connected configured unknown
c9::50060e80101de57f,1 disk connected configured unknown
c9::50060e80101de57f,2 disk connected configured unknown
c9::50060e80101de57f,3 disk connected configured unknown
c9::50060e80101de57f,4 disk connected configured unknown
c9::50060e80101de57f,5 disk connected configured unknown
c14 fc-fabric connected configured unknown
c14::50060e80101de577,0 disk connected configured unknown
c14::50060e80101de577,1 disk connected configured unknown
c14::50060e80101de577,2 disk connected configured unknown
c14::50060e80101de577,3 disk connected configured unknown
c14::50060e80101de577,4 disk connected configured unknown
c14::50060e80101de577,5 disk connected configured unknown
c14::50060e80101de57e,0 disk connected configured unknown
c14::50060e80101de57e,1 disk connected configured unknown
c14::50060e80101de57e,2 disk connected configured unknown
c14::50060e80101de57e,3 disk connected configured unknown
c14::50060e80101de57e,4 disk connected configured unknown
c14::50060e80101de57e,5 disk connected configured unknown
Let's look paths which is true by vxvm thinking
root@solaris:/home# vxdmpadm getsubpaths|egrep "hus_1500_1|hus_1500_3"
c14t50060E80101DE577d1s2 DISABLED - hus_1500_1 hus_1500 c14 -
c14t50060E80101DE57Ed1s2 DISABLED - hus_1500_1 hus_1500 c14 -
c9t50060E80101DE576d1s2 DISABLED - hus_1500_1 hus_1500 c9 -
c9t50060E80101DE57Fd1s2 DISABLED - hus_1500_1 hus_1500 c9 -
c14t50060E80101DE577d3s2 DISABLED - hus_1500_3 hus_1500 c14 -
c14t50060E80101DE57Ed3s2 DISABLED - hus_1500_3 hus_1500 c14 -
c9t50060E80101DE576d3s2 DISABLED - hus_1500_3 hus_1500 c9 -
c9t50060E80101DE57Fd3s2 DISABLED - hus_1500_3 hus_1500 c9 -
Removing disks from vxdisk
root@solaris:/home# vxdisk rm hus_1500_1
And remove them from vxvm
root@solaris:/home# vxdmpadm exclude vxvm dmpnodename=c14t50060E80101DE577d1s2
root@solaris:/home# vxdmpadm exclude vxvm dmpnodename=c14t50060E80101DE577d3s2
Switching disks to offline, after that they must be marked as unusable
root@solaris:/home# luxadm -e offline /dev/rdsk/c9t50060E80101DE576d1s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c9t50060E80101DE57Fd1s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c14t50060E80101DE577d1s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c14t50060E80101DE57Ed1s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c9t50060E80101DE576d3s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c9t50060E80101DE57Fd3s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c14t50060E80101DE577d3s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c14t50060E80101DE57Ed3s0
root@solaris:/home# cfgadm -al -o show_FCP_dev
Ap_Id Type Receptacle Occupant Condition
c9 fc-fabric connected configured unknown
c9::50060e80101de576,0 disk connected configured unknown
c9::50060e80101de576,1 disk connected configured unusable
c9::50060e80101de576,2 disk connected configured unknown
c9::50060e80101de576,3 disk connected configured unusable
c9::50060e80101de576,4 disk connected configured unknown
c9::50060e80101de576,5 disk connected configured unknown
c9::50060e80101de57f,0 disk connected configured unknown
c9::50060e80101de57f,1 disk connected configured unusable
c9::50060e80101de57f,2 disk connected configured unknown
c9::50060e80101de57f,3 disk connected configured unusable
c9::50060e80101de57f,4 disk connected configured unknown
c9::50060e80101de57f,5 disk connected configured unknown
c10 fc connected unconfigured unknown
c14 fc-fabric connected configured unknown
c14::50060e80101de577,0 disk connected configured unknown
c14::50060e80101de577,1 disk connected configured unusable
c14::50060e80101de577,2 disk connected configured unknown
c14::50060e80101de577,3 disk connected configured unusable
c14::50060e80101de577,4 disk connected configured unknown
c14::50060e80101de577,5 disk connected configured unknown
c14::50060e80101de57e,0 disk connected configured unknown
c14::50060e80101de57e,1 disk connected configured unusable
c14::50060e80101de57e,2 disk connected configured unknown
c14::50060e80101de57e,3 disk connected configured unusable
c14::50060e80101de57e,4 disk connected configured unknown
c14::50060e80101de57e,5 disk connected configured unknown
Removing them from cfgadm
root@solaris:/home# cfgadm -c unconfigure -o unusable_SCSI_LUN c9::50060e80101de576
root@solaris:/home# cfgadm -c unconfigure -o unusable_SCSI_LUN c9::50060e80101de57f
root@solaris:/home# cfgadm -c unconfigure -o unusable_SCSI_LUN c14::50060e80101de577
root@solaris:/home# cfgadm -c unconfigure -o unusable_SCSI_LUN c14::50060e80101de57e
root@solaris:/home# devfsadm -C -v
devfsadm[27275]: verbose: removing file: /dev/dsk/c14t50060E80101DE577d1s5
devfsadm[27275]: verbose: removing file: /dev/dsk/c9t50060E80101DE576d1s2
devfsadm[27275]: verbose: removing file: /dev/dsk/c9t50060E80101DE576d3s6
.......
root@solaris:/home# cfgadm -al -o show_FCP_dev| grep unconfig
c9::50060e80101de576,1 disk connected unconfigured unknown
c9::50060e80101de576,3 disk connected unconfigured unknown
c9::50060e80101de57f,1 disk connected unconfigured unknown
c9::50060e80101de57f,3 disk connected unconfigured unknown
c10 fc connected unconfigured unknown
c14::50060e80101de577,1 disk connected unconfigured unknown
c14::50060e80101de577,3 disk connected unconfigured unknown
c14::50060e80101de57e,1 disk connected unconfigured unknown
c14::50060e80101de57e,3 disk connected unconfigured unknown
Now we must configure and give them under vxvm management
root@solaris:/home# vxdmpadm include vxvm dmpnodename=c14t50060E80101DE577d3s2
root@solaris:/home# vxdmpadm include vxvm dmpnodename=c14t50060E80101DE577d1s2
Checking paths
root@solaris:/home# vxdmpadm getsubpaths|egrep "d3|d1"
c14t50060E80101DE577d1s2 ENABLED(A) - hus_1500_1 hus_1500 c14 -
c14t50060E80101DE57Ed1s2 ENABLED(A) - hus_1500_1 hus_1500 c14 -
c9t50060E80101DE576d1s2 ENABLED(A) - hus_1500_1 hus_1500 c9 -
c9t50060E80101DE57Fd1s2 ENABLED(A) - hus_1500_1 hus_1500 c9 -
c14t50060E80101DE577d3s2 ENABLED(A) - hus_1500_3 hus_1500 c14 -
c14t50060E80101DE57Ed3s2 ENABLED(A) - hus_1500_3 hus_1500 c14 -
c9t50060E80101DE576d3s2 ENABLED(A) - hus_1500_3 hus_1500 c9 -
c9t50060E80101DE57Fd3s2 ENABLED(A) - hus_1500_3 hus_1500 c9 -
Asking vxvm to check new added disks.
root@solaris:/home# vxdisk scandisks
root@solaris:/home# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:none - - online invalid
disk_1 auto:ZFS - - ZFS
disk_2 auto:none - - online invalid
disk_3 auto:ZFS - - ZFS
disk_4 auto:none - - online invalid
disk_5 auto:none - - online invalid
hus_1500_0 auto:cdsdisk - - online
hus_1500_1 auto - - nolabel
hus_1500_2 auto:cdsdisk - - online
hus_1500_3 auto - - nolabel
hus_1500_4 auto:cdsdisk - - online
hus_1500_5 auto:cdsdisk - - online
root@solaris:/home# vxdisk list|grep hus
hus_1500_0 auto:cdsdisk - - online
hus_1500_1 auto - - error
hus_1500_2 auto:cdsdisk - - online
hus_1500_3 auto - - error
hus_1500_4 auto:cdsdisk - - online
hus_1500_5 auto:cdsdisk - - online
cfgadm shows that our LUNs is ok:
root@solaris:/home# cfgadm -al -o show_FCP_dev
Ap_Id Type Receptacle Occupant Condition
c9 fc-fabric connected configured unknown
c9::50060e80101de576,0 disk connected configured unknown
c9::50060e80101de576,1 disk connected configured unknown
c9::50060e80101de576,2 disk connected configured unknown
c9::50060e80101de576,3 disk connected configured unknown
c9::50060e80101de576,4 disk connected configured unknown
c9::50060e80101de576,5 disk connected configured unknown
c9::50060e80101de57f,0 disk connected configured unknown
c9::50060e80101de57f,1 disk connected configured unknown
c9::50060e80101de57f,2 disk connected configured unknown
c9::50060e80101de57f,3 disk connected configured unknown
c9::50060e80101de57f,4 disk connected configured unknown
c9::50060e80101de57f,5 disk connected configured unknown
c14 fc-fabric connected configured unknown
c14::50060e80101de577,0 disk connected configured unknown
c14::50060e80101de577,1 disk connected configured unknown
c14::50060e80101de577,2 disk connected configured unknown
c14::50060e80101de577,3 disk connected configured unknown
c14::50060e80101de577,4 disk connected configured unknown
c14::50060e80101de577,5 disk connected configured unknown
c14::50060e80101de57e,0 disk connected configured unknown
c14::50060e80101de57e,1 disk connected configured unknown
c14::50060e80101de57e,2 disk connected configured unknown
c14::50060e80101de57e,3 disk connected configured unknown
c14::50060e80101de57e,4 disk connected configured unknown
c14::50060e80101de57e,5 disk connected configured unknown
Let's look paths which is true by vxvm thinking
root@solaris:/home# vxdmpadm getsubpaths|egrep "hus_1500_1|hus_1500_3"
c14t50060E80101DE577d1s2 DISABLED - hus_1500_1 hus_1500 c14 -
c14t50060E80101DE57Ed1s2 DISABLED - hus_1500_1 hus_1500 c14 -
c9t50060E80101DE576d1s2 DISABLED - hus_1500_1 hus_1500 c9 -
c9t50060E80101DE57Fd1s2 DISABLED - hus_1500_1 hus_1500 c9 -
c14t50060E80101DE577d3s2 DISABLED - hus_1500_3 hus_1500 c14 -
c14t50060E80101DE57Ed3s2 DISABLED - hus_1500_3 hus_1500 c14 -
c9t50060E80101DE576d3s2 DISABLED - hus_1500_3 hus_1500 c9 -
c9t50060E80101DE57Fd3s2 DISABLED - hus_1500_3 hus_1500 c9 -
Removing disks from vxdisk
root@solaris:/home# vxdisk rm hus_1500_1
And remove them from vxvm
root@solaris:/home# vxdmpadm exclude vxvm dmpnodename=c14t50060E80101DE577d1s2
root@solaris:/home# vxdmpadm exclude vxvm dmpnodename=c14t50060E80101DE577d3s2
Switching disks to offline, after that they must be marked as unusable
root@solaris:/home# luxadm -e offline /dev/rdsk/c9t50060E80101DE576d1s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c9t50060E80101DE57Fd1s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c14t50060E80101DE577d1s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c14t50060E80101DE57Ed1s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c9t50060E80101DE576d3s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c9t50060E80101DE57Fd3s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c14t50060E80101DE577d3s0
root@solaris:/home# luxadm -e offline /dev/rdsk/c14t50060E80101DE57Ed3s0
root@solaris:/home# cfgadm -al -o show_FCP_dev
Ap_Id Type Receptacle Occupant Condition
c9 fc-fabric connected configured unknown
c9::50060e80101de576,0 disk connected configured unknown
c9::50060e80101de576,1 disk connected configured unusable
c9::50060e80101de576,2 disk connected configured unknown
c9::50060e80101de576,3 disk connected configured unusable
c9::50060e80101de576,4 disk connected configured unknown
c9::50060e80101de576,5 disk connected configured unknown
c9::50060e80101de57f,0 disk connected configured unknown
c9::50060e80101de57f,1 disk connected configured unusable
c9::50060e80101de57f,2 disk connected configured unknown
c9::50060e80101de57f,3 disk connected configured unusable
c9::50060e80101de57f,4 disk connected configured unknown
c9::50060e80101de57f,5 disk connected configured unknown
c10 fc connected unconfigured unknown
c14 fc-fabric connected configured unknown
c14::50060e80101de577,0 disk connected configured unknown
c14::50060e80101de577,1 disk connected configured unusable
c14::50060e80101de577,2 disk connected configured unknown
c14::50060e80101de577,3 disk connected configured unusable
c14::50060e80101de577,4 disk connected configured unknown
c14::50060e80101de577,5 disk connected configured unknown
c14::50060e80101de57e,0 disk connected configured unknown
c14::50060e80101de57e,1 disk connected configured unusable
c14::50060e80101de57e,2 disk connected configured unknown
c14::50060e80101de57e,3 disk connected configured unusable
c14::50060e80101de57e,4 disk connected configured unknown
c14::50060e80101de57e,5 disk connected configured unknown
Removing them from cfgadm
root@solaris:/home# cfgadm -c unconfigure -o unusable_SCSI_LUN c9::50060e80101de576
root@solaris:/home# cfgadm -c unconfigure -o unusable_SCSI_LUN c9::50060e80101de57f
root@solaris:/home# cfgadm -c unconfigure -o unusable_SCSI_LUN c14::50060e80101de577
root@solaris:/home# cfgadm -c unconfigure -o unusable_SCSI_LUN c14::50060e80101de57e
root@solaris:/home# devfsadm -C -v
devfsadm[27275]: verbose: removing file: /dev/dsk/c14t50060E80101DE577d1s5
devfsadm[27275]: verbose: removing file: /dev/dsk/c9t50060E80101DE576d1s2
devfsadm[27275]: verbose: removing file: /dev/dsk/c9t50060E80101DE576d3s6
.......
root@solaris:/home# cfgadm -al -o show_FCP_dev| grep unconfig
c9::50060e80101de576,1 disk connected unconfigured unknown
c9::50060e80101de576,3 disk connected unconfigured unknown
c9::50060e80101de57f,1 disk connected unconfigured unknown
c9::50060e80101de57f,3 disk connected unconfigured unknown
c10 fc connected unconfigured unknown
c14::50060e80101de577,1 disk connected unconfigured unknown
c14::50060e80101de577,3 disk connected unconfigured unknown
c14::50060e80101de57e,1 disk connected unconfigured unknown
c14::50060e80101de57e,3 disk connected unconfigured unknown
Now we must configure and give them under vxvm management
root@solaris:/home# vxdmpadm include vxvm dmpnodename=c14t50060E80101DE577d3s2
root@solaris:/home# vxdmpadm include vxvm dmpnodename=c14t50060E80101DE577d1s2
Checking paths
root@solaris:/home# vxdmpadm getsubpaths|egrep "d3|d1"
c14t50060E80101DE577d1s2 ENABLED(A) - hus_1500_1 hus_1500 c14 -
c14t50060E80101DE57Ed1s2 ENABLED(A) - hus_1500_1 hus_1500 c14 -
c9t50060E80101DE576d1s2 ENABLED(A) - hus_1500_1 hus_1500 c9 -
c9t50060E80101DE57Fd1s2 ENABLED(A) - hus_1500_1 hus_1500 c9 -
c14t50060E80101DE577d3s2 ENABLED(A) - hus_1500_3 hus_1500 c14 -
c14t50060E80101DE57Ed3s2 ENABLED(A) - hus_1500_3 hus_1500 c14 -
c9t50060E80101DE576d3s2 ENABLED(A) - hus_1500_3 hus_1500 c9 -
c9t50060E80101DE57Fd3s2 ENABLED(A) - hus_1500_3 hus_1500 c9 -
Asking vxvm to check new added disks.
root@solaris:/home# vxdisk scandisks
root@solaris:/home# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:none - - online invalid
disk_1 auto:ZFS - - ZFS
disk_2 auto:none - - online invalid
disk_3 auto:ZFS - - ZFS
disk_4 auto:none - - online invalid
disk_5 auto:none - - online invalid
hus_1500_0 auto:cdsdisk - - online
hus_1500_1 auto - - nolabel
hus_1500_2 auto:cdsdisk - - online
hus_1500_3 auto - - nolabel
hus_1500_4 auto:cdsdisk - - online
hus_1500_5 auto:cdsdisk - - online
Comments
Post a Comment