Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jul 2016 19:17:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200993] camcontrol commands results in Periph destroyed on mrsas
Message-ID:  <bug-200993-8-mTgYYcERw3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200993-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200993-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200993

emz@norma.perm.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emz@norma.perm.ru

--- Comment #12 from emz@norma.perm.ru ---
Same stuff here. camcontrol identify doesn't lead to topology change, but
smartctl -a definitely does. This is reproducible on a fresh 11.[ and 10.3.

Controller:
LSI MegaRAID SAS 9341-4i

Firmware:
Product Name    : LSI MegaRAID SAS 9341-4i
Serial No       : SV62122829
FW Package Build: 24.2.1-0021

Console log:
[root@san1:/etc]# zpool status
  pool: esx
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not supp=
ort
        the features. See zpool-features(7) for details.
  scan: scrub repaired 0 in 5h40m with 0 errors on Tue Jun 28 03:27:20 2016
config:

        NAME        STATE     READ WRITE CKSUM
        esx         ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da3     ONLINE       0     0     0
            da4     ONLINE       0     0     0
          mirror-1  ONLINE       0     0     0
            da6     ONLINE       0     0     0
            da7     ONLINE       0     0     0
          mirror-2  ONLINE       0     0     0
            da9     ONLINE       0     0     0
            da10    ONLINE       0     0     0
          mirror-3  ONLINE       0     0     0
            da12    ONLINE       0     0     0
            da13    ONLINE       0     0     0
          mirror-4  ONLINE       0     0     0
            da5     ONLINE       0     0     0
            da8     ONLINE       0     0     0
          mirror-5  ONLINE       0     0     0
            da11    ONLINE       0     0     0
            da14    ONLINE       0     0     0
          mirror-6  ONLINE       0     0     0
            da15    ONLINE       0     0     0
            da16    ONLINE       0     0     0

errors: No known data errors

  pool: gamestop
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not supp=
ort
        the features. See zpool-features(7) for details.
  scan: resilvered 729M in 0h0m with 0 errors on Thu Jul  7 04:02:53 2016
config:

        NAME        STATE     READ WRITE CKSUM
        gamestop    ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da0     ONLINE       0     0     0
            da17    ONLINE       0     0     0
          mirror-1  ONLINE       0     0     0
            da18    ONLINE       0     0     0
            da19    ONLINE       0     0     0
          mirror-2  ONLINE       0     0     0
            da20    ONLINE       0     0     0
            da21    ONLINE       0     0     0
          mirror-3  ONLINE       0     0     0
            da22    ONLINE       0     0     0
            da23    ONLINE       0     0     0

errors: No known data errors

  pool: zroot
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not supp=
ort
        the features. See zpool-features(7) for details.
  scan: scrub repaired 0 in 0h1m with 0 errors on Mon Jun 27 21:21:40 2016
config:

        NAME        STATE     READ WRITE CKSUM
        zroot       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da1p3   ONLINE       0     0     0
            da2p3   ONLINE       0     0     0

errors: No known data errors
[root@san1:/etc]# smartctl -a /dev/da2
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-ALPHA5 amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D
Device Model:     ST2000NX0253
Serial Number:    S460ED5C
LU WWN Device Id: 5 000c50 08ca8b9aa
Firmware Version: SN02
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 (minor revision not indicated)
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Jul  7 03:04:27 2016 MSK
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D
SMART Status command failed: Input/output error
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabl=
ed.
Self-test execution status:      (   0) The previous self-test routine
completed
                                        without error or no self-test has e=
ver
                                        been run.
Total time to complete Offline
data collection:                (  609) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off
support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        ( 330) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x50bd) SCT Status supported.
                                        SCT Error Recovery Control supporte=
d.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED=20
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   081   063   044    Pre-fail  Always=20=
=20=20=20=20=20
-       134895728
  3 Spin_Up_Time            0x0003   092   092   000    Pre-fail  Always=20=
=20=20=20=20=20
-       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always=20=
=20=20=20=20=20
-       22
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always=20=
=20=20=20=20=20
-       8
  7 Seek_Error_Rate         0x000f   072   060   030    Pre-fail  Always=20=
=20=20=20=20=20
-       19270762
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always=20=
=20=20=20=20=20
-       624
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always=20=
=20=20=20=20=20
-       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always=20=
=20=20=20=20=20
-       22
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always=20=
=20=20=20=20=20
-       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always=20=
=20=20=20=20=20
-       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always=20=
=20=20=20=20=20
-       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always=20=
=20=20=20=20=20
-       0
190 Airflow_Temperature_Cel 0x0022   068   067   040    Old_age   Always=20=
=20=20=20=20=20
-       32 (Min/Max 20/33)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always=20=
=20=20=20=20=20
-       7
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always=20=
=20=20=20=20=20
-       0
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always=20=
=20=20=20=20=20
-       1280
194 Temperature_Celsius     0x0022   032   040   000    Old_age   Always=20=
=20=20=20=20=20
-       32 (0 12 0 0 0)
195 Hardware_ECC_Recovered  0x001a   005   004   000    Old_age   Always=20=
=20=20=20=20=20
-       134895728
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always=20=
=20=20=20=20=20
-       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline=
=20=20=20=20=20
-       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always=20=
=20=20=20=20=20
-       0

Read SMART Log Directory failed: Input/output error

Read SMART Error Log failed: Input/output error

Read SMART Self-test Log failed: Input/output error

Read SMART Selective Self-test Log failed: Input/output error

