Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

在 Linux 上使用 ledmon/ledctl 实用程序管理 PCIE SSD 软件 RAID 驱动器的背板 LED

Summary: 戴尔技术中心中的戴尔操作系统和应用程序解决方案-Project Sputnik、Microsoft Windows、Red Hat Linux、SUSE、Ubuntu等

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

Ledmon 和 ledctl 是 Linux 的两个实用程序,可用来控制驱动器背板上的 LED 状态。  通常,驱动器背板 LED 由硬件 RAID 控制器 (PERC) 控制,但在将 Linux 上的软件 RAID (mdadm) 用于 PCIE SSD 时,ledmon 守护程序将监视驱动器阵列的状态并更新驱动器 LED 的状态。

戴尔系统在其背板上使用三 LED 状态。  活动 LED 由驱动器活动(读取或写入)引起。  戴尔使用以下模式:
离线 - 无 LED
联机 - 稳定的绿色 LED
识别 - 缓慢闪烁的绿色 LED
重建 - 快速闪烁的绿色 LED 失败
- 橙色 LED

Ledmon 使用国际闪烁模式解释 (IBPI) 规范来显示驱动器所处的状态。根据规范,驱动器 LED 指示灯可能有几种状态:
联机
离线
识别
重建
故障
故障阵列

中关键阵列
中的热备盘
最新的 ledmon 软件包随附 RHEL6.3。但是,SLES11 SP2 使用旧版本的 ledmon,必须更新该版本才能支持戴尔 PCIE SSD 设备。

Ledmon 可以作为守护程序运行,以持续监视驱动器和软件 RAID 的状态,并适当地设置驱动器 LED。  Ledctl 可用于识别背板上的单个驱动器,这在确定哪个驱动器映射到哪个驱动器托架插槽时非常有用。  在使用 ledctl 和 ledmon 的戴尔 SSD 系统上,需要加载 ipmi 驱动程序。

在 RedHat Enterprise Linux 6.3 上:
    # yum install OpenIPMI (or use rpm to install OpenIPMI/OpenIPMI-libs rpms
directly ) # chkconfig --add ipmi
# service ipmi start
# ledmon

ledctl usage:
    # ledctl locate=/dev/rssda 将闪烁驱动器 LED
# ledctl locate={ /dev/rssda /dev/rssdb } 将闪烁两个驱动器 LED
# ledctl locate_off=/dev/rssda 将关闭定位 LED

如果同时运行 ledctl 和 ledmon,ledmon 最终会覆盖 ledctl 设置。

引用:
SGPIO 规范:ftp://ftp.seagate.com/sff/SFF-8485.PDF
 IBPI 规范:ftp://ftp.seagate.com/sff/SFF-8489.PDF
 Sourceforge 项目:http://ledmon.sourceforge.net/

Article Properties


Last Published Date

21 Feb 2021

Version

3

Article Type

Solution