linux lsiutil raid创建,使用Lsiutil在線管理Dell(R410,R610等)內置陣列卡SAS 6i/R

使用Lsiutil管理Dell SAS 6i/R

Dell的好多型號(如R410,R610)服務器默認的RAID控制器都是SAS 6i/R ,對於這款控制器MegaCli是不能使用的。在命令行模式下想管理SAS 6i/R,需要使用Lsiutil這個工具。

Lsiutil有兩種使用方法: 菜單驅動的交互使用 和 命令行

不帶任何參數執行lsiutil,就會進入lsiutil的交互模式。在這個模式下,所有的操作都是通過文本菜單來進行的,舉例如下:

[root@Dell1950 ~]# lsiutil

LSI Logic MPT Configuration Utility, Version 1.56, March 19, 2008

1 MPT Port found

Port Name         Chip Vendor/Type/Rev    MPT Rev Firmware Rev IOC

1. /proc/mpt/ioc0    LSI Logic SAS1068E B3     105      00192f00     0

Select a device: [1-1 or 0 to quit] 1

1. Identify firmware, BIOS, and/or FCode

2. Download firmware (update the FLASH)

4. Download/erase BIOS and/or FCode (update the FLASH)

8. Scan for devices

10. Change IOC settings (interrupt coalescing)

13. Change SAS IO Unit settings

16. Display attached devices

20. Diagnostics

21. RAID actions

22. Reset bus

23. Reset target

42. Display operating system names for devices

45. Concatenate SAS firmware and NVDATA files

60. Show non-default settings

61. Restore default settings

69. Show board manufacturing information

97. Reset SAS link, HARD RESET

98. Reset SAS link

99. Reset port

e   Enable expert mode in menus

p   Enable paged mode

w   Enable logging

Main menu, select an option: [1-99 or e/p/w or 0 to quit] 21

1. Show volumes

2. Show physical disks

3. Get volume state

4. Wait for volume resync to complete

23. Replace physical disk

26. Disable drive firmware update mode

27. Enable drive firmware update mode

30. Create volume

31. Delete volume

32. Change volume settings

33. Change volume name

50. Create hot spare

99. Reset port

e   Enable expert mode in menus

p   Enable paged mode

w   Enable logging

RAID actions menu, select an option: [1-99 or e/p/w or 0 to quit] 1

1 volume is active, 2 physical disks are active

Volume 0 is Bus 0 Target 0, Type IM (Integrated Mirroring)

Volume Name:

Volume WWID: 0a09acf0a136af86

Volume State: optimal, enabled

Volume Settings: write caching disabled, auto configure, priority resync

Volume draws from Hot Spare Pools: 0

Volume Size 139392 MB, 2 Members

Primary is PhysDisk 1 (Bus 0 Target 9)

Secondary is PhysDisk 0 (Bus 0 Target 1)

RAID actions menu, select an option: [1-99 or e/p/w or 0 to quit] 0

Main menu, select an option: [1-99 or e/p/w or 0 to quit] 0

Port Name         Chip Vendor/Type/Rev    MPT Rev Firmware Rev IOC

1. /proc/mpt/ioc0    LSI Logic SAS1068E B3     105      00192f00     0

Select a device: [1-1 or 0 to quit] 0

命令行模式舉例如下:

lsiutil –p1 –a 21,1,0,0,0       和上邊菜單操作一樣,只不過不用手動去選擇菜單項了

lsiutil -p 1 -i –s 顯示端口1的設置和連接的設備

lsiutil –s 顯示所有端口上連接的設備

lsiutil -p 2 -l 1 強制HBA卡端口2連接速度為1Gb

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值