Centos 6.7 中 RAID 设置的设备数量错误

Centos 6.7 中 RAID 设置的设备数量错误

我刚刚用 Centos 6.7 设置了我们的一台服务器。这台机器至少有一年没用过了。我不得不设置了几次,但每次都出现问题,就是机器上的存储 RAID。它设置为 RAID10,但 Centos 似乎遇到了一些问题。

我对处理 Linux 系统上的 RAIDS 的经验很少,所以我完全陷入了困境。

这是我认为是相关部分 /var/log/messages 的输出。

我可以执行您需要的任何命令来获取更多信息。

ata8: port disabled. ignoring.
ata7.00: ATAPI: SONY    DVD RW AW-Q170A, 1.73, max UDMA/66
ata7.00: configured for UDMA/66
scsi 6:0:0:0: CD-ROM            SONY     DVD RW AW-Q170A  1.73 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 0:0:0:0: [sda] 4096-byte physical blocks
sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 1:0:0:0: [sdb] 4096-byte physical blocks
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 2:0:0:0: [sdc] 4096-byte physical blocks
sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sdc:
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 3:0:0:0: [sdd] Write Protect is off
sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sdb:
 sda:
 sdd:
sd 4:0:0:0: [sde] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 4:0:0:0: [sde] 4096-byte physical blocks
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 4:0:0:0: [sde] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 5:0:0:0: [sdf] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 5:0:0:0: [sdf] Write Protect is off
sd 5:0:0:0: [sdf] Mode Sense: 00 3a 00 00
sd 5:0:0:0: [sdf] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sde:
 sdf: sde1 sde2
sd 4:0:0:0: [sde] Attached SCSI disk
 unknown partition table
sd 3:0:0:0: [sdd] Attached SCSI disk
 unknown partition table
sd 2:0:0:0: [sdc] Attached SCSI disk
 unknown partition table
sd 0:0:0:0: [sda] Attached SCSI disk
 unknown partition table
sd 1:0:0:0: [sdb] Attached SCSI disk
 sdf1 sdf2
sd 5:0:0:0: [sdf] Attached SCSI disk
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 6:0:0:0: Attached scsi CD-ROM sr0
dracut: Scanning for dmraid devices ddf1_BOOT
dracut: Found dmraid sets:
dracut: ddf1_BOOT ddf1_STORAGE
dracut: Activating ddf1_BOOT
dracut: ERROR: ddf1: wrong # of devices in RAID set "ddf1_STORAGE" [1/2] on /dev/sdd
dracut: ERROR: ddf1: wrong # of devices in RAID set "ddf1_STORAGE" [1/2] on /dev/sda
dracut: ERROR: ddf1: wrong # of devices in RAID set "ddf1_STORAGE" [1/2] on /dev/sdc
dracut: ERROR: ddf1: wrong # of devices in RAID set "ddf1_STORAGE" [1/2] on /dev/sdb
device-mapper: ioctl: device doesn't appear to be in the dev hash table.
dracut: RAID set "ddf1_BOOT" was activated
dracut: RAID set "ddf1_BOOT" was not activated
dracut: Scanning for dmraid devices ddf1_BOOT
dracut: Found dmraid sets:
dracut: ddf1_BOOT ddf1_STORAGE
dracut: Activating ddf1_BOOT
dracut: ERROR: ddf1: wrong # of devices in RAID set "ddf1_STORAGE" [1/2] on /dev/sdd
dracut: ERROR: ddf1: wrong # of devices in RAID set "ddf1_STORAGE" [1/2] on /dev/sda
dracut: ERROR: ddf1: wrong # of devices in RAID set "ddf1_STORAGE" [1/2] on /dev/sdc
dracut: ERROR: ddf1: wrong # of devices in RAID set "ddf1_STORAGE" [1/2] on /dev/sdb
device-mapper: ioctl: device doesn't appear to be in the dev hash table.
dracut: RAID set "ddf1_BOOT" already active
dracut: RAID set "ddf1_BOOT" was not activated
dracut: Scanning devices dm-2  for LVM logical volumes vg_backup2/lv_swap vg_backup2/lv_root
dracut: inactive '/dev/vg_backup2/lv_var' [375.14 GiB] inherit
dracut: inactive '/dev/vg_backup2/lv_root' [20.00 GiB] inherit
dracut: inactive '/dev/vg_backup2/lv_home' [20.00 GiB] inherit
dracut: inactive '/dev/vg_backup2/lv_swap' [30.00 GiB] inherit
dracut: inactive '/dev/vg_backup2/lv_log' [20.00 GiB] inherit
EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts:

这里有人能够/愿意提供帮助吗?

编辑:这是一个HP ProLiant ML150 G3这里是完整日志的链接。

它有 6 个硬盘,两个 500GB 硬盘为操作系统设置为 RAID 1。

[0:0:0:0]    disk    ATA      ST2000DM001-1ER1 CC25  /dev/sda 
[1:0:0:0]    disk    ATA      ST2000DM001-1ER1 CC25  /dev/sdb 
[2:0:0:0]    disk    ATA      ST1000DM003-1CH1 CC49  /dev/sdc 
[3:0:0:0]    disk    ATA      WDC WD10EALX-009 15.0  /dev/sdd 
[4:0:0:0]    disk    ATA      ST500DM002-1BD14 KC45  /dev/sde 
[5:0:0:0]    disk    ATA      WDC WD5003ABYX-0 01.0  /dev/sdf

编辑2:dmesg 输出

编辑 3:我尝试彻底删除 RAID,然后重新创建,但没有任何结果。发生了完全相同的事情。

相关内容