Opened 8 years ago

Last modified 2 years ago

#734 closed enhancement

-d megaraid,N is not implemented, FreeBSD 10.3 w/ LSI MegaRAID 9271-8i SATA/SAS and mrsas (4) driver — at Version 2

Reported by: Andrii Stesin Owned by:
Priority: minor Milestone: Release 7.3
Component: all Version: 6.5
Keywords: megaraid freebsd Cc: Kyle Butt

Description (last modified by Christian Franke)

FreeBSD 10.3 system with LSI MegaRAID 9271-8i SATA/SAS RAID controller.

Recommended (and supported) driver for this newer controller is mrsas (4) (and old mfi (4) driver is neither supported by LSI nor actively developed, it supports new controllers in some obsolete ineffective way).

mrsas (4) gives virtual drives to the OS as devices /dev/daXX although I found that /dev/passX devices are also created (/dev/daN has corresponding /dev/passN) in case it matters.

I have
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)

I want to get S.M.A.R.T. status of an SSD which MegaRAID-assigned device ID is 12, and it is hidden under /dev/da0 virtual drive.

Now what I get:

[root@chort /]# smartctl -a /dev/da0
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               LSI
Product:              MR9271-8i
Revision:             3.46
User Capacity:        199,481,098,240 bytes [199 GB]
Logical block size:   512 bytes
>> 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.
[root@chort /]# 
[root@chort /]# smartctl -a /dev/pass0
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               LSI
Product:              MR9271-8i
Revision:             3.46
User Capacity:        199,481,098,240 bytes [199 GB]
Logical block size:   512 bytes
>> 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.
[root@chort /]# 
[root@chort /]# smartctl -a -d megaraid,12 /dev/da0
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/da0: Unknown device type 'megaraid,12'
=======> VALID ARGUMENTS ARE: ata, scsi, nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, 3ware,N, hpt,L/M/N, cciss,N, areca,N/E, atacam, auto, test <=======

Use smartctl -h to get a usage summary

[root@chort /]#

Can anything be done about this? I badly need to monitor S.M.A.R.T. status of my SAS/SATA drives under the MegaRAID...

Thanks in advance!
WBR,
Andrii

Change History (2)

comment:1 by Andrii Stesin, 8 years ago

And yes, smartd does not work either.

comment:2 by Christian Franke, 8 years ago

Description: modified (diff)
Keywords: megaraid freebsd added; MegaRAID removed
Milestone: undecided
Priority: majorminor
Type: defectenhancement

There is no -d megaraid,N device type in the FreeBSD version of smartmontools because in the past it worked with the mfip.ko module and /dev/passX device (see also Supported RAID-Controllers page).

If the new driver does not support this, please provide information about its SCSI pass-through I/O-control (if any).

Note: See TracTickets for help on using tickets.