From 40a957b3db989c9d820563005df61464f8a0312d Mon Sep 17 00:00:00 2001 From: Oleksii Samorukov Date: Wed, 24 Nov 2021 07:15:14 +0000 Subject: sysutils/smartmontools: Implement monitoring of the devices behind mrsas RAID PR: 212211 Reported by: stesin@gmail.com --- sysutils/smartmontools/files/patch-smartctl.8.in | 47 ++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 sysutils/smartmontools/files/patch-smartctl.8.in (limited to 'sysutils/smartmontools/files/patch-smartctl.8.in') diff --git a/sysutils/smartmontools/files/patch-smartctl.8.in b/sysutils/smartmontools/files/patch-smartctl.8.in new file mode 100644 index 000000000000..cc0164ddc90a --- /dev/null +++ b/sysutils/smartmontools/files/patch-smartctl.8.in @@ -0,0 +1,47 @@ +--- smartctl.8.in.orig 2020-12-21 18:34:31 UTC ++++ smartctl.8.in +@@ -478,24 +478,40 @@ this device type is for NVMe disks that are behind a R + bridge. + .Sp + .\" %ENDIF NOT OS Darwin +-.\" %IF OS Linux ++.\" %IF OS Linux FreeBSD + .I marvell + \- [Linux only] interact with SATA disks behind Marvell chip-set + controllers (using the Marvell rather than libata driver). + .Sp + .I megaraid,N +-\- [Linux only] the device consists of one or more SCSI/SAS disks connected ++\- [FreeBSD and Linux only] the device consists of one or more SCSI/SAS disks connected + to a MegaRAID controller. The non-negative integer N (in the range of 0 to +-127 inclusive) denotes which disk on the controller is monitored. ++127 inclusive) denotes which disk on the controller is monitored. This interface ++will also work for Dell PERC controllers. + Use syntax such as: ++.\" %ENDIF OS Linux FreeBSD ++.\" %IF OS ALL ++FreeBSD: ++.\" %ENDIF OS ALL ++.\" %IF OS FreeBSD + .br ++\fBsmartctl \-a \-d megaraid,2 /dev/mfi0\fP ++.br ++\fBsmartctl \-a \-d megaraid,0 /dev/mrsas0\fP ++.br ++.Sp ++.\" %ENDIF OS FreeBSD ++.\" %IF OS ALL ++Linux: ++.\" %ENDIF OS ALL ++.\" %IF OS Linux ++.br + \fBsmartctl \-a \-d megaraid,2 /dev/sda\fP + .br + \fBsmartctl \-a \-d megaraid,0 /dev/sdb\fP + .br + \fBsmartctl \-a \-d megaraid,0 /dev/bus/0\fP + .br +-This interface will also work for Dell PERC controllers. + It is possible to set RAID device name as /dev/bus/N, where N is a SCSI bus + number. + .Sp -- cgit v1.2.3