- 论坛徽章:
- 0
|
# devfsadm -C
# scdidadm -C
# devfsadm
# scdidadm -r
# scgdevs
这些命令分别在两个节点都执行过了,情况还是这样。
当时就是删除了一台3510的logic-driver,然后重建的,db2主机使用devfsadm就识别出来了,而db1一直不能识别阵列,直到关机重启后才识别。
主机没有重启前的部分信息如下:
root@db1 #
root@db1 # devfsadm -Cv
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:a
devfsadm[19686]: verbose: removing file: /dev/dsk/c7t44d0s0
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:b
devfsadm[19686]: verbose: removing file: /dev/dsk/c7t44d0s1
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:c
devfsadm[19686]: verbose: removing file: /dev/dsk/c7t44d0s2
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:d
devfsadm[19686]: verbose: removing file: /dev/dsk/c7t44d0s3
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:e
devfsadm[19686]: verbose: removing file: /dev/dsk/c7t44d0s4
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:f
devfsadm[19686]: verbose: removing file: /dev/dsk/c7t44d0s5
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:g
devfsadm[19686]: verbose: removing file: /dev/dsk/c7t44d0s6
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:h
devfsadm[19686]: verbose: removing file: /dev/dsk/c7t44d0s7
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:a,raw
devfsadm[19686]: verbose: removing file: /dev/rdsk/c7t44d0s0
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:b,raw
devfsadm[19686]: verbose: removing file: /dev/rdsk/c7t44d0s1
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:c,raw
devfsadm[19686]: verbose: removing file: /dev/rdsk/c7t44d0s2
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:d,raw
devfsadm[19686]: verbose: removing file: /dev/rdsk/c7t44d0s3
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:e,raw
devfsadm[19686]: verbose: removing file: /dev/rdsk/c7t44d0s4
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:f,raw
devfsadm[19686]: verbose: removing file: /dev/rdsk/c7t44d0s5
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:g,raw
devfsadm[19686]: verbose: removing file: /dev/rdsk/c7t44d0s6
devfsadm[19686]: verbose: removing file: /devices/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w256000c0ffc82499,0:h,raw
devfsadm[19686]: verbose: removing file: /dev/rdsk/c7t44d0s7
root@db1 #
root@db1 #
root@db1 # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e01086bae1,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000876d1851,0
2. c6t46d0 <SUN-StorEdge3510-327R cyl 61269 alt 2 hd 64 sec 255>
/pci@8,700000/SUNW,qlc@2/fp@0,0/ssd@w266000c0ffe7d2b5,0
Specify disk (enter its number): ^D
root@db1 #
root@db1 #
root@db1 # cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 CD-ROM connected configured unknown
c1 fc-private connected configured unknown
c1::21000000876d1851 disk connected configured unknown
c1::500000e01086bae1 disk connected configured unknown
c2 scsi-bus connected configured unknown
c2::rmt/0 tape connected configured unknown
c3 scsi-bus connected unconfigured unknown
c6 fc-private connected configured unknown
c6::266000c0ffe7d2b5 disk connected configured unknown
c7 fc-private connected configured unknown
c7::256000c0ffc82499 disk connected configured unknown
root@db1 # cfgadm -c configure c7
root@db1 #luxadm -e forcelip c7
root@db1 # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e01086bae1,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000876d1851,0
2. c6t46d0 <SUN-StorEdge3510-327R cyl 61269 alt 2 hd 64 sec 255>
/pci@8,700000/SUNW,qlc@2/fp@0,0/ssd@w266000c0ffe7d2b5,0
Specify disk (enter its number): ^D
root@db1 #
root@db1 #
root@db1 # luxadm probe
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node WWN:500000e01086bae0 Device Type isk device
Logical Path:/dev/rdsk/c1t0d0s2
Node WWN:20000000876d1851 Device Type isk device
Logical Path:/dev/rdsk/c1t1d0s2
Node WWN:206000c0ff07d2b5 Device Type isk device
Logical Path:/dev/rdsk/c6t46d0s2
root@db1 #
root@db1 #
root@db1 # luxadm -e port
Found path to 3 HBA ports
/devices/pci@8,700000/SUNW,qlc@2/fp@0,0:devctl CONNECTED
/devices/pci@8,700000/SUNW,qlc@3/fp@0,0:devctl CONNECTED
/devices/pci@9,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED |
|