分享
 
 
 

Qlogic光纤卡安装配置记录及参考

王朝other·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

Qlogic光纤卡安装配置记录及参考

Last Updated: Saturday, 2004-11-06 19:59 Eygle

Qlogic光纤卡安装配置相对简单,但是同样的,为了是主机可以识别多个LUN信息,需要修改sd.conf配置文件。

以下是我的sd.conf的配置,供参考:

#

# Copyright (c) 1992, by Sun Microsystems, Inc.

#

#ident "@(#)sd.conf 1.9 98/01/11 SMI"

name="sd" class="scsi" class_prop="atapi"

target=0 lun=0;

name="sd" class="scsi" class_prop="atapi"

target=1 lun=0;

name="sd" class="scsi" class_prop="atapi"

target=2 lun=0;

name="sd" class="scsi" class_prop="atapi"

target=3 lun=0;

name="sd" class="scsi"

target=4 lun=0;

name="sd" class="scsi"

target=5 lun=0;

name="sd" class="scsi"

target=6 lun=0;

name="sd" class="scsi"

target=8 lun=0;

name="sd" class="scsi"

target=9 lun=0;

name="sd" class="scsi"

target=10 lun=0;

name="sd" class="scsi"

target=11 lun=0;

name="sd" class="scsi"

target=12 lun=0;

name="sd" class="scsi"

target=13 lun=0;

name="sd" class="scsi"

target=14 lun=0;

name="sd" class="scsi"

target=15 lun=0;

name="sd" parent="qla2300" target=0 lun=0;

name="sd" parent="qla2300" target=0 lun=1;

name="sd" parent="qla2300" target=0 lun=2;

name="sd" parent="qla2300" target=0 lun=3;

name="sd" parent="qla2300" target=0 lun=4;

name="sd" parent="qla2300" target=0 lun=5;

name="sd" parent="qla2300" target=0 lun=6;

name="sd" parent="qla2300" target=0 lun=7;

name="sd" parent="qla2300" target=1 lun=0;

name="sd" parent="qla2300" target=1 lun=1;

name="sd" parent="qla2300" target=1 lun=2;

name="sd" parent="qla2300" target=1 lun=3;

name="sd" parent="qla2300" target=1 lun=4;

name="sd" parent="qla2300" target=1 lun=5;

name="sd" parent="qla2300" target=1 lun=6;

name="sd" parent="qla2300" target=1 lun=7;

name="sd" parent="qla2300" target=2 lun=0;

name="sd" parent="qla2300" target=3 lun=0;

name="sd" parent="qla2300" target=4 lun=0;

name="sd" parent="qla2300" target=5 lun=0;

name="sd" parent="qla2300" target=6 lun=0;

name="sd" parent="qla2300" target=7 lun=0;

name="sd" parent="qla2300" target=8 lun=0;

name="sd" parent="qla2300" target=9 lun=0;

name="sd" parent="qla2300" target=10 lun=0;

name="sd" parent="qla2300" target=11 lun=0;

name="sd" parent="qla2300" target=12 lun=0;

name="sd" parent="qla2300" target=13 lun=0;

name="sd" parent="qla2300" target=14 lun=0;

name="sd" parent="qla2300" target=15 lun=0;

name="sd" parent="qla2300" target=16 lun=0;

name="sd" parent="qla2300" target=17 lun=0;

name="sd" parent="qla2300" target=17 lun=1;

name="sd" parent="qla2300" target=17 lun=2;

name="sd" parent="qla2300" target=17 lun=3;

配置完成以后,使用reboot -- -r选项重新启动主机系统,之后可以正常发现分配给主机系统的多个LUN。

# format

Searching for disks...done

c2t2d0: configured with capacity of 133.21GB

c2t2d1: configured with capacity of 266.41GB

c2t2d2: configured with capacity of 199.81GB

c2t2d3: configured with capacity of 60.00GB

c2t2d4: configured with capacity of 1023.94MB

c2t2d5: configured with capacity of 133.21GB

c2t2d6: configured with capacity of 60.00GB

c2t2d7: configured with capacity of 1023.94MB

c2t3d0: configured with capacity of 133.21GB

c2t3d1: configured with capacity of 266.41GB

c2t3d2: configured with capacity of 199.81GB

c2t3d3: configured with capacity of 60.00GB

c2t3d4: configured with capacity of 1023.94MB

c2t3d5: configured with capacity of 133.21GB

c2t3d6: configured with capacity of 60.00GB

c2t3d7: configured with capacity of 1023.94MB

c3t2d0: configured with capacity of 133.21GB

c3t2d1: configured with capacity of 266.41GB

c3t2d2: configured with capacity of 199.81GB

c3t2d3: configured with capacity of 60.00GB

c3t2d4: configured with capacity of 1023.94MB

c3t2d5: configured with capacity of 133.21GB

c3t2d6: configured with capacity of 60.00GB

c3t2d7: configured with capacity of 1023.94MB

c3t3d0: configured with capacity of 133.21GB

c3t3d1: configured with capacity of 266.41GB

