- 论坛徽章:
- 0
|
2008.4.24-25 xxxx单位
根据客户需求,将GS160\ES40\RA8000\EVA3000整合到一起。
与客户沟通后决定将EVA3000存储数据全部删除并重新划分为三个LUN,evadata 400GB、evadatb 400GB、evadatc 400~600GB,
1、将以前与EVA3000相连的两台ES40停机
2、将停机后的ES40上的光纤卡(每台ES40两块卡)拆下
3、将即将使用的GS160、ES40停机,将拆下的光纤卡(HP FCA2354卡)分别插上。
4、重新连接光纤线
5、开启GS160和ES40,在控制台下正常识别两块光纤卡,但是启动到Tru64操作系统后无法识别光纤卡,启动日志中提示:
Apr 24 15:20:18 es40b vmunix: Driver_support: Module emx failed to load. status:22
Apr 24 15:20:18 es40b vmunix: Driver_support: Module emx failed to load. status:22
光纤卡驱动emx未能正常加载。
在系统中执行doconfig重配内核并重启系统,无效。
6、最终解决方法如下:
登录EVA管理界面,分别点击已划分好的三个逻辑盘——>resentation——>OS Unix ID——>将0改成其他数值,如10、20...
进入主机控制台模式做如下操作:
P00>>>wwidmgr -show wwid
[0] UDID:10 WWID:01000010:6005-08b4-0010-0090-0000-f000-0047-0000 (ev:none)
[1] UDID:20 WWID:01000010:6005-08b4-0010-0090-0000-f000-004a-0000 (ev:none)
[2] UDID:30 WWID:01000010:6005-08b4-0010-0090-0000-f000-004d-0000 (ev:none)
P00>>>show dev
dga13578.13.0.1.2 $0$DGA13578 HP HSV100 3028
dga13578.15.0.1.2 $0$DGA13578 HP HSV100 3028
dga29883.13.0.1.2 $0$DGA29883 HP HSV100 3028
dga29883.15.0.1.2 $0$DGA29883 HP HSV100 3028
dga30363.13.0.1.2 $0$DGA30363 HP HSV100 3028
dga30363.15.0.1.2 $0$DGA30363 HP HSV100 3028
dgb13578.13.0.2.2 $0$DGA13578 HP HSV100 3028
dgb13578.15.0.2.2 $0$DGA13578 HP HSV100 3028
dgb29883.13.0.2.2 $0$DGA29883 HP HSV100 3028
dgb29883.15.0.2.2 $0$DGA29883 HP HSV100 3028
dgb30363.13.0.2.2 $0$DGA30363 HP HSV100 3028
dgb30363.15.0.2.2 $0$DGA30363 HP HSV100 3028
dkb0.0.0.5.1 DKB0 HSZ80 V83Z
dkb1.0.0.5.1 DKB1 HSZ80 V83Z
dkb2.0.0.5.1 DKB2 HSZ80 V83Z
dkb200.2.0.5.1 DKB200 HSZ80 V83Z
dkb201.2.0.5.1 DKB201 HSZ80 V83Z
dkb3.0.0.5.1 DKB3 HSZ80CCL V83Z
dkb4.0.0.5.1 DKB4 HSZ80 V83Z
dkc0.0.0.4.3 DKC0 COMPAQ BD0186349B 3B15
dqa0.0.0.15.0 DQA0 Compaq CRD-8402B 1.03
mkc500.5.0.4.3 MKC500 TZ89 2561
eia0.0.0.2004.1 EIA0 00-50-8B-CF-57-92
eib0.0.0.2005.1 EIB0 00-50-8B-CF-57-93
pga0.0.0.1.2 PGA0 WWN 1000-0000-c938-74d9
pgb0.0.0.2.2 PGB0 WWN 1000-0000-c938-7134
pka0.7.0.1.0 PKA0 SCSI Bus ID 7 5.57
pkb0.6.0.5.1 PKB0 SCSI Bus ID 6 5.57
pkc0.7.0.4.3 PKC0 SCSI Bus ID 7 5.57
P00>>>wwidmgr -quickset -udid 10
Disk assignment and reachability after next initialization:
6005-08b4-0010-0090-0000-f000-0047-0000
via adapter: via fc nport: connected:
dga10.1001.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f8d No
dga10.1002.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f88 Yes
dgb10.1003.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f89 Yes
dgb10.1004.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f8c No
P00>>>
P00>>>wwidmgr -quickset -udid 20
Disk assignment and reachability after next initialization:
6005-08b4-0010-0090-0000-f000-0047-0000
via adapter: via fc nport: connected:
dga10.1001.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f8d No
dga10.1002.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f88 Yes
dgb10.1003.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f89 Yes
dgb10.1004.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f8c No
6005-08b4-0010-0090-0000-f000-004a-0000
via adapter: via fc nport: connected:
dga20.1001.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f8d Yes
dga20.1002.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f88 No
dgb20.1003.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f89 No
dgb20.1004.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f8c Yes
P00>>>
P00>>>wwidmgr -quickset -udid 30
Disk assignment and reachability after next initialization:
6005-08b4-0010-0090-0000-f000-0047-0000
via adapter: via fc nport: connected:
dga10.1001.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f8d No
dga10.1002.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f88 Yes
dgb10.1003.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f89 Yes
dgb10.1004.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f8c No
6005-08b4-0010-0090-0000-f000-004a-0000
via adapter: via fc nport: connected:
dga20.1001.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f8d Yes
dga20.1002.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f88 No
dgb20.1003.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f89 No
dgb20.1004.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f8c Yes
6005-08b4-0010-0090-0000-f000-004d-0000
via adapter: via fc nport: connected:
dga30.1001.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f8d No
dga30.1002.0.1.2 pga0.0.0.1.2 5000-1fe1-5001-4f88 Yes
dgb30.1003.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f89 Yes
dgb30.1004.0.2.2 pgb0.0.0.2.2 5000-1fe1-5001-4f8c No
P00>>>wwidmgr -show wwid
[0] UDID:10 WWID:01000010:6005-08b4-0010-0090-0000-f000-0047-0000 (ev:wwid0)
[1] UDID:20 WWID:01000010:6005-08b4-0010-0090-0000-f000-004a-0000 (ev:wwid1)
[2] UDID:30 WWID:01000010:6005-08b4-0010-0090-0000-f000-004d-0000 (ev:wwid2)
P00>>>show dev
dga13578.13.0.1.2 $0$DGA13578 HP HSV100 3028
dga13578.15.0.1.2 $0$DGA13578 HP HSV100 3028
dga29883.13.0.1.2 $0$DGA29883 HP HSV100 3028
dga29883.15.0.1.2 $0$DGA29883 HP HSV100 3028
dga30363.13.0.1.2 $0$DGA30363 HP HSV100 3028
dga30363.15.0.1.2 $0$DGA30363 HP HSV100 3028
dgb13578.13.0.2.2 $0$DGA13578 HP HSV100 3028
dgb13578.15.0.2.2 $0$DGA13578 HP HSV100 3028
dgb29883.13.0.2.2 $0$DGA29883 HP HSV100 3028
dgb29883.15.0.2.2 $0$DGA29883 HP HSV100 3028
dgb30363.13.0.2.2 $0$DGA30363 HP HSV100 3028
dgb30363.15.0.2.2 $0$DGA30363 HP HSV100 3028
dkb0.0.0.5.1 DKB0 HSZ80 V83Z
dkb1.0.0.5.1 DKB1 HSZ80 V83Z
dkb2.0.0.5.1 DKB2 HSZ80 V83Z
dkb200.2.0.5.1 DKB200 HSZ80 V83Z
dkb201.2.0.5.1 DKB201 HSZ80 V83Z
dkb3.0.0.5.1 DKB3 HSZ80CCL V83Z
dkb4.0.0.5.1 DKB4 HSZ80 V83Z
dkc0.0.0.4.3 DKC0 COMPAQ BD0186349B 3B15
dqa0.0.0.15.0 DQA0 Compaq CRD-8402B 1.03
mkc500.5.0.4.3 MKC500 TZ89 2561
eia0.0.0.2004.1 EIA0 00-50-8B-CF-57-92
eib0.0.0.2005.1 EIB0 00-50-8B-CF-57-93
pga0.0.0.1.2 PGA0 WWN 1000-0000-c938-74d9
pgb0.0.0.2.2 PGB0 WWN 1000-0000-c938-7134
pka0.7.0.1.0 PKA0 SCSI Bus ID 7 5.57
pkb0.6.0.5.1 PKB0 SCSI Bus ID 6 5.57
pkc0.7.0.4.3 PKC0 SCSI Bus ID 7 5.57
P00>>>init
P00>>>wwidmgr -show wwid
[0] UDID:10 WWID:01000010:6005-08b4-0010-0090-0000-f000-0047-0000 (ev:wwid0)
[1] UDID:20 WWID:01000010:6005-08b4-0010-0090-0000-f000-004a-0000 (ev:wwid1)
[2] UDID:30 WWID:01000010:6005-08b4-0010-0090-0000-f000-004d-0000 (ev:wwid2)
P00>>>show dev
dga10.1001.0.1.2 $1$DGA10 HP HSV100 3028
dga10.1002.0.1.2 $1$DGA10 HP HSV100 3028
dga20.1001.0.1.2 $1$DGA20 HP HSV100 3028
dga20.1002.0.1.2 $1$DGA20 HP HSV100 3028
dga30.1001.0.1.2 $1$DGA30 HP HSV100 3028
dga30.1002.0.1.2 $1$DGA30 HP HSV100 3028
dgb10.1003.0.2.2 $1$DGA10 HP HSV100 3028
dgb10.1004.0.2.2 $1$DGA10 HP HSV100 3028
dgb20.1003.0.2.2 $1$DGA20 HP HSV100 3028
dgb20.1004.0.2.2 $1$DGA20 HP HSV100 3028
dgb30.1003.0.2.2 $1$DGA30 HP HSV100 3028
dgb30.1004.0.2.2 $1$DGA30 HP HSV100 3028
dkb0.0.0.5.1 DKB0 HSZ80 V83Z
dkb1.0.0.5.1 DKB1 HSZ80 V83Z
dkb2.0.0.5.1 DKB2 HSZ80 V83Z
dkb200.2.0.5.1 DKB200 HSZ80 V83Z
dkb201.2.0.5.1 DKB201 HSZ80 V83Z
dkb3.0.0.5.1 DKB3 HSZ80CCL V83Z
dkb4.0.0.5.1 DKB4 HSZ80 V83Z
dkc0.0.0.4.3 DKC0 COMPAQ BD0186349B 3B15
dqa0.0.0.15.0 DQA0 Compaq CRD-8402B 1.03
mkc500.5.0.4.3 MKC500 TZ89 2561
eia0.0.0.2004.1 EIA0 00-50-8B-CF-57-92
eib0.0.0.2005.1 EIB0 00-50-8B-CF-57-93
pga0.0.0.1.2 PGA0 WWN 1000-0000-c938-74d9
pgb0.0.0.2.2 PGB0 WWN 1000-0000-c938-7134
pka0.7.0.1.0 PKA0 SCSI Bus ID 7 5.57
pkb0.6.0.5.1 PKB0 SCSI Bus ID 6 5.57
pkc0.7.0.4.3 PKC0 SCSI Bus ID 7 5.57
P00>>>
P00>>>show b*
boot_dev dkb0.0.0.5.1
boot_file
boot_osflags A
boot_reset ON
bootbios
bootdef_dev dkb0.0.0.5.1
booted_dev
booted_file
booted_osflags
P00>>>show dev
dga10.1001.0.1.2 $1$DGA10 HP HSV100 3028
dga10.1002.0.1.2 $1$DGA10 HP HSV100 3028
dga20.1001.0.1.2 $1$DGA20 HP HSV100 3028
dga20.1002.0.1.2 $1$DGA20 HP HSV100 3028
dga30.1001.0.1.2 $1$DGA30 HP HSV100 3028
dga30.1002.0.1.2 $1$DGA30 HP HSV100 3028
dgb10.1003.0.2.2 $1$DGA10 HP HSV100 3028
dgb10.1004.0.2.2 $1$DGA10 HP HSV100 3028
dgb20.1003.0.2.2 $1$DGA20 HP HSV100 3028
dgb20.1004.0.2.2 $1$DGA20 HP HSV100 3028
dgb30.1003.0.2.2 $1$DGA30 HP HSV100 3028
dgb30.1004.0.2.2 $1$DGA30 HP HSV100 3028
dkb0.0.0.5.1 DKB0 HSZ80 V83Z
dkb1.0.0.5.1 DKB1 HSZ80 V83Z
dkb2.0.0.5.1 DKB2 HSZ80 V83Z
dkb200.2.0.5.1 DKB200 HSZ80 V83Z
dkb201.2.0.5.1 DKB201 HSZ80 V83Z
dkb3.0.0.5.1 DKB3 HSZ80CCL V83Z
dkb4.0.0.5.1 DKB4 HSZ80 V83Z
dkc0.0.0.4.3 DKC0 COMPAQ BD0186349B 3B15
dqa0.0.0.15.0 DQA0 Compaq CRD-8402B 1.03
mkc500.5.0.4.3 MKC500 TZ89 2561
eia0.0.0.2004.1 EIA0 00-50-8B-CF-57-92
eib0.0.0.2005.1 EIB0 00-50-8B-CF-57-93
pga0.0.0.1.2 PGA0 WWN 1000-0000-c938-74d9
pgb0.0.0.2.2 PGB0 WWN 1000-0000-c938-7134
pka0.7.0.1.0 PKA0 SCSI Bus ID 7 5.57
pkb0.6.0.5.1 PKB0 SCSI Bus ID 6 5.57
pkc0.7.0.4.3 PKC0 SCSI Bus ID 7 5.57
P00>>>
至此完成EVA3000上逻辑盘的wwid设置。
使用genvmunix内核启动操作系统,顺利识别光纤卡和EVA3000上的逻辑盘,重新编译vmunix内核。
P00>>>b -fi genvmunix
gs160a#cd /usr/sys/conf
gs160a#cp GS160A GS160A.SAVE
gs160a#doconfig
gs160a#cp /sys/GS160A/vmunix /vmunix
gs160a#shutdown -r now
对于ES40使用了另一种内核编译方式
es40b#vi ES40B
将config_driver emx加入到文件里
es40b#cp /vmunix /vmunix.save
es40b#doconfig -c ES40B
es40b#cp /sys/ES40B/vmunix /vmunix
Building the Kernel to Add Support for a New Device
System Administrator.pdf 156页
>>> boot -fi "/genvmunix"
install the hardware and boot from generic kernel, then
#sizer -n /tmp/hostname
compare /tmp/hostname and /usr/sys/conf/hostname
#vi /usr/sys/conf/hostname
#doconfig -c
#mv /usr/sys/hostname/vmunix /vmunix
#reboot
es40b#hwmgr -view dev
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------
18: /dev/dmapi/dmapi
85: /dev/cport/scp0 HSZ80CCL bus-0-targ-0-lun-3
86: /dev/disk/dsk1c DEC HSZ80 bus-0-targ-0-lun-0
87: /dev/disk/dsk2c DEC HSZ80 bus-0-targ-0-lun-1
88: /dev/disk/dsk3c DEC HSZ80 bus-0-targ-0-lun-2
89: /dev/disk/dsk4c DEC HSZ80 bus-0-targ-0-lun-4
90: /dev/disk/dsk5c DEC HSZ80 bus-0-targ-2-lun-0
91: /dev/disk/dsk6c DEC HSZ80 bus-0-targ-2-lun-1
118: /dev/scp_scsi
119: /dev/kevm
154: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
170: /dev/disk/cdrom1c TOSHIBA CD-ROM XM-6302B bus-1-targ-0-lun-0
171: /dev/random
172: /dev/urandom
190: /dev/disk/dsk14c HP HSV100 IDENTIFIER=10
191: /dev/disk/dsk15c HP HSV100 IDENTIFIER=20
192: /dev/disk/dsk16c HP HSV100 IDENTIFIER=30
193: /dev/cport/scp1 HSV100 bus-3-targ-0-lun-0
es40b#disklabel -wr dsk14c
es40b#disklabel -wr dsk15c
es40b#disklabel -wr dsk16c
es40b#mkfdmn /dev/disk/dsk14c evadata_domain
es40b#mkfdmn /dev/disk/dsk15c evadatb_domain
es40b#mkfdmn /dev/disk/dsk16c evadatc_domain
es40b#mkfset evadata_domain evadata
es40b#mkfset evadatb_domain evadatb
es40b#mkfset evadatb_domain evadatc
es40b#mkdir /evadata
es40b#mkdir /evadatb
es40b#mkdir /evadatc
vi /etc/fstab 添加
evadata_domain#evadata /evadata advfs rw 0 2
evadatb_domain#evadatb /evadatb advfs rw 0 2
evadatc_domain#evadatc /evadatacadvfs rw 0 2
#mount -a
es40b#df -k
Filesystem 1024-blocks Used Available Capacity Mounted on
cluster_root#root 13457944 213701 13232520 2% /
root2_domain#root 262144 71749 185400 28% /cluster/members/member2/boot_partition
cluster_usr#usr 25643504 13083645 12503064 52% /usr
cluster_var#var 17079392 4840058 12226608 29% /var
/proc 0 0 0 100% /proc
data_domain#data 159964672 72095785 87860776 46% /data
back_domain#back 142190816 93282408 48897488 66% /app
root1_domain#root 262144 44053 213096 18% /cluster/members/member1/boot_partition
evadata_domain#evadata 419430400 16 419419736 1% /evadata
evadatb_domain#evadatb 419430400 16 419419736 1% /evadatb
evadatc_domain#evadatc 629145600 16 629131728 0% /evadatc
重启GS160,自动识别并挂载文件系统 |
|