tags: home_server_farm

My home server farm refresh

I’ve refreshed my home server farm.

NAS refresh

I’ve replaces existing nas chassis worked almost 10 years to new chasis. Old HDD had been still working alive but experienced excessive raw read error and seek error. Here is SMART attributes of old HDD.

Model Family:     Seagate Archive HDD
Device Model:     ST8000AS0002-1NA17Z
Serial Number:    Z8401A33
LU WWN Device Id: 5 000c50 07a1867b5
farmware Version: AR13
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5980 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sat Jun  6 20:08:05 2020 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
SMART Attributes Data Structure revision number: 10
------
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   099   006    Pre-fail  Always       -       96488
  3 Spin_Up_Time            0x0003   091   091   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       8
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   088   060   030    Pre-fail  Always       -       15104801164
  9 Power_On_Hours          0x0032   048   048   000    Old_age   Always       -       45782
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       8
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   056   052   045    Old_age   Always       -       44 (Min/Max 26/47)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       1898
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1932
194 Temperature_Celsius     0x0022   044   048   000    Old_age   Always       -       44 (0 18 0 0 0)
195 Hardware_ECC_Recovered  0x001a   100   099   000    Old_age   Always       -       96488
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       45650 (235 235 0)
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       159114296928
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       199633458676

Thanks to my ZFS, I’ve kept all of my data healthy despite of massive error rate. And I’ve moved all of my data to new HDD and chassis.

Here is my old NAS box. This is HP Microserver gen 1 wokred with NAS4Free for almost 10 years. I had experienced no failure on the box and hdd itself. Also it achives about 50W power consumption. This is amazing result.

HP Microserver gen1

I’ve replaced old Seagate ST8000AS0002 archive HDD to Western Digital WD82PURZ. This two types of HDD has almost same size, 8TB. I continue to use NAS4Free and ZFS, but add more memory to work cache more efficiently. Here is spec.

ホスト名 		nas-new
バージョン 		12.1.0.4 - Ingva (revision 7542)
コンパイル 		Friday 4月 17 19:36:50 UTC 2020
プラットフォームOS 	FreeBSD 12.1-RELEASE-p3 #0 r360028M: Fri Apr 17 01:52:46 CEST 2020
プラットフォーム 		x64-embedded @ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
システム時間 		土曜日 6月 06 11:22:45 UTC 2020
システム稼働時間 		4 時 38 分 23 Seconds
システム設定の変更 	土曜日 6月 06 06:56:24 UTC 2020
CPU 周波数 		2700MHz
----
Device Model:     WDC WD82PURZ-85TEUY0
Serial Number:    VDHV88PK
LU WWN Device Id: 5 000cca 0bbda083c
farmware Version: 82.00A82
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Jun  6 20:21:27 2020 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
-------
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0004   100   100   054    Old_age   Offline      -       0
  3 Spin_Up_Time            0x0007   100   100   024    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       1
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000a   100   100   067    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0004   100   100   020    Old_age   Offline      -       0
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       4
 10 Spin_Retry_Count        0x0012   100   100   060    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       1
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       1
194 Temperature_Celsius     0x0002   122   122   000    Old_age   Always       -       53 (Min/Max 25/55)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

Due to change HDD’s rotation speed from 5,400 to 7,200, my experience is highly improved.

reform my servers

My home farm gets fat over last 5 years and heavily depends on kvm virtualization. Here is diagram. There is too many physical boxes. I tried to consolidate some box and seeks alternative solution for reduction of power consumption.

old farm diagram

I think that using Raspberry Pi for general purpose computing such as network router, mail server, dns server, and so on is nice idea. I’ve moved router, mail server into Raspberry Pi.

Also consolidated encode server with one of desktop. Written above, I’ve retired old nas box and moved into kvm box. Here is my current configuration diagram.

current farm diagram

As a result, I’ve wiped 1 phisycal box, 1 physical box replaced with RPi box, and all of virtualized (and complex) environment. Along with these effort, I’ve achived about 25% energy efficiency improvement.

Old config estimated power consumption: 600W

old farm power consumption

Current config estimated power consumption: 450W

current farm power consumption