Difference between revisions of "Buffalo TeraStation TS5400"
Latest revision as of 16:43, 1 December 2019
The TeraStation TS5400 is a consumer network attached storage (NAS) unit manufactured by Buffalo Technology from around 2012. The official firmware appears to be updated by Buffalo even after 8 years since its release (links below).
This unit has the following hardware specs:
|CPU||Intel Atom D2550 @ 1.86GHz|
|RAM||1x 2GB DDR3 1066MHz SODIMM|
|Chipset||Intel I/O Controller Hub 10 (ICH10) family|
|Disk||4x SATA II (revision 1.0a), AHCI|
|Network||2x Intel 82574L Gigabit|
|USB||2x USB 2.0, and 2x USB 3.0|
|Serial||1 rear serial port|
|Video||1 VGA output|
The low powered Atom CPU is passively cooled. The single 2GB DDR3 SODIMM memory module appears to be upgradable and is fortunately not soldered on. Up to four SATA disks are connected via a 4x PCI-e daughter board and are limited to 3GBit/s because it is only SATA II. It can boot from either USB or HDD and the option is selectable via the on-board switch and cannot be changed in the BIOS menu. Using a USB SD card reader, the unit can boot into Linux using a SD card.
The motherboard appears to be manufactured by USI and is called SUGI. Full dmidecode output can be seen at https://paste.steamr.com/view/dd2bebf4.
System benchmark results can be found at Benchmark for Buffalo Terastation TS5400.
I am surprised to pick up a unit for less than $80 with shipping from Ebay after 8 years since its release considering the unit cost well over $1000 originally.
Using CentOS 8 with ZFS 0.8.2, write speeds to a striped 2x 8TB SATA ZFS pool was about 200mb/s.
Sequential samba write speeds were at ~83mb/s and read speeds maxed out the gigabit connection at ~108MB/s. NFS write speeds were slightly better at almost 90mb/s.
ZFS recv seems to sustain ~60mb/s before
nc hits 100% CPU. (Initially 33.5mb/s, 584GB/5hr, but this is because of a slow source).
Utilizes IT8721 but kernel module needs to be patched for it to function. BIOS appears to disable power if no drives are connected on start up and GPIO control is required to enable power afterwards.
Front LCD Display
The front LCD display is controlled using the second serial port at 38400 baud. It seems like the BIOS actually communicates with the LCD in order to control messages that appear during POST.
There is a python library that can interface with the LCD display but the documentation is lacking.
LCD messages are controlled by writing an 8-bit value to
0x32), where each bit corresponds to:
1 link speed 2 disk status 4 hostname + ip 8 Unknown (all dashes) 16 date time 32 boot message 64 Custom Message? 128 Unknown (blank)
The example code from the Python library sets the bitmask to
0x3F to show everything except the boot message. I use
0x34 to only show hostname, date, and a custom message.
lm_sensors and run
sensors-detect. It should detect both
root@bnas:~# sensors coretemp-isa-0000 Adapter: ISA adapter Core 0: +45.0°C (crit = +100.0°C) Core 1: +44.0°C (crit = +100.0°C) it8721-isa-0a10 Adapter: ISA adapter in0: +3.04 V (min = +0.74 V, max = +2.88 V) ALARM in1: +2.80 V (min = +2.32 V, max = +0.64 V) ALARM in2: +1.99 V (min = +1.54 V, max = +0.01 V) ALARM +3.3V: +3.26 V (min = +2.02 V, max = +0.89 V) ALARM in4: +1.19 V (min = +2.33 V, max = +0.12 V) ALARM in5: +2.22 V (min = +2.66 V, max = +1.32 V) ALARM in6: +1.45 V (min = +2.32 V, max = +0.78 V) ALARM 3VSB: +3.26 V (min = +3.41 V, max = +0.31 V) ALARM Vbat: +2.83 V fan1: 2076 RPM (min = 10 RPM) fan2: 0 RPM (min = 14 RPM) fan3: 0 RPM (min = 31 RPM) fan4: 0 RPM (min = -1 RPM) temp1: -70.0°C (low = +0.0°C, high = +61.0°C) sensor = thermal diode temp2: -70.0°C (low = +111.0°C, high = -82.0°C) ALARM sensor = thermal diode temp3: +28.0°C (low = +54.0°C, high = -42.0°C) ALARM sensor = thermal diode intrusion0: ALARM
All voltages appear to be out of range for some reason.
pwmconfig to set up the fan configuration. Note that
hwmon0 temperatures correlate to the CPU temperatures.
Once configured, use
fancontrol to manipulate the fan speed. Use the
fancontrol.service to have systemd automatically start
# pwmconfig # cat /etc/fancontrol INTERVAL=10 DEVPATH=hwmon0=devices/platform/coretemp.0 hwmon1=devices/platform/it87.2576 DEVNAME=hwmon0=coretemp hwmon1=it8721 FCTEMPS= hwmon1/pwm1=hwmon0/temp2_input FCFANS= hwmon1/pwm1=hwmon1/fan1_input MINTEMP= hwmon1/pwm1=45 MAXTEMP= hwmon1/pwm1=65 MINSTART= hwmon1/pwm1=60 MINSTOP= hwmon1/pwm1=50 # systemctl enable fancontrol # systemctl start fancontrol
- Official Updates - http://buffalo.jp/support_ap/support/products/ts5400.html
- Python Library to drive the LCD - https://github.com/1000001101000/Python_buffalo_libmicon
- Debian Image Information - https://github.com/1000001101000/Debian_on_Intel_Terastations
- ZDNet Review from 2012 - https://www.zdnet.com/article/buffalo-terastation-ts5400-first-take/