TWS(4)
π TWS(4) β the 3ware RAID controller tea π
okay so real quick, bestie: this is the manual page for tws, from the Kernel Interfaces Manual, and honestly? it's giving "niche but iconic." let's get into it π«Ά
β¨ NAME β¨
tws β the driver for the 3ware 9750 SATA+SAS 6Gb/s RAID controller card. yes that's a lot of words, but it's literally just the driver that makes those cards go. periodt.
β¨ SYNOPSIS β¨
so there are two ways to get this driver into your life, and ngl both are easy.
way 1: compile it into the kernel β drop these lines into your kernel configuration file:
device scbus
device tws
way 2: load it as a module at boot time β put this line into loader.conf(5):
tws_load="YES"
boom. that's it. π
β¨ DESCRIPTION β¨
okay so the tws driver provides support for LSI's 3ware 9750 SATA+SAS 6Gb/s RAID controller cards. that's the whole personality.
these controllers feature the LSISAS2108 6Gb/s SAS RAID-on-Chip (ROC) β cute acronym, right? β and they come in 4- and 8-port configurations. and the feature list? she's stacked:
- supports RAID levels 0, 1, 5, 6, 10, 50 and single disk
- handles 96 SATA and/or SAS hard drives and SSDs
for further hardware information, see http://www.lsi.com/ π
π HARDWARE π
the tws driver supports the following SATA/SAS RAID controller:
- LSI's 3ware SAS 9750 series π
that's the list. short and slay.
π LOADER TUNABLES π
so these tunables can be set at the loader(8) prompt before booting the kernel, or stored in loader.conf(5). pick your fighter π
hw.tws.cam_depthβ the maximum queued CAM SIM requests for one controller. the default value is256.hw.tws.enable_msiβ this tunable enables MSI support on the controller if set to a non-zero value. the default value is0.hw.tws.queue_depthβ the maximum queued requests for one controller. (no default listed, so don't come for me π)hw.tws.use_32bit_sglsβ limit the driver to use only 32-bit SG elements regardless whether the operating system is running in 64-bit mode. the default value is0.
π¦ FILES π¦
/dev/da?β array/logical disk interface/dev/tws?β management interface
π DIAGNOSTICS π
okay listen up, this part actually matters:
whenever the driver encounters a command failure, it prints out an error code in the format "ERROR: (<error source>: <error code>):", followed by a text description of the error. so if you see that, that's your sign π
there are other error messages and warnings that the driver prints out, depending on the kinds of errors that it encounters.
and if the driver is compiled with TWS_DEBUG defined, it prints out a whole bunch of debug messages. like, a whole bunch. prepare yourself π«
πΈ SEE ALSO πΈ
π AUTHORS π
the tws driver was written by Manjunath Ranganathaiah for LSI, and this manual page was written by Xin LI <delphij@FreeBSD.org> for iXsystems, Inc. legends, honestly π«Ά
and that's the whole page, bestie! this one came from Debian, dated October 4, 2011, under the TWS(4) name β vintage but still serving πβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2010, 2011 iXsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms