So, it has been a very long time since I've been able to contribute to this community... but I creep in every so often
Some may know of this NAS that Western Digital offered back in 2012 called the DX4000.. flavors included storage up to 16TB and it ran Windows Server 2008 R2. I made a few articles on my blog, showing how to convert it to use Windows Server 2012 R2 back then, and it had been running like a champ ever since, last month. I decided to re-purpose it as a firewall, and began searching for alternatives to pfSense... I naturally gravitated to OPNsense, and experimented with getting it to run on the metal.
It may seem strange to want to do this with a device built to be a storage server, but I've outgrow the storage... and it actually had decent adapters on-board (2x Intel 82574L), the form factor was small, and included redundant power supply capabilities.
To make it possible, there had been some advancements by the community on how to access the BIOS on the machine, found here on YT posted by Martin Meise. A BIG "Thank You" to that guy for showing how to mod the PCB to include a serial converter. I picked up a USB to TTL serial cable from Adafruit.com, soldered some extension wires to the PCB on the DX4000 (which currently stick out the side).. and had instant terminal bliss. I can plug/un-plug the adapter when needed this way, just a note... the RS on board will plug into the TX on the adapter, as does the TX onboard to the RS on the cable.. anyway. works great. (just a note, the PCB has what seemed like a polyurethane coating on the pads, and I had to dissolve/scrape it off to get the solder onto them)
The only setting on the BIOS that needed to be changed was to switch the controller from RAID mode to AHCI.. which allows you to use independent storage without the needed RAID setup.
I picked up one of those ICY DOCK 2.5" to 3.5" converters a while ago to use for this, and an in-expense Kingston 120GB SSD on Amazon for 20$USD. It was a tight fit, but works great.
The difficult part in this setup was to get FreeBSD installed on this thing... I tried dozens of times using the OPNSense ISO and serial versions to get it going, and gave up after while defeated. I also tried other FW flavors like pfSense, and Sophos.. all failed to use the serial terminal to complete installations. I gave IPFire a shot and actually got it working accidently after modifying the serial console to use TTYS1 instead of TTYS0.. and a light in my head got turned on... it had that I.D.10.T message.
I went back and built a USB with OPNsense serial version image on it.. fired up a FreeBSD VM on my windows workstation. note, the USB must be 'offline' in windows to use as an attached disk in hyper-v... just take it offline in disk manager, and add the usb as an iscsi disk in the vm settings.
* startup FreeBSD in the VM, logon as root and mount the device. For me this ended up being device /DEV/DA1A (mount /dev/da1a /mnt/usb )
* cd to /mnt/usb/boot , you can copy the loader.conf file to loader.conf.local or just VI a new file called "loader.conf.local" (it is important to have a local file so your changes are not auto-overwritten)
* include the following into loader.conf.local:
hw.uart.console="io:0x2f8,br:115200" bitmap_load="NO" comconsole_port="0x2f8" comconsole_speed="115200" console="comconsole" boot_serial="YES" ** it is important to note that after installation is complete, you may NEED to do this again and add a loader.conf.local file to the system to access the things via ttyS1
I was now able to use my usb to serial cable connected to my workstation to open PuTTy (mod the BIOS) and step through a serial installation of OPNsense... it was defaulting to use ttyS0, instead of ttyS1 which is what is needed for this machine.
The only things I have NOT been able to manage getting to work are the fan speed controls, and my BackUps powersupply over USB for monitoring power.. other than those, this little thing has been solid.
So far, I've been able to get the LCD working great using LCDd... i get all the goodies i need being displayed... and I apologize that I have no pictures of my lovely PCB soldering nor of the LCD working. I'll try to get some in the coming days, and post a new blog on my blugged.wordpress.com site.. but i've been super busy with a new software engineering position these past 9 months, and just don't get much free personal time anymore.
I hope someone has enjoyed this quick write-up!
I was about to buy 4 x 8TB WD Red's (for my HP MicroServer Gen 8) when my friend asked me to double check if my HP Smart Array P222 Controller can actually support this...
Does anyone know the answer for me please?
$64.99 Western Digital WD Internal Drive VelociRaptor WD6000BLHX 600GB 10000 RPM 32MB Cache SATA 6.0Gb/s 2.5" Drive Only-Grade A Recertified with Promo Code EMCWWXM55
This is a nice drive with a 2yr warrenty
Price reduced from yesterday's great price http://homeservershow.com/forums/index.php?/topic/6505-western-digital-wd-internal-drive-velociraptor-wd6000blhx-600gb-10000-rpm-refurb-7999/
$49.99 WD VelociRaptor WD1500HLHX 10K RPM SATA III 6Gb/s 32MB Cache FAST == with PROMO Code EMCXLWL63
LOTs of USES: Two of these in RAID0 make for a GREAT OS Drive -- Four in RAID0 for a cheap VM Drive
$69.99 Western Digital WD VelociRaptor WD1500HLHX 150GB 10000 RPM 32MB Cache SATA 6.0Gb/s 3.5" Internal Hard Drive with Promo Code EMCXNTX56
This is the same model I did the performance tests at: http://homeservershow.com/forums/index.php?/topic/5903-performance-tests-wd1500hlhx/
Don't forget to use the Affiliate Links