我在这里挣扎。我的最终目标是在我的 PC 上组装 RAID-6 阵列,但组装一次又一次无法完成(并cat /proc/mdstat
显示有一个驱动器掉落)。现在,两个独立的驱动器都会发生这种情况。
问题是 - 我做了各种测试(重新启动 Ubuntu,甚至进入 Windows 并格式化(不是快速格式化)那里的驱动器/分区,并且驱动器没有发现任何问题)。
我怀疑这是我的 Ubuntu 安装的问题,但不知道从哪里开始查看日志文件等。
下面的一些输出(11 个驱动器 -boot + 10 x 1TB 驱动器)
erwin@erwin-ubuntu:~$ sudo smartctl -i --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/sdc -d scsi # /dev/sdc, SCSI device
/dev/sdd -d scsi # /dev/sdd, SCSI device
/dev/sde -d scsi # /dev/sde, SCSI device
/dev/sdf -d scsi # /dev/sdf, SCSI device
/dev/sdg -d scsi # /dev/sdg, SCSI device
/dev/sdh -d scsi # /dev/sdh, SCSI device
/dev/sdi -d scsi # /dev/sdi, SCSI device
/dev/sdj -d scsi # /dev/sdj, SCSI device
/dev/sdk -d scsi # /dev/sdk, SCSI device
/dev/sdl -d scsi # /dev/sdl, SCSI device
问题是sdd
(sdk
尽管它们在启动时可用),一旦我尝试在 MDADM 上进行组装,几个小时后,驱动器就会脱落,并且不再由gparted
或fdisk
等报告为可用。
erwin@erwin-ubuntu:~$ sudo fdisk /dev/sdd
fdisk: unable to read /dev/sdd: Input/output error
捕获工作驱动器
erwin@erwin-ubuntu:~$ sudo smartctl -i /dev/sdb
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.0-14-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.11
Device Model: ST31000340AS
Serial Number: 9QJ0MD9F
LU WWN Device Id: 5 000c50 00cca6f07
Firmware Version: SD15
User Capacity: 1,000,203,804,160 bytes [1.00 TB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Sat Dec 17 10:59:13 2011 SAST
捕获两个有问题的驱动器:
erwin@erwin-ubuntu:~$ sudo smartctl -i /dev/sdd
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.0-14-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Vendor: /6:0:0:0
Product:
User Capacity: 600,332,565,813,390,450 bytes [600 PB]
Logical block size: 774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
erwin@erwin-ubuntu:~$ sudo smartctl -i /dev/sdh
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.0-14-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Vendor: /11:0:0:
Product: 0
User Capacity: 600,332,565,813,390,450 bytes [600 PB]
Logical block size: 774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
在另一个论坛上推荐的命令lsscsi
:
erwin@erwin-ubuntu:~$ lsscsi
[0:0:0:0] disk ATA ST3500630AS 3.AA /dev/sda
[2:0:0:0] disk ATA ST31000340AS SD15 /dev/sdb
[3:0:0:0] disk ATA ST31000528AS CC38 /dev/sdc
[6:0:0:0] disk ATA ST31000340AS SD15 /dev/sdd
[7:0:0:0] disk ATA ST31000528AS CC36 /dev/sde
[8:0:0:0] disk ATA ST31000340AS SD15 /dev/sdf
[10:0:0:0] disk ATA ST31000340AS SD15 /dev/sdg
[11:0:0:0] disk ATA ST31000340AS SD15 /dev/sdh
[12:0:0:0] disk ATA ST31000340AS SD15 /dev/sdi
[13:0:0:0] disk ATA ST31000340AS SD15 /dev/sdj
[14:0:0:0] disk ATA ST31000340AS SD15 /dev/sdk
[15:0:0:0] disk ATA ST31000340AS SD15 /dev/sdl
将在重新启动后不久发布/编辑详细信息..