惠普服务器ssa找不到控制卡,月亮雨小组的天地-HPE SSA CLI in vmware esxi 命令行管理惠普SSA阵列卡配置...

[root@localhost:~] /opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show config    //显示所有配置和阵列卡

Dynamic Smart Array B140i in Slot 0b      ()

Port Name: 1I

Port Name: 2I

Array A (Solid State SATA, Unused Space: 0  MB)

logicaldrive 1 (894.20 GB, RAID 0, Failed)

physicaldrive 2I:0:5 (port 2I:box 0:bay 5, SATA SSD, 480 GB, OK)

physicaldrive 2I:0:6 (port 2I:box 0:bay 6, SATA SSD, 480 GB, OK)

Smart Array P440 in Slot 2                (sn: xxxxxxxxxxxxx)

Internal Drive Cage at Port 1I, Box 1, OK

Port Name: 1I

Array A (SATA, Unused Space: 0  MB)

logicaldrive 1 (7.28 TB, RAID 0, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA HDD, 4 TB, OK)

physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA HDD, 4 TB, OK)

There are several helpful commands can be used:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77# Show configuration

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show config

# Controller status

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show status

# Show detailed controller information for all controllers

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show detail

# Show detailed controller information for controller in slot 0

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 show detail

# Rescan for New Devices

/opt/smartstorageadmin/ssacli/bin/ssacli rescan

# Physical disk status

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 pd all show status

# Show detailed physical disk information

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 pd all show detail

# Logical disk status

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld all show status

# View Detailed Logical Drive Status

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 show

# Create New RAID 0 Logical Drive

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0

# Create New RAID 1 Logical Drive

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1

# Create New RAID 5 Logical Drive

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5

# Delete Logical Drive

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 delete

# Add New Physical Drive to Logical Volume

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7

# Add Spare Disks

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7

# Enable Drive Write Cache

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 modify dwc=enable

# Disable Drive Write Cache

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 modify dwc=disable

# Erase Physical Drive

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 pd 2I:1:6 modify erase

# Turn on Blink Physical Disk LED

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 modify led=on

# Turn off Blink Physical Disk LED

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 modify led=off

# Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 modify cacheratio=100/0

# Enable smart array write cache when no battery is present (No-Battery Write Cache option)

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 modify nbwc=enable

# Disable smart array cache for certain Logical Volume

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable

# Enable smart array cache for certain Logical Volume

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable

# Enable SSD Smart Path

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 array a modify ssdsmartpath=enable

# Disable SSD Smart Path

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 array a modify ssdsmartpath=disable

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
HP官网下载的磁盘阵列操作工具,直接下载,在Linux上安装使用 hpacucli、hpssacli 是HP服务器特有的阵列卡管理工具,官方提供的rpm包直接安装即可使用。hpacucli工具支持的阵列卡型号如下: Smart Array products: Smart Array 5312 Controller Smart Array 5302 Controller Smart Array 5304 Controller Smart Array 532 Controller Smart Array 5i Controller Smart Array 641 Controller Smart Array 642 Controller Smart Array 6400 Controller Smart Array 6400 EM Controller Smart Array 6i Controller Smart Array P600 Controller Smart Array P400 Controller Smart Array P400i Controller Smart Array E200 Controller Smart Array E200i Controller Smart Array P800 Controller Smart Array E500 Controller Smart Array P700m Controller Smart Array P410i Controller Smart Array P411 Controller Smart Array P212 Controller Smart Array P712m Controller Smart Array B110i SATA RAID Smart Array P812 Controller Smart Array P220i Controller Smart Array P222 Controller Smart Array P420 Controller Smart Array P420i Controller Smart Array P421 Controller Smart Array P822 Controller Smart Array P721m Controller Dynamic Smart Array B320i RAID Dynamic Smart Array B120i RAID MSA products: MSA500 Controller MSA500 G2 Controller MSA1000 Controller MSA1500 CS Controller MSA20 Controller 命令用法如下: hpacucli ctrl all show config detail 查看阵列详细信息、配置 hpacucli ctrl all show 查看所有控制器状态 hpacucli ctrl slot=0 show config detail 查看slot 0阵列信息详细状态 hpacucli ctrl slot=0 logicaldrive 2 show 逻辑磁盘信息 hpacucli ctrl slot=0 physicaldrive 1I:2:1 show(物理磁盘信息) hpacucli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4,2I:1:5,2I:1:6 raid=1+0 用3,4,5,6号盘创建一个raid1+0阵列 hpacucli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4,2I:1:5 raid=5 用3,4,5号盘创建一个raid5阵列 hpacucli ctrl slot=0 create type=ld drives=1I:1:3 raid=0 用3号盘创建一个raid0阵列 hpacucli ctrl slot=0 array B delet
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值