CentOS - 在 Dell Perc 5/i 卡上添加额外的硬盘 RAID 阵列

CentOS - 在 Dell Perc 5/i 卡上添加额外的硬盘 RAID 阵列

我们有一台 Dell Poweredge 2900 系统,配有 Dell Perc 5/i 卡和 4 个 SAS 硬盘,上面有 NTFS 分区。我们在这个控制器上的一个 raid 阵列上安装了 CentOS,但使用的是另一个控制器,运行正常。

我们现在尝试访问上面显示的驱动器,但它们没有在 /dev 中显示为 sdb 等。

sda 是我们安装 centos 的驱动器,它有 sda1、sda2、sda3 等。CDROM 也已被拾取。

如果我扫描 scsi 设备,则会发现 perc 和 adaptec 控制器。sg0 是 CDROM,sg2 是安装的 centos,但我认为 sg1 是另一个驱动器,但我看不到安装分区的方法,因为 /dev 中只列出了该驱动器。

谢谢。

额外信息

fdisk-l:

Disk /dev/sda: 72.7 GB, 72746008576 bytes
255 heads, 63 sectors/track, 8844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x11e3119f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64        8845    70528000   8e  Linux LVM

Disk /dev/mapper/vg_lal2server-lv_root: 34.4 GB, 34431041536 bytes
255 heads, 63 sectors/track, 4186 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_lal2server-lv_root doesn't contain a valid partition table

Disk /dev/mapper/vg_lal2server-lv_swap: 21.1 GB, 21139292160 bytes
255 heads, 63 sectors/track, 2570 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_lal2server-lv_swap doesn't contain a valid partition table

Disk /dev/mapper/vg_lal2server-lv_home: 16.6 GB, 16647192576 bytes
255 heads, 63 sectors/track, 2023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_lal2server-lv_home doesn't contain a valid partition table

这些都是来自安装硬盘,而不是附加硬盘

modprobe a320raid
FATAL: Module a320raid not found.

lsscsi-v:

[0:0:0:0]    cd/dvd  TSSTcorp CDRWDVD TS-H492C DE02  /dev/sr0
  dir: /sys/bus/scsi/devices/0:0:0:0  [/sys/devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0]
[4:0:10:0]   enclosu DP       BACKPLANE        1.05  -
  dir: /sys/bus/scsi/devices/4:0:10:0  [/sys/devices/pci0000:00/0000:00:05.0/0000:01:00.0/0000:02:0e.0/host4/target4:0:10/4:0:10:0]
[4:2:0:0]    disk    DELL     PERC 5/i         1.03  /dev/sda
  dir: /sys/bus/scsi/devices/4:2:0:0  [/sys/devices/pci0000:00/0000:00:05.0/0000:01:00.0/0000:02:0e.0/host4/target4:2:0/4:2:0:0]

。 lsmod:

Module                  Size  Used by
fuse                   66285  0
des_generic            16604  0
ecb                     2209  0
md4                     3461  0
nls_utf8                1455  0
cifs                  278370  0
autofs4                26888  4
ipt_REJECT              2383  0
ip6t_REJECT             4628  2
nf_conntrack_ipv6       8748  2
nf_defrag_ipv6         12182  1 nf_conntrack_ipv6
xt_state                1492  2
nf_conntrack           79453  2 nf_conntrack_ipv6,xt_state
ip6table_filter         2889  1
ip6_tables             19458  1 ip6table_filter
ipv6                  322029  31 ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6
bnx2                   79618  0
ses                     6859  0
enclosure               8395  1 ses
dcdbas                  9219  0
serio_raw               4818  0
sg                     30124  0
iTCO_wdt               13662  0
iTCO_vendor_support     3088  1 iTCO_wdt
i5000_edac              8867  0
edac_core              46773  3 i5000_edac
i5k_amb                 5105  0
shpchp                 33482  0
ext4                  364410  3
mbcache                 8144  1 ext4
jbd2                   88738  1 ext4
sd_mod                 39488  3
crc_t10dif              1541  1 sd_mod
sr_mod                 16228  0
cdrom                  39771  1 sr_mod
megaraid_sas           77090  2
aic79xx               129492  0
scsi_transport_spi     26151  1 aic79xx
pata_acpi               3701  0
ata_generic             3837  0
ata_piix               22846  0
radeon               1023359  1
ttm                    70328  1 radeon
drm_kms_helper         33236  1 radeon
drm                   230675  3 radeon,ttm,drm_kms_helper
i2c_algo_bit            5762  1 radeon
i2c_core               31276  4 radeon,drm_kms_helper,drm,i2c_algo_bit
dm_mirror              14101  0
dm_region_hash         12170  1 dm_mirror
dm_log                 10122  2 dm_mirror,dm_region_hash
dm_mod                 81500  11 dm_mirror,dm_log

BLKIDD:

/dev/sda1: UUID="bc4777d9-ae2c-4c58-96ea-cedb342b8338" TYPE="ext4"
/dev/sda2: UUID="j2wRZr-Mlko-QWBR-BndC-V2uN-vdhO-iKCuYu" TYPE="LVM2_member"
/dev/mapper/vg_lal2server-lv_root: UUID="9238208a-1daf-4c3c-aa9b-469f0387ebee" TYPE="ext4"
/dev/mapper/vg_lal2server-lv_swap: UUID="dbefb39c-5871-4bc9-b767-1ef18f12bd3d" TYPE="swap"
/dev/mapper/vg_lal2server-lv_home: UUID="ec698993-08b7-443e-84f0-9f9cb31c5da8" TYPE="ext4"

dmesg 显示:

megaraid_sas: fw state:c0000000
megasas: fwstate:c0000000, dis_OCR=0
scsi2 : LSI SAS based MegaRAID driver
scsi 2:0:0:0: Direct-Access     SEAGATE  ST3146855SS      S527 PQ: 0 ANSI: 5
scsi 2:0:1:0: Direct-Access     SEAGATE  ST3146855SS      S527 PQ: 0 ANSI: 5
scsi 2:0:2:0: Direct-Access     SEAGATE  ST3146855SS      S527 PQ: 0 ANSI: 5
scsi 2:0:3:0: Direct-Access     SEAGATE  ST3146855SS      S527 PQ: 0 ANSI: 5
scsi 2:0:4:0: Direct-Access     HITACHI  HUS154545VLS300  D590 PQ: 0 ANSI: 5
scsi 2:0:5:0: Direct-Access     HITACHI  HUS154545VLS300  D590 PQ: 0 ANSI: 5
scsi 2:0:8:0: Direct-Access     FUJITSU  MBA3073RC        D305 PQ: 0 ANSI: 5
scsi 2:0:9:0: Direct-Access     FUJITSU  MBA3073RC        D305 PQ: 0 ANSI: 5

即 3 个 RAID 阵列分别为 Seagate Hitatchi 和 Fujitsu 硬盘。

进一步更新

我已经安装了 megaraid 存储管理器控制台并连接到服务器。看起来两个 CentOS 安装硬盘驱动器没有问题。其他 6 个驱动器、一个 4 磁盘的 raid 阵列和一个 2 磁盘的 raid 阵列都没有问题。其他驱动器列为(外部)未配置良好。

相关内容