Re: Self-tests for any drive in enclosure always executed by drive in bay 0

Hagen Tronstedt <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <3938328.ZNvg6yEWMq@manhattan>
Christian,

Thank you for looking into this.

> This looks like a subtle bug in the SAT layer of the USB bridge.

That is, in the firmware of the enclosure device?

> Some (DATA IN?) commands commands are routed to the correct drive behind
> the SATA port multiplier but other (NON DATA?) commands are apparently not.
> 
> Please check whether other NON DATA commands work or not. For example
> change the Advanced Power Management level and then check which drive
> was affected:
> 
> smartctl -s apm,128 /dev/sdX  (min power w/o standby)
> smartctl -g apm /dev/sdX
> smartctl -s apm,254 /dev/sdX  (max performance)
> smartctl -g apm /dev/sdX
> smartctl -s apm,off /dev/sdX (APM off)
> smartctl -g apm /dev/sdX

Looks like you got it right: sdb and sdc had different APM values initially (128 and 
192, resp.). No matter which one I set, sdb takes the change (full protocoll 
attached).
Where can we go from here?

Kind regards
Hagen

------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
apm.txt (text/plain, 1.9 KB)
# smartctl -g apm /dev/sdb
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.13.0-65-generic] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

APM level is:     128 (minimum power consumption without standby)
# smartctl -s apm,254 /dev/sdb
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.13.0-65-generic] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
APM set to level 254 (maximum performance)

# smartctl -g apm /dev/sdb    
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.13.0-65-generic] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

APM level is:     254 (maximum performance)
# smartctl -g apm /dev/sdc
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.13.0-65-generic] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

APM level is:     192 (intermediate level without standby)
# smartctl -s apm,254 /dev/sdc
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.13.0-65-generic] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
APM set to level 254 (maximum performance)

# smartctl -g apm /dev/sdc
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.13.0-65-generic] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

APM level is:     192 (intermediate level without standby)
# smartctl -s apm,off /dev/sdc
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.13.0-65-generic] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
APM disabled

# smartctl -g apm /dev/sdb
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.13.0-65-generic] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

APM feature is:   Disabled
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.