Buffalo Forums

Products => Storage => Topic started by: gingerybuddha on February 26, 2020, 10:58:15 PM

Title: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on February 26, 2020, 10:58:15 PM
Hello,

Just acquired a TeraStation™ WS5400 Rackmount.  I tried to build the raid array but came back with an error on bay 4. What I would like to do before i proceed any further is to change from windows server to the Buffalo OS as the fan is constantly on and my rack is 10 feet away from me in my office.

Is it possible to wipe the OS drives that have Windows server on it and change it out for the Buffalo OS that allows for fan control?

Sorry if this is a stupid request but seeing my options.

Thanks
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: As3nd0r on February 27, 2020, 05:39:01 AM
Different hardware between ts and ws, I would rather look into why the fans are on full speed all the time before changing the OS, just in case there is a hardware issue/ temperature issue. If that's ruled out you can still change the os if preferred.

Normally that behavior happens if the Buffalo software isn't installed correctly. Did you try a recovery(assuming you have the image) ? Is the actual image on it that is supposed to be on it or did someone just install a random Windows server image?



Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on February 27, 2020, 05:42:03 AM
Server 2012 is the default image, and it has all of the buffalo extra software that was suppose to come with it.  It looks like on windows server from what I've found online, that when it needs to turn the fan on it will only do it to 100%, and on the buffalo os, it will step up the fan speed, which is what im looking for.
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: As3nd0r on February 27, 2020, 06:04:53 AM
You are probably better off installing debian instead of a customized firmware on dissimilar hardware  For fan control check https://github.com/1000001101000/Debian_on_Intel_Terastations - not sure if that was tested with the ws5400R, 1000001101000 can help you out better here

Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on February 27, 2020, 06:15:43 AM
I found that as well, but github is scary to me.......In other words, i've tried to build a image from it on another project but failed miserably
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: 1000001101000 on February 27, 2020, 09:10:35 AM
You have a few options available to you.

0. You could probably talk to Buffalo support about why the fan is running on high inside Windows Storage Server. I've never run Windows on one of these devices but am under the impression fan control is part of the buffalo software.

1. You can install the linux-based Buffalo firmware as you suggested. As far as i know there is no hardware difference between the TS/WS models. I know folks have done this successfully on the earlier V-series WS devices, I'm reasonably confident it would work for the 5000 series as well.

Buffalo provides a "Bootable USB recovery image" you can use for that process:
https://www.buffalotech.com/support/downloads/terastation-5000n-series

Notes on running the install can be found in this post:
http://forums.buffalotech.com/index.php?topic=30419.0

2. You can install Debian on the device using the Custom installer image mentioned by @As3nd0r
https://github.com/1000001101000/Debian_on_Intel_Terastations

The Buffalo firmware should control the fan speed for you based on motherboard and hard drive temperature sensors. This can cause problems if one of your drives is reporting an erroneously high temperature (some SSDs do this). The standard Fan control daemon in Debian sets the fan based whichever motherboard sensor you choose which would allow you to ignore such a drive and just run the fan based on CPU temperature.

Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on February 27, 2020, 11:31:00 AM
Thanks for the response.  I'll post back what happens.
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on February 27, 2020, 10:34:04 PM
Option 0 isn't really a option as it's out of warranty by a long shot

Was working on option 1 - got usb recovery key setup on my windows pc - no issues
I used diskpart on one of my 4 hdd to clean any partitions on it
Was able to get the ws5400 to boot from drive
I selected HDDroot during the linux boot, it will get to username/password login, from here, I held down the info button and was able to get the system recovery process to start
Eventually it came back with a disk 1 not on message repeated and then it outputted exiting 0
I have not been able to get past this point, was working on it all night and had to shut it off as my girls went to bed.

is the error I'm getting coming from my Linux inexperience or is there something super simple that I am missing?

I can get better details tomorrow once I get off of work if anybody needs them
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: 1000001101000 on February 28, 2020, 09:09:09 AM
Sounds like you're getting pretty far.

I think once it gets to the login prompt you're essentially in EM Mode. From that point I usually do the install via TSUpdater rather than use the actual recovery disk as intended. That process may be more forgiving.

In either case you'll want to ensure you have all 4 drives installed and blank (though there is a way around that if necessary).
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: Kane88 on February 28, 2020, 09:53:00 AM
Quote from: gingerybuddha on February 27, 2020, 10:34:04 PM
Option 0 isn't really a option as it's out of warranty by a long shot

Was working on option 1 - got usb recovery key setup on my windows pc - no issues
I used diskpart on one of my 4 hdd to clean any partitions on it
Was able to get the ws5400 to boot from drive
I selected HDDroot during the linux boot, it will get to username/password login, from here, I held down the info button and was able to get the system recovery process to start
Eventually it came back with a disk 1 not on message repeated and then it outputted exiting 0
I have not been able to get past this point, was working on it all night and had to shut it off as my girls went to bed.

is the error I'm getting coming from my Linux inexperience or is there something super simple that I am missing?

I can get better details tomorrow once I get off of work if anybody needs them


I did the WS-WV Windows 2008 series to WS-WVHL series recently with the help of our binary code friend.

I would assume the WS5400 would be the same as a TS5400