c3t3d2: configured with capacity of 199.81GB

c3t3d3: configured with capacity of 60.00GB

c3t3d4: configured with capacity of 1023.94MB

c3t3d5: configured with capacity of 133.21GB

c3t3d6: configured with capacity of 60.00GB

c3t3d7: configured with capacity of 1023.94MB

emcpower0a: configured with capacity of 133.21GB

emcpower1a: configured with capacity of 1023.94MB

emcpower2a: configured with capacity of 60.00GB

emcpower3a: configured with capacity of 133.21GB

emcpower4a: configured with capacity of 1023.94MB

emcpower5a: configured with capacity of 60.00GB

emcpower6a: configured with capacity of 199.81GB

emcpower7a: configured with capacity of 266.41GB

AVAILABLE DISK SELECTIONS:

0. c1t0d0

/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e01077a8d1,0

1. c1t1d0

/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e01077cb01,0

2. c1t2d0

/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0107823d1,0

3. c1t3d0

/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e010782471,0

4. c1t4d0

/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0107a6b21,0

5. c1t5d0

/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0107aacc1,0

6. c2t2d0

/pci@9,700000/fibre-channel@4/sd@2,0

7. c2t2d1

/pci@9,700000/fibre-channel@4/sd@2,1

8. c2t2d2

/pci@9,700000/fibre-channel@4/sd@2,2

9. c2t2d3

/pci@9,700000/fibre-channel@4/sd@2,3

10. c2t2d4

/pci@9,700000/fibre-channel@4/sd@2,4

11. c2t2d5

/pci@9,700000/fibre-channel@4/sd@2,5

12. c2t2d6

/pci@9,700000/fibre-channel@4/sd@2,6

13. c2t2d7

/pci@9,700000/fibre-channel@4/sd@2,7

14. c2t3d0

/pci@9,700000/fibre-channel@4/sd@3,0

15. c2t3d1

/pci@9,700000/fibre-channel@4/sd@3,1

16. c2t3d2

/pci@9,700000/fibre-channel@4/sd@3,2

17. c2t3d3

/pci@9,700000/fibre-channel@4/sd@3,3

18. c2t3d4

/pci@9,700000/fibre-channel@4/sd@3,4

19. c2t3d5

/pci@9,700000/fibre-channel@4/sd@3,5

20. c2t3d6

/pci@9,700000/fibre-channel@4/sd@3,6

21. c2t3d7

/pci@9,700000/fibre-channel@4/sd@3,7

22. c3t2d0

/pci@8,700000/fibre-channel@4/sd@2,0

23. c3t2d1

/pci@8,700000/fibre-channel@4/sd@2,1

24. c3t2d2

/pci@8,700000/fibre-channel@4/sd@2,2

25. c3t2d3

/pci@8,700000/fibre-channel@4/sd@2,3

26. c3t2d4

/pci@8,700000/fibre-channel@4/sd@2,4

27. c3t2d5

/pci@8,700000/fibre-channel@4/sd@2,5

28. c3t2d6

/pci@8,700000/fibre-channel@4/sd@2,6

29. c3t2d7

/pci@8,700000/fibre-channel@4/sd@2,7

30. c3t3d0

/pci@8,700000/fibre-channel@4/sd@3,0

31. c3t3d1

/pci@8,700000/fibre-channel@4/sd@3,1

32. c3t3d2

/pci@8,700000/fibre-channel@4/sd@3,2

33. c3t3d3

/pci@8,700000/fibre-channel@4/sd@3,3

34. c3t3d4

/pci@8,700000/fibre-channel@4/sd@3,4

35. c3t3d5

/pci@8,700000/fibre-channel@4/sd@3,5

36. c3t3d6

/pci@8,700000/fibre-channel@4/sd@3,6

37. c3t3d7

/pci@8,700000/fibre-channel@4/sd@3,7

38. emcpower0a

/pseudo/emcp@0

39. emcpower1a

/pseudo/emcp@1

40. emcpower2a

/pseudo/emcp@2

41. emcpower3a

/pseudo/emcp@3

42. emcpower4a

/pseudo/emcp@4

43. emcpower5a

/pseudo/emcp@5

44. emcpower6a

/pseudo/emcp@6

45. emcpower7a

/pseudo/emcp@7

Specify disk (enter its number): 1

selecting c1t1d0

[disk formatted]

FORMAT MENU:

disk - select a disk

type - select (define) a disk type

partition - select (define) a partition table

current - describe the current disk

format - format and analyze the disk

repair - repair a defective sector

label - write label to the disk

analyze - surface analysis

defect - defect list management

backup - search for backup labels

verify - read and display labels

save - save new disk/partition definitions

inquiry - show vendor, product and revision

volname - set 8-character volume name

! - execute , then return

quit

format> q

#

使用powerpath查看通路状态:

# powermt display dev=all

Pseudo name=emcpower6a

CLARiiON ID=CK200041200044 [db880-1]

Logical device ID=60060160D2A91000004B1E21C02FD911 [LUN 5]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=SP A

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1281 pci@9/fibre-channel@4 c2t2d2s0 SP A1 active alive 0 0

