Re: Slow I/O performance on SAS1064

From: markus
Date: Fri Mar 07 2014 - 04:40:57 EST


On Thu, Mar 06, 2014 at 12:51:27PM -0800, Mark Knecht wrote:
> On Wed, Mar 5, 2014 at 1:40 PM, markus <markus@xxxxxxx> wrote:
> > On Wed, Mar 05, 2014 at 10:21:07AM -0800, Mark Knecht wrote:
> >> On Wed, Mar 5, 2014 at 9:50 AM, Markus <markus@xxxxxxx> wrote:
> >> <SNIP>
> I am not familiar with this message:
>
> "Device supports SMART and is Disabled"
>
> but there are lots of posts out there with folks asking about it.
> Possibly you can figure out what's causing smart not to turn on, get
> it turned on and get some info.
right , thats why i writing to the scsi and lsi devs , because die disk supports smart and lots of other features, but the controller driver failes to enable support for this.

Now i get that the mpt driver provides /dev/sg[0-1]

root@outpost:~# smartctl -d scsi -x /dev/sg1
smartctl 6.2 2013-07-26 r3841 [sparc64-linux-3.13.5-mar] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Logical block size: 512 bytes
Logical Unit id: 0x50000394e2380537
Serial number: 7365P4KNT
Device type: disk
Local Time is: Fri Mar 7 09:54:47 2014 CET
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
Temperature Warning: Disabled or Not Supported
Read Cache is: Enabled
Writeback Cache is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Error Counter logging not supported

Device does not support Self Test logging
Device does not support Background scan results logging
scsiPrintSasPhy Log Sense Failed [unsupported field in scsi command]

so i had read those posts and i tried but it won't work.

root@outpost:~/lsiutil# smartctl -r scsiioctl,3 -s on -d scsi /dev/sg1
smartctl 6.2 2013-07-26 r3841 [sparc64-linux-3.13.5-mar] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

[inquiry: 12 01 00 01 fc 00 ]
scsi_status=0x0, host_status=0x0, driver_status=0x0
info=0x0 duration=0 milliseconds resid=500
Incoming data, len=8:
00 00 00 00 04 00 80 83 89
[inquiry: 12 00 00 00 24 00 ]
scsi_status=0x0, host_status=0x0, driver_status=0x0
info=0x0 duration=4 milliseconds resid=0
Incoming data, len=36:
00 00 00 05 12 45 00 00 02 41 54 41 20 20 20 20 20
10 54 4f 53 48 49 42 41 20 4d 51 30 31 41 42 42 32
20 30 55 20 20
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
[mode sense(6): 1a 00 1c 00 40 00 ]
scsi_status=0x0, host_status=0x0, driver_status=0x0
info=0x0 duration=4 milliseconds resid=40
Incoming data, len=24:
00 17 00 00 08 00 00 00 00 00 00 02 00 1c 0a 08 06
10 08 00 00 00 00 00 00 00
[mode sense(6): 1a 00 5c 00 40 00 ]
scsi_status=0x0, host_status=0x0, driver_status=0x0
info=0x0 duration=0 milliseconds resid=40
Incoming data, len=24:
00 17 00 00 08 00 00 00 00 00 00 02 00 1c 0a 00 00
10 00 00 00 00 00 00 00 00
00 00 00 00 08 00 00 00 00 00 00 02 00 1c 0a 08 06
10 08 00 00 00 00 00 00 00
[mode select(6): 15 10 00 00 18 00 ]
Outgoing data, len=24:
scsi_status=0x2, host_status=0x0, driver_status=0x8
info=0x1 duration=0 milliseconds resid=24
>>> Sense buffer, len=18:
00 70 00 0b 00 00 00 00 0a 00 00 00 00 00 00 00 00
10 00 00
status=2: sense_key=b asc=0 ascq=0
unable to enable Exception control and warning [aborted command]


>
> Sorry I cannot help more.
>
> Good luck,
> Mark

Attachment: signature.asc
Description: Digital signature