Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2020 20:33:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229745] ahcich: CAM status: Command timeout
Message-ID:  <bug-229745-227-VNabSdUCRQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229745-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229745-227@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=3D229745

--- Comment #56 from Wayne Willcox <wwillcox7@gmail.com> ---
Ok so it looks like I solved this for my system. I did it by reducing the
command tags.

The default was 255 and I started by just cutting that in half. I kept divi=
ding
by 2 until I got to 25.  At 50 I only had the time outs every few days.  At=
 25
I have not had an error in over a week.  I could possibly increase from 25 =
but
I won't bother.  Performance seems to be fine and the errors are stopped.

You can do this with the camcontrol tags command
        camcontrol tags       [dev_id][generic args] [-N tags] [-q] [-v]

Here are the steps.
 camcontrol devlist
<IBM-XIV ST2000NM0001  A2 BC42>    at scbus0 target 8 lun 0 (pass0,da0)
<IBM-XIV ST2000NM0001  A2 BC42>    at scbus0 target 9 lun 0 (pass1,da1)
<IBM-XIV ST2000NM0001  A2 BC42>    at scbus0 target 10 lun 0 (pass2,da2)
<IBM-XIV ST2000NM0001  A2 BC42>    at scbus0 target 11 lun 0 (pass3,da3)
<IBM-XIV ST2000NM0001  A2 BC42>    at scbus0 target 12 lun 0 (pass4,da4)
<IBM-XIV ST2000NM0001  A2 BC42>    at scbus0 target 13 lun 0 (pass5,da5)

 camcontrol tags da5=20=20=20
(pass5:mps0:0:13:0): device openings: 25

Originally mine was at 255.  This can be done on a live system and doesn't
require closing the disk and reopening it to take effect.  I just changed a=
ll
15 hdisks.

--=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-229745-227-VNabSdUCRQ>