1281 pci@9/fibre-channel@4 c2t3d2s0 SP B1 active alive 0 0

1280 pci@8/fibre-channel@4 c3t2d2s0 SP A0 active alive 0 0

1280 pci@8/fibre-channel@4 c3t3d2s0 SP B0 active alive 0 0

Pseudo name=emcpower3a

CLARiiON ID=CK200041200044 [db880-1]

Logical device ID=60060160D2A910002070EBBEBF2FD911 [LUN 2]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP B, current=SP B

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1281 pci@9/fibre-channel@4 c2t2d5s0 SP A1 active alive 0 0

1281 pci@9/fibre-channel@4 c2t3d5s0 SP B1 active alive 0 0

1280 pci@8/fibre-channel@4 c3t2d5s0 SP A0 active alive 0 0

1280 pci@8/fibre-channel@4 c3t3d5s0 SP B0 active alive 0 0

Pseudo name=emcpower1a

CLARiiON ID=CK200041200044 [db880-1]

Logical device ID=60060160D2A9100030349D70BF2FD911 [LUN 0]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP B, current=SP B

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1281 pci@9/fibre-channel@4 c2t2d7s0 SP A1 active alive 0 0

1281 pci@9/fibre-channel@4 c2t3d7s0 SP B1 active alive 0 0

1280 pci@8/fibre-channel@4 c3t2d7s0 SP A0 active alive 0 0

1280 pci@8/fibre-channel@4 c3t3d7s0 SP B0 active alive 0 0

Pseudo name=emcpower5a

CLARiiON ID=CK200041200044 [db880-1]

Logical device ID=60060160D2A9100034F5B208C02FD911 [LUN 4]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=SP A

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1281 pci@9/fibre-channel@4 c2t2d3s0 SP A1 active alive 0 0

1281 pci@9/fibre-channel@4 c2t3d3s0 SP B1 active alive 0 0

1280 pci@8/fibre-channel@4 c3t2d3s0 SP A0 active alive 0 0

1280 pci@8/fibre-channel@4 c3t3d3s0 SP B0 active alive 0 0

Pseudo name=emcpower2a

CLARiiON ID=CK200041200044 [db880-1]

Logical device ID=60060160D2A9100050F80AA1BF2FD911 [LUN 1]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP B, current=SP B

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1281 pci@9/fibre-channel@4 c2t2d6s0 SP A1 active alive 0 0

1281 pci@9/fibre-channel@4 c2t3d6s0 SP B1 active alive 0 0

1280 pci@8/fibre-channel@4 c3t2d6s0 SP A0 active alive 0 0

1280 pci@8/fibre-channel@4 c3t3d6s0 SP B0 active alive 0 0

Pseudo name=emcpower7a

CLARiiON ID=CK200041200044 [db880-1]

Logical device ID=60060160D2A910005CD3952EC02FD911 [LUN 6]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=SP A

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1281 pci@9/fibre-channel@4 c2t2d1s0 SP A1 active alive 0 0

1281 pci@9/fibre-channel@4 c2t3d1s0 SP B1 active alive 0 0

1280 pci@8/fibre-channel@4 c3t2d1s0 SP A0 active alive 0 0

1280 pci@8/fibre-channel@4 c3t3d1s0 SP B0 active alive 0 0

Pseudo name=emcpower4a

CLARiiON ID=CK200041200044 [db880-1]

Logical device ID=60060160D2A910007EFC11F4BF2FD911 [LUN 3]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=SP A

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1281 pci@9/fibre-channel@4 c2t2d4s0 SP A1 active alive 0 0

1281 pci@9/fibre-channel@4 c2t3d4s0 SP B1 active alive 0 0

1280 pci@8/fibre-channel@4 c3t2d4s0 SP A0 active alive 0 0

1280 pci@8/fibre-channel@4 c3t3d4s0 SP B0 active alive 0 0

Pseudo name=emcpower0a

CLARiiON ID=CK200041200044 [db880-1]

Logical device ID=60060160D2A9100096E1432DC62FD911 [LUN 7]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=SP B

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

1281 pci@9/fibre-channel@4 c2t2d0s0 SP A1 active alive 0 0

1281 pci@9/fibre-channel@4 c2t3d0s0 SP B1 active alive 0 0

1280 pci@8/fibre-channel@4 c3t2d0s0 SP A0 active alive 0 0

1280 pci@8/fibre-channel@4 c3t3d0s0 SP B0 active alive 0 0

作为对比,你可以参考一下Emulex光纤卡的配置方法:

http://www.eygle.com/unix/Emulex_LightPulse_FC9002L_Solaris9_Install.htm

本文作者:

eygle,Oracle技术关注者,来自中国最大的Oracle技术论坛itpub.

www.eygle.com是作者的个人站点.你可通过Guoqiang.Gai@gmail.com来联系作者.欢迎技术探讨交流以及链接交换.

原文出处:

http://www.eygle.com/unix/Qlogic.HBA.Config.log.htm

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有