Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Link rate problem of SAS HDD

3 views
Skip to first unread message

jackson wang

unread,
Feb 15, 2013, 4:03:05 AM2/15/13
to freebs...@freebsd.org
Hello,All.

I have a SAS HDD,have some demands as following:

1.Use SCSI command to get the supported link rates,ex:1.5? 3.0? or 6.0 Gb/s;
2.Get current working link rate with SCSI CMD;
3.Need to downgrade 6.0gb/s to 3.0gb/s with SCSI CMD because some RAID
card had bugs,
so speed negotiation sometimes failed;

I know many RAID cards have management tool:CLI,which could make it,
but not all system install that
tool, so using SCSI command is the only option.


PLS help to give some advices.



Thx!
_______________________________________________
freebs...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi...@freebsd.org"

Douglas Gilbert

unread,
Feb 15, 2013, 11:08:32 AM2/15/13
to jackson wang, freebs...@freebsd.org
On 13-02-15 04:02 AM, jackson wang wrote:
> Hello,All.
>
> I have a SAS HDD,have some demands as following:
>
> 1.Use SCSI command to get the supported link rates,ex:1.5? 3.0? or 6.0 Gb/s;
> 2.Get current working link rate with SCSI CMD;
> 3.Need to downgrade 6.0gb/s to 3.0gb/s with SCSI CMD because some RAID
> card had bugs,
> so speed negotiation sometimes failed;
>
> I know many RAID cards have management tool:CLI,which could make it,
> but not all system install that
> tool, so using SCSI command is the only option.

May I immodestly propose sdparm which is written for
Linux but ported to FreeBSD (Solaris and Windoze). You
will need to familiarize yourself with SAS "phy control
and discover" mode page. Then see:
http://sg.danny.cz/sg/sdparm.html

There is an example in the Examples section. The items of
interest are: Programmed minimum link rate and Programmed
maximum link rate. By changing them and resetting the disk
you constrain the following speed negotiation.

You may also be interested in my sg3_utils (for general SCSI
commands) and smp_utils (for SAS expanders) packages. They
are also ported to FreeBSD.

Doug Gilbert
0 new messages