If that's the case, you need to simply build the Emergency Mode disk, and then just load the Terastation 5400 firmware / Buffalo OS.

I don't know how you built your usb recovery key.  You need to follow the steps here to do it though.  That's where I started at anyway for the WS-WV unit:
https://buffalonas.miraheze.org/wiki/Create_Recovery_Disk_for_Intel-based_Terastation


I have no idea what fan speed my Terastation 5400 is at currently.  (I have never seen anything about fan speed in the console) I can hear it whir quietly though.  My 5400 doesn't get heavy use.

Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: 1000001101000 on February 28, 2020, 10:08:58 AM
gingerybuddha is trying to use the recovery image provided by Buffalo for the TS5000 series. It saves the hassle of creating a custom one and has more features.

Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: Kane88 on February 28, 2020, 10:46:26 AM
Quote from: 1000001101000 on February 28, 2020, 10:08:58 AM
gingerybuddha is trying to use the recovery image provided by Buffalo for the TS5000 series. It saves the hassle of creating a custom one and has more features.

Oh, I didn't see that.   I thought theirs were the same as yours.  I've never seen an actual buffalo recovery usb key.
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: Kane88 on February 28, 2020, 10:46:53 AM
Quote from: gingerybuddha on February 27, 2020, 10:34:04 PM
Option 0 isn't really a option as it's out of warranty by a long shot
I used diskpart on one of my 4 hdd to clean any partitions on it

I'm pretty sure ALL drives have to have diskpart clean ran on them.  Make sure they're all wiped.
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on February 28, 2020, 10:47:11 AM
I'm going to try the tsupdater method tonight, but I am down for building the github option.  Will need a little help on that if possible
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on February 28, 2020, 10:47:53 AM
@kane88 should have stated I only had one drive in while attempting this
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: 1000001101000 on February 28, 2020, 11:07:29 AM
For whatever reason the firmware install process typically requires the "maximum" number of drives be installed for it to proceed.

You can temporarily change this value to force an install with less disks using the method described on this page:
https://buffalonas.miraheze.org/wiki/Restoring_Stock_Firmware_without_TFTP

java -jar acp_commander.jar -t <device ip address> -c "echo MAX_DISK_NUM=2 >> /etc/nas_feature"

You'll want to use at least 2 drives so that it actually sets up as a raid device, otherwise you'll have problems adding drives later (if it works at all).
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on February 28, 2020, 01:21:42 PM
That makes sense.

My world is windows server so it's a learning experience so far.  Only reason i tried one drive is I read somewhere on the forums that had better success.  I'll diskpart the other three tonight and give it a shot.

I do have the windows server recovery usb/product key so worst case scenario, i can always revert back
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on February 28, 2020, 09:34:30 PM
Aight, I think i am there almost there.

The WS5400 is booting into Linux with usb key not plugged in, after I let it go thru the steps for awhile it does go back to the admin@ts5400R23A:~$ 

New problem though is it cannot get a dhcp address from my router,

I tried to manually set via ifconifg but the "admin" account is not apart of sudo as far as i can tell, any magic linux hocus pocus i can run here to give my admin account sudo?

edit: turns out cable, tried two different ones I made and no dice, but made a fresh cable, link lights are stable now.  Rebooting, will post results

Edit2: SUCCESS!!!!!!!

Thanks for your help 1000001101000 and kane88
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: Kane88 on February 29, 2020, 06:13:08 AM
Quote from: gingerybuddha on February 27, 2020, 10:34:04 PM
Option 0 isn't really a option as it's out of warranty by a long shot

Was working on option 1 - got usb recovery key setup on my windows pc - no issues

Can you tell me what this process entailed to setup the key?

I am curious what the hardware differences are between this WV5400 model and the WS-WV model.

If only there was some way I could get one of the buffalo recovery keys for this WS5400 for a test.  I am curious to see how the Windows Server 2012 would run on the WS-WV unit.  I know Sever 2012 runs on it, but doesn't have any buffalo apps.

@gingerybuddha, is it possible for you to make a disk image of your recovery key for a test?
Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: Kane88 on February 29, 2020, 06:14:45 AM
Quote from: As3nd0r on February 27, 2020, 05:39:01 AM
Different hardware between ts and ws, I would rather look into why the fans are on full speed all the time before changing the OS, just in case there is a hardware issue/ temperature issue. If that's ruled out you can still change the os if preferred.

Normally that behavior happens if the Buffalo software isn't installed correctly. Did you try a recovery(assuming you have the image) ? Is the actual image on it that is supposed to be on it or did someone just install a random Windows server image?

@gingerybuddha, glad it worked out for you. 

Before you're done with this, just wanted to point out that As3nd0r has a point here.

If it was me, I'd probably do some kind of monitoring to make sure you're not running into any overheating issues or hardware with your unit.  I'd setup the email reports in the linux os version, and make sure those are all turning out good as well.

Title: Re: TeraStation™ WS5400 Rackmount - Change to Buffalo OS
Post by: gingerybuddha on March 08, 2020, 09:59:31 PM
Update:

The Buffalo OS is super quiet, much more then the Windows Server OS.  Mission accomplished
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 145 (show)
Files included: 27 - 1055KB. (show)
Memory used: 810KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]