[root@san1:/etc]# dmesg
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-ALPHA5 #1: Thu Jun 30 22:56:33 MSK 2016
    emz@san1:/usr/obj/usr/src/sys/SAN amd64
[...]
da2 at mrsas0 bus 1 scbus1 target 7 lun 0
da2: <ATA ST2000NX0253 SN02> s/n S460ED5C detached
GEOM_MIRROR: Device swap: provider da2p2 disconnected.
[root@san1:/etc]# camcontrol rescan 1:7:0
Re-scan of 1:7:0 was successful
[root@san1:/etc]# zpool status
  pool: esx
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not supp=
ort
        the features. See zpool-features(7) for details.
  scan: scrub repaired 0 in 5h40m with 0 errors on Tue Jun 28 03:27:20 2016
config:

        NAME        STATE     READ WRITE CKSUM
        esx         ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da3     ONLINE       0     0     0
            da4     ONLINE       0     0     0
          mirror-1  ONLINE       0     0     0
            da6     ONLINE       0     0     0
            da7     ONLINE       0     0     0
          mirror-2  ONLINE       0     0     0
            da9     ONLINE       0     0     0
            da10    ONLINE       0     0     0
          mirror-3  ONLINE       0     0     0
            da12    ONLINE       0     0     0
            da13    ONLINE       0     0     0
          mirror-4  ONLINE       0     0     0
            da5     ONLINE       0     0     0
            da8     ONLINE       0     0     0
          mirror-5  ONLINE       0     0     0
            da11    ONLINE       0     0     0
            da14    ONLINE       0     0     0
          mirror-6  ONLINE       0     0     0
            da15    ONLINE       0     0     0
            da16    ONLINE       0     0     0

errors: No known data errors

  pool: gamestop
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not supp=
ort
        the features. See zpool-features(7) for details.
  scan: resilvered 729M in 0h0m with 0 errors on Thu Jul  7 04:02:53 2016
config:

        NAME        STATE     READ WRITE CKSUM
        gamestop    ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da0     ONLINE       0     0     0
            da17    ONLINE       0     0     0
          mirror-1  ONLINE       0     0     0
            da18    ONLINE       0     0     0
            da19    ONLINE       0     0     0
          mirror-2  ONLINE       0     0     0
            da20    ONLINE       0     0     0
            da21    ONLINE       0     0     0
          mirror-3  ONLINE       0     0     0
            da22    ONLINE       0     0     0
            da23    ONLINE       0     0     0

errors: No known data errors

  pool: zroot
 state: DEGRADED
status: One or more devices has been removed by the administrator.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Online the device using 'zpool online' or replace the device with
        'zpool replace'.
  scan: scrub repaired 0 in 0h1m with 0 errors on Mon Jun 27 21:21:40 2016
config:

        NAME                      STATE     READ WRITE CKSUM
        zroot                     DEGRADED     0     0     0
          mirror-0                DEGRADED     0     0     0
            da1p3                 ONLINE       0     0     0
            17040910893353730136  REMOVED      0     0     0  was /dev/da2p3

errors: No known data errors
[root@san1:/etc]# zpool online zroot da2p3
[root@san1:/etc]# zpool status
  pool: esx
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not supp=
ort
        the features. See zpool-features(7) for details.
  scan: scrub repaired 0 in 5h40m with 0 errors on Tue Jun 28 03:27:20 2016
config:

        NAME        STATE     READ WRITE CKSUM
        esx         ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da3     ONLINE       0     0     0
            da4     ONLINE       0     0     0
          mirror-1  ONLINE       0     0     0
            da6     ONLINE       0     0     0
            da7     ONLINE       0     0     0
          mirror-2  ONLINE       0     0     0
            da9     ONLINE       0     0     0
            da10    ONLINE       0     0     0
          mirror-3  ONLINE       0     0     0
            da12    ONLINE       0     0     0
            da13    ONLINE       0     0     0
          mirror-4  ONLINE       0     0     0
            da5     ONLINE       0     0     0
            da8     ONLINE       0     0     0
          mirror-5  ONLINE       0     0     0
            da11    ONLINE       0     0     0
            da14    ONLINE       0     0     0
          mirror-6  ONLINE       0     0     0
            da15    ONLINE       0     0     0
            da16    ONLINE       0     0     0

errors: No known data errors

  pool: gamestop
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not supp=
ort
        the features. See zpool-features(7) for details.
  scan: resilvered 729M in 0h0m with 0 errors on Thu Jul  7 04:02:53 2016
config:

        NAME        STATE     READ WRITE CKSUM
        gamestop    ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da0     ONLINE       0     0     0
            da17    ONLINE       0     0     0
          mirror-1  ONLINE       0     0     0
            da18    ONLINE       0     0     0
            da19    ONLINE       0     0     0
          mirror-2  ONLINE       0     0     0
            da20    ONLINE       0     0     0
            da21    ONLINE       0     0     0
          mirror-3  ONLINE       0     0     0
            da22    ONLINE       0     0     0
            da23    ONLINE       0     0     0

errors: No known data errors

  pool: zroot
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not supp=
ort
        the features. See zpool-features(7) for details.
  scan: resilvered 16K in 0h0m with 0 errors on Thu Jul  7 03:05:18 2016
config:

        NAME        STATE     READ WRITE CKSUM
        zroot       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da1p3   ONLINE       0     0     0
            da2p3   ONLINE       0     0     0

errors: No known data errors
[root@san1:/etc]#

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200993-8-mTgYYcERw3>