1.    26 Jan 2017 #1

    Bunch of old HDD's - how to use as NAS backup


    Hi there
    If you have a few old HDD's available why not use these for backing up NAS etc.

    To do this IMO the best way is as follows :

    1) Get say a 4 Bay (powered) HDD container with USB3 connector -- really cheap one with no built in RAID etc works really well. 2 Bay ones are also good if you only have 2 spare HDD's. Really cheap -- around 40 USD for 2 bay ones, a bit more for the 4 bay ones.

    2) If your NAS is a Linux system make sure package mdadm is installed - this is a RAID (software package) package - usually installed by default as RAID support is built into all Linux kernels these days.

    3) connect the bay to your Nas. You'll see 2 / 3 / 4 HDD's depending on how many bays you've populated/

    4) format each HDD -- use EXT4 as it's the fastest and most reliable --- as root mkfs.ext4 /dev/sdb for example where HDD's are /dev/sdx x anything.

    5) now create a RAID device -- once created the external HDD container can be moved between different systems with no probs at all.

    I would create a RAID 0 array here as it's not going to be online all the time --you are using this as backup so utilize maximum space and speed -- the chances of BOTH your backup device AND the NAS failing at the same time aren't at all likely so as root type : mdadm --create --verbose /dev/md0 --level=0 --raid-devices=2 /dev/sdb /dev/sdc

    The above creates an array of 2 HDD's -- you can create another one of another 2 HDD's or create a single array of all your HDD's

    6) now format the array -- in the example I've shown as root type : mkfs.ext4 /dev/md0 where md0 is the RAID device you created.

    7) simply mount the device to a mount point and you are good to go

    as root type mount /dev/md0 -t auto -o rw /mnt/DV1 (or whatever your mount point is).

    If you move the box to another NAS / Linux VM etc then simply mount /dev/md0 with the mount command as above.

    Works fine.

    In fact rather than mess around with Windows volume spanning / storage spaces etc I start up a Linux VM , mount the array and then have it as a networked shared drive to Windows. Works a treat and makes good use of older HDD's --why chuck them away.

    Note though if attaching a 4 bay array to a laptop via USB3 - even though the bay itself will be powered I'd still connect the bay to the laptop via a POWERED usb 3 Hub -- 4 X 4 TB HDD's working as a single RAID 0 device need a powered hub in most cases !!! --poor little laptops weren't really meant to have 16 TB of spinners attached to them !!!!!!

    Cheers

    Jimbo
      My ComputerSystem Spec
  2.    26 Jan 2017 #2
    Join Date : Oct 2013
    South Australia
    Posts : 674
    macSierra

    If it's intended as a backup, wouldn't it be better as a JBOD instead of RAID0 Jimbo? Or do you want a bit of performance in it too?
      My ComputersSystem Spec
  3.    26 Jan 2017 #3

    Quote Originally Posted by Golden View Post
    If it's intended as a backup, wouldn't it be better as a JBOD instead of RAID0 Jimbo? Or do you want a bit of performance in it too?
    Hi there.

    @Golden

    Performance is the issue here if you are backing up a lot of stuff -- also the cheaper multi-bay HDD boxes don't have JBOD or RAID switches on them -- my solution was (IMO) the best bang for buck with the fastest performance --especially as one is likely to be using older slower HDD's - such as 5400 RPM spinners or those with only 64MB cache sizes (a small cache size makes a HUGE difference in HDD performance - run a lot slower -- that's why cheaper HDD's have small cache sizes !!!).

    Using RAID 0 you get parallel I/O streams which speeds the thing up even on slow HDD's. You don't need in this instance to worry about data loss --- there's more chance of all the atoms of air rushing to a corner of a room than BOTH NAS AND the RAID 0 array going defective at the same time.

    RAID 0 also uses all the HDD space efficiently - balancing I/O across the array evenly. With the Linux MDADM RAID facility you can also mix HDD sizes too.

    BTW you could use the HDD multi bay box as a cheap NAS itself -- or at least as a network share -- in this case you can use RAID 1, 10, 5 or whatever you like depending on how many HDD's you have available. The software RAID facility allows you to specify type / options etc --- simply google Linux software RAID or google for MDADM.

    Cheers
    jimbo
      My ComputerSystem Spec
  4.    27 Jan 2017 #4
    Join Date : Oct 2013
    South Australia
    Posts : 674
    macSierra

      My ComputersSystem Spec

 


Similar Threads
Thread Forum
Raid 0 Vs JBOD (Just a Bunch of Disks) (Hardware)
Hi there Was wondering if RAID 0 (hardware) was faster than JBOD (just a Bunch of Disks). - Some of these 2 / 4 bay HDD devices have hardware RAID / JBOD / Individual HDD settings. Note RAID 0 (speed) --not interested in RAID 1 / 10 which...
Performance & Maintenance
Windows 10 automatically transfers a bunch of photos to 'downloads' fo
I am having an issue with Windows 10 automatically transferring a bunch of photos and music from a folder named my full name to the my 'Downloads' folder. First off, these are all photos that I have taken, and they are all my photos, but some time...
General Support
Windows Update could not complete, now a whole bunch of weirdness
Hi, I was having an issue with office 365 not being able to launch - when trying launch word, excel, etc, I would get and error saying: Microsoft Office cannot verify the license for the this product. You should repair the Office program by...
General Support
Microsoft announces Backup of Windows 10 machines using Azure Backup
Windows 10 client machines can now be backed up seamlessly to cloud by Azure Backup service. Customers with machines running Windows 10 (64-bit) operating systems can protect their important file-folder data to Azure in a secure manner and restore...
Backup and Restore
Backup - removed folders to backup keep coming back
I'm setting up a file backup on Win 10 Pro. Under the backup settings there is the "Back up these folders" section. I have a total of five folders I want to backup so I keep removing all the folders that Windows adds by default and leave the five...
Backup and Restore
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:01.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums