首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ProLiant DL360p Gen8 + P421 + D2700外壳+ hpsa -看不到逻辑磁盘设备(Ubuntu14.04)

ProLiant DL360p Gen8 + P421 + D2700外壳+ hpsa -看不到逻辑磁盘设备(Ubuntu14.04)
EN

Server Fault用户
提问于 2016-03-22 12:37:24
回答 1查看 672关注 0票数 1

我继承了一个带有两个智能阵列控制器的ProLiant DL360p Gen8:

代码语言:javascript
复制
# lspci -d '103c:323b' -k
02:00.0 RAID bus controller: Hewlett-Packard Company Smart Array Gen8 Controllers (rev 01)
        Subsystem: Hewlett-Packard Company P420i
        Kernel driver in use: hpsa
04:00.0 RAID bus controller: Hewlett-Packard Company Smart Array Gen8 Controllers (rev 01)
        Subsystem: Hewlett-Packard Company P421
        Kernel driver in use: hpsa

显然,P421控制器有一个D2700外壳,其中插入了一组配置为RAID6的SAS驱动器:

代码语言:javascript
复制
# hpssacli ctrl slot=1 show config                                                                                                                                                      
Smart Array P421 in Slot 1

   StorageWorks D2700 at Port 2E, Box 1, OK
   array A (SAS, Unused Space: 0  MB)

      logicaldrive 1 (19.1 TB, RAID 6, OK)

      physicaldrive 2E:1:1 (port 2E:box 1:bay 1, SAS, 1 TB, OK)
      physicaldrive 2E:1:2 (port 2E:box 1:bay 2, SAS, 1 TB, OK)
      physicaldrive 2E:1:3 (port 2E:box 1:bay 3, SAS, 1 TB, OK)
      physicaldrive 2E:1:4 (port 2E:box 1:bay 4, SAS, 1 TB, OK)
      physicaldrive 2E:1:5 (port 2E:box 1:bay 5, SAS, 1 TB, OK)
      physicaldrive 2E:1:6 (port 2E:box 1:bay 6, SAS, 1 TB, OK)
      physicaldrive 2E:1:7 (port 2E:box 1:bay 7, SAS, 1 TB, OK)
      physicaldrive 2E:1:8 (port 2E:box 1:bay 8, SAS, 1 TB, OK)
      physicaldrive 2E:1:9 (port 2E:box 1:bay 9, SAS, 1 TB, OK)
      physicaldrive 2E:1:10 (port 2E:box 1:bay 10, SAS, 1 TB, OK)
      physicaldrive 2E:1:11 (port 2E:box 1:bay 11, SAS, 1 TB, OK)
      physicaldrive 2E:1:12 (port 2E:box 1:bay 12, SAS, 1 TB, OK)
      physicaldrive 2E:1:13 (port 2E:box 1:bay 13, SAS, 1 TB, OK)
      physicaldrive 2E:1:14 (port 2E:box 1:bay 14, SAS, 1 TB, OK)
      physicaldrive 2E:1:15 (port 2E:box 1:bay 15, SAS, 1 TB, OK)
      physicaldrive 2E:1:16 (port 2E:box 1:bay 16, SAS, 1 TB, OK)
      physicaldrive 2E:1:17 (port 2E:box 1:bay 17, SAS, 1 TB, OK)
      physicaldrive 2E:1:18 (port 2E:box 1:bay 18, SAS, 1 TB, OK)
      physicaldrive 2E:1:19 (port 2E:box 1:bay 19, SAS, 1 TB, OK)
      physicaldrive 2E:1:20 (port 2E:box 1:bay 20, SAS, 1 TB, OK)
      physicaldrive 2E:1:21 (port 2E:box 1:bay 21, SAS, 1 TB, OK)
      physicaldrive 2E:1:22 (port 2E:box 1:bay 22, SAS, 1 TB, OK)
      physicaldrive 2E:1:23 (port 2E:box 1:bay 23, SAS, 1 TB, OK)
      physicaldrive 2E:1:24 (port 2E:box 1:bay 24, SAS, 1 TB, OK, spare)
      physicaldrive 2E:1:25 (port 2E:box 1:bay 25, SAS, 1 TB, OK, spare)
[...]

但是,配置的逻辑驱动器没有显示在SCSI子系统中:

代码语言:javascript
复制
# lsscsi -g
[2:0:0:0]    disk    HP       LOGICAL VOLUME   6.34  /dev/sda   /dev/sg1 
[2:3:0:0]    storage HP       P420i            6.34  -          /dev/sg0 
[3:0:0:0]    disk    HP       LOGICAL VOLUME   6.34  -          /dev/sg3 
[3:3:0:0]    storage HP       P421             6.34  -          /dev/sg2 

逻辑驱动器最初处于失败状态,我通过以下方式重新启用了该状态:

代码语言:javascript
复制
# hpssacli ctrl slot=1 ld 1 modify reenable

在此之后,我认为驱动器将出现在系统中,但它没有显示( dmesg中也没有新消息)。

我还做了一次扫描:

代码语言:javascript
复制
# echo 1 >/sys/class/scsi_host/host2/rescan
# echo 1 >/sys/class/scsi_host/host3/rescan

没有效果。

我是否遗漏了一个基本步骤(我还没有重新启动服务器/附件.)?

代码语言:javascript
复制
# fdisk -l
Disk /dev/sda: 100.0 GB, 99994337280 bytes
255 heads, 63 sectors/track, 12156 cylinders, total 195301440 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk identifier: 0x0005a4c4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *         512      500223      249856   83  Linux
/dev/sda2          500734   195300863    97400065    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5          500736   195300863    97400064   8e  Linux LVM

Disk /dev/mapper/sys1--vg-root: 31.0 GB, 31016878080 bytes
255 heads, 63 sectors/track, 3770 cylinders, total 60579840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/sys1--vg-swap_1: 68.7 GB, 68681728000 bytes
255 heads, 63 sectors/track, 8350 cylinders, total 134144000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk identifier: 0x00000000

hpssacli ctrl all show config defailt 这里.

EN

回答 1

Server Fault用户

回答已采纳

发布于 2016-03-22 13:18:20

数组最初的“失败”是什么?这是我想知道在你写问题之前发生了什么的例子之一。

代码语言:javascript
复制
[3:0:0:0]    disk    HP       LOGICAL VOLUME   6.34  -          /dev/sg3 

你的D 2700‘S逻辑驱动器在那里。也许dmesg | tail会按照modify reenable命令向您显示重扫描信息。我可以肯定地说,reenable开关不是常用的。它不需要在正常操作中使用。所以:

  • 为什么数组失败了?D2700是物理上断开的吗?
  • 你想把这个装在哪里?在/etc/fstab中查看是否有一个挂载点等待这个逻辑驱动器。
  • 重新启动(或者帮助我们理解为什么您还没有重新启动)。
票数 2
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/765293

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档