From WD Mybooks to FreeNAS

Status
Not open for further replies.

Nomad

Contributor
Joined
Oct 14, 2013
Messages
125
Hey Everyone I'm Nomad. Been going by that since BBS's and Doom as the best ever.

First starters I'm in IT Security so my home lab is nicely build out, but some things were lacking. I'm using an old laptop hooked up to a 75" Screen for my HTPC and using WD Mybook Live as my "NAS" now in all rights the Duo is a great solution for about 90% of home users just wanting to store data, no special software to load and can be setup for a Mirror. With a unix os driving everything it's very tuneable and I loved "hacking" it, but limited on space so it was time to upgrade.

What I wanted to build:
CPU: E3-1230V3
MB: SuperMicro X10
Ram: 32 GB ECC
~$900

Well I wanted to build a very cheap solution and keep with the $40/TB I was getting from the WD My Books.

All of my personal data is backed up using CrashPlan, this NAS is just being used for PLEX.

What I built (Haters gonna Hate I'm sure)
CPU: Intel Haswel G3320
MB: ASRock H87 Pro4 LGA 1150 Intel H87
RAM: 16 GB 1600 Non-ECC
~$150

2x3TB WD Red
2x3TB WD Green (From WD:MBL)

My Data Migration Plan:

1) Install Free NAS
2) Build a Raid1 with the reds
3) Copy 3TB of data from the green to the new raid
4) Build a Raid1 with the greens
5) Expand the zpool

First thing is trying to install FreeNAS Took about 2 hours... I build a few CD's and just couldn't get the thing to boot turns out if you were using SSD then you've set everything to AHCI and just can't use a sata cdrom that way to install Free NAS so I set my SATA porn on my ROM from Advanced Host Controller Interface (AHCI) to IDE. Booted :)

Next I had all 4 drives in the system and tried to pick and chose which drives to add to my first Raid. Well I couldn't figure this out in 5 mins and didn't want to guess with my data so I shutdown and unplugged the Greens. Booted back up and created the first volume with the WD Red's in Mirror giving me 2.7 TB of usable space. Reboot plug back in the WD Greens.

I then tried to use the console to just cp the data over from the WD Greens to the pool but was unable to mount the Greens due to the way the Mybook Unix OS handles data. SO ... shutdown yet again, removed the Greens and hooked them back up to the MBL system.

From there I did two ftp session from the Nas to the MBL's one for Movies, other for TV.

I was very impressed with the speed at which these copied. Took about 6 hours to xfer ~3TB which means I was pushing around 100+ MB/s which makes since to me since the WDMBL's do about 40-60MB/s each. Shutdown

Installed the WD Greens, and expanded my zpool, I used the 2x3TB greens as another Mirror and the extend option. See Screen Shots.

****AM I SAFE????*****

That's the big question on my mind right now. I was trying to find a guide on how to do Striped Mirrors but everything seemed very complex and not really what I was trying to do. So what I'm going to do tonight is offline the drives 1/4, 2/4, 3/4, 4/4 and make sure the thing boots up and works as expected. As I'm sitting right now as I understand (Please correct if I'm wrong)

I can lose 2 drives... as long as they aren't part of the same mirror.
1&3 or 2&4- Good
1&2 or 3&4- Everything is gone.


So whats next? What is best practice from here?
 

Attachments

  • gbit.PNG
    gbit.PNG
    56.2 KB · Views: 325
  • Zpool.PNG
    Zpool.PNG
    3.5 KB · Views: 332

Nomad

Contributor
Joined
Oct 14, 2013
Messages
125
I plan on posting pictures of my build, but right now it would scare Cyberjock to the point of never posting on my threads...

But if anyone is curious about how I'm currently setup it would shock you... lets just say not everything is in the case yet :)
 

Nomad

Contributor
Joined
Oct 14, 2013
Messages
125
dd speeds if anyone is interested. Ran for a few mins.
Code:
[root@freenas] ~# dd if=/dev/zero of=/mnt/zedpm/testfile bs=4M count=10000
^C2731+0 records in
2730+0 records out
12971892760 bytes transferred in 76.072142 secs (170520935 bytes/sec)
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I plan on posting pictures of my build, but right now it would scare Cyberjock to the point of never posting on my threads...

But if anyone is curious about how I'm currently setup it would shock you... lets just say not everything is in the case yet :)

Hehe... and you PMed me asking to talk to me. :P
 

Nomad

Contributor
Joined
Oct 14, 2013
Messages
125
Hehe... and you PMed me asking to talk to me. :p


Ya, I've read your guides and it has given me a great start into this project, but you are as hardcore about data as I am about security so I'm pretty sure you'd die at all the drives just laying around.

Some big questions I have at this point is did I expand the volume correctly?
What do I do now? Scrubbing/long smart checks?
Is there a command I can ran and have you verify the way I installed and expanded my pool was correct? zpool status found it :)
 

Nomad

Contributor
Joined
Oct 14, 2013
Messages
125
Code:
[root@freenas] ~# zpool status
pool: XXXXXXXXXXXXX
state: ONLINE
scan: none requested
config:
 
NAME STATE READ WRITE CKSUM
XXXXXXXXXXXXX ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/97cfacd2-348e-11e3-80b2-20cf3007fa56 ONLINE 0 0 0
gptid/98341b7e-348e-11e3-80b2-20cf3007fa56 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/41c4b4da-351e-11e3-ac34-20cf3007fa56 ONLINE 0 0 0
gptid/427ec90c-351e-11e3-ac34-20cf3007fa56 ONLINE 0 0 0
 
errors: No known data errors
[root@freenas] ~#
 

Nomad

Contributor
Joined
Oct 14, 2013
Messages
125
Running my first Scrub right now... Ugh didn't know it would take so long LOL

Code:
scan: scrub in progress since Mon Oct 14 19:03:01 2013
        187G scanned out of 2.46T at 198M/s, 4h9m to go
        0 repaired, 7.46% done
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Long tests should be performed before you use the disks. Scrubs aren't necessary when expanding a pool, but they won't hurt.

It does look like you expanded it properly. Good job!
 

Nomad

Contributor
Joined
Oct 14, 2013
Messages
125
Long tests should be performed before you use the disks. Scrubs aren't necessary when expanding a pool, but they won't hurt.

It does look like you expanded it properly. Good job!


Hmm, well too late for that. After the scrub is finished running for the first time I'll run a long test. I saw a post were a guy was running them at the same time and swear I could hear your head banging against the desk. *stupid <thud> stupid <thud>* :D
 

Nomad

Contributor
Joined
Oct 14, 2013
Messages
125
After many arguments. Final Build was an Old AMD Proc/Mobo I had that supported ECC. See Sig.
 
Status
Not open for further replies.
Top