What's new

Recovering data if NAS unit fails?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Nettle

Occasional Visitor
If I have a 2-bay NAS unit in Raid 1, and the unit itself - not the drives - fails, how would I go about recovering the data? Do I have to buy another unit of the same manufacturer? That is, is my data captive to their system?

By comparison, if my Windows PC fails, I can just install the HDD into any other Windows PC and there's my data. But my understanding is that the Ext4 and BRTFs file systems of most commercial NAS's cannot be read by Windows.

Thanks.
 
But my understanding is that the Ext4 and BRTFs file systems of most commercial NAS's cannot be read by Windows.
It could probably be read on a Linux system (maybe even booted from a Live CD).

I think that the answer depends on what NAS you have and what technologies it uses. Maybe you could look up what others have said about recovering data for your specific model. Your NAS might use a proprietary hardware RAID implementation that would require you to find an identical replacement if it fails. It might also use encryption (unlikely) that is tied to your unique NAS box making the data completely unrecoverable upon failure.

You should have multiple copies of your data in different places if it is important to you.
 
I think that the answer depends on what NAS you have and what technologies it uses.
100% If the NAS uses Linux at its core, then most likely, as you say, the drives, and therefore the data, should be accessible.

Do I have to buy another unit of the same manufacturer?
In some cases, this is the easiest solution. As previously suggested, you should have a backup regardless. However, it has been my approach, in addition to cloud backup, to have a spare NAS ready to rock and roll, all that is required is to swap the drives over.

Chances are, if you are using a common brand, then someone has had to try and access the drive data after a NAS hardware failure before so a (google) search should turn up specifics for your unit. Even though my units are for personal use, I tend to do a lot of reading before making a new purchase. I want to know all available hacks, patches, firmware release schedules, recovery procedures, etc well before the unit is in operation (or I fork over the cash for it).
 
Depends on the NAS. If it's Linux based, there's a good chance that you could plug the disk to a Linux box, and mount the filesystem to recover the content. However if you reuse the disk in a different manufacturer, you will have to wipe out the existing content. So, make sure to recover the data BEFORE putting the disk in a different NAS.

Major manufacturers like QNAP allows one to migrate disks to a different model without loss of data (having a backup is still highly recommended first). For QNAP here is their supported model upgrade matrix:

http://docs.qnap.com/nas/4.1/Home/en/index.html?system_migration.htm

EDIT: also, you might have problems recovering the data if you enabled disk encryption. So once again, nothing beats having proper backups of your data.
 
Depending on the format used by the NAS, you could also install the drive in a windows PC (usually via a usb-sata cable) and with the correct drivers, access the data. In the old days, it was a read-only option. Not sure if it has progressed to read-write now. :)
 
If I have a 2-bay NAS unit in Raid 1, and the unit itself - not the drives - fails, how would I go about recovering the data? Do I have to buy another unit of the same manufacturer? That is, is my data captive to their system?

By comparison, if my Windows PC fails, I can just install the HDD into any other Windows PC and there's my data. But my understanding is that the Ext4 and BRTFs file systems of most commercial NAS's cannot be read by Windows.

Thanks.

Always back up the NAS - QNAP and Synology both have SW specifically to back up to an external drive or another NAS... I'm reasonably certain other vendors would have as well.

For recovery - it can be done, Anandtech has a great article on someone that had to do this first hand...

https://www.anandtech.com/show/8399/recovering-data-from-a-failed-synology-nas

Gist of it is - for the most part - most modern NAS will use some variant of Linux Volume Manager (LVM) and EXT4 over MDADM.

Takes skill and patience...

It's much easier to just back up the NAS on a periodic basis...
 
Thank you, everyone, for the many helpful replies.

OK, moral of the story, backup your NAS. Absolutely. But I wonder if this isn't just shunting the problem down one step. 'Cause with that, now I have ext4 files backed up to compressed files on yet another box (since clearly I'm not backing up back onto the hard drive of my PC.) Cannot be read without the backup software/system.

I guess what I'm getting at is - all these external storage and back up systems seem to lead to having the data from my nice Windows PC NTFS drives squirreled away in some other format on some other, often proprietary, box, such that re-accessing my external or backed up data is totally dependent on these external systems.

I understand the back ups - compressing is at the very core of the idea - but I'd be happier if my data existed somewhere in just plain good old fashioned uncompressed Windows ntfs format, so that if everything else went wrong except the drive, I can just pull a drive, plug it into a Windows PC , and there's my data.

I believe this is called a mirror, and I'm reading about mirroring systems right now. You know what I want? A 2-bay NAS that uses NTFS and automatically mirrors the drives. NOT Raid 1 - which I read will not let me pull one drive and use it like a regular drive because of the Raid directory/file system. No, just plain simple real time mirroring. When you write to disk one, write the exact same thing to disk two. Don't convert them into pooled dynamic hoozit's that can't be used separately - just write twice to two independent disks. But I've gone through a bunch of NAS documentation online and none that I can find offer this. It's always Raid 0/1 or jbod.

THEN, I want another box that will back up one of the mirrored NAS drives in a compressed format. Probably incremental backups so that if need be I can go back to a certain date.

Does this exist?

Thanks.
 
Last edited:
Using your NAS to store a backup of your laptop, PC or whatever, is a good start but many people use it as an internal cloud storage, without another backup, and that is where the problems arise.

Backups to a proprietary format should be avoided at all costs. As I'm old, I went through the '80s and '90s where tape backup was the only real possibility. Unfortunately, every manufacturer used their own format so data recovery was almost impossible if the drive had issues, which most did. I learned my lesson back then.

Storage is cheap so my advice is to, at the very least, make use of the free cloud storage options out there. I use these (such as google drive) for an extra copy of my most critical and important data. Not to mention that it also gives me easy access to it from anywhere. If you are concerned about privacy, then you can encrypt files or zip (or other compression) with a password.

NEVER consider NAS storage as your only solution. I've seen too many people say "I used a Raid 1" and the unit died and now I lost all my data.

NAS (well, Raid 1+) give you *some* protection against a drive failure, but that's about it. It doesn't help with a NAS unit failing or someone walking off with your NAS.
 
My WHS died a few months ago. It was very easy to get the files off of the drives. Unfortunately I had many DVD's ripped to this server and the files from each DVD were spread all over 5 drives. I had to use a program to compare the folders and files and reassemble the folder for each movie. It was very time consuming but at least it was doable.
I am now using a Synology DS918+ and am auto syncing to my Google Drive accounts. Very handy! I still need to think about the most cost effective way to back my TB of movies I have on the server.
 
just copy them out to USB3 drives. Make multiple copies and keep one off site.
Thanks for the tip unfortunately the offsite portion is not possible because of the fluidity of my databases.
Does anyone know of a group of people that share space on the servers with strangers and in return, get offsite backup at no cost?
 
Offsite is really just for fire, lightning, or theft. It can be monthly. Just depends on how much you are willing to redo.

If you open up your nas to the outside, then you just increase the complexity and attack vectors ( other pcs, phones, etc). Unless you have the time and expertise to run a server for others and keep up with the protection ( and theirs), etc. i would not go that route.

AWS (amazon web services) comes to mind. Maybe DropBox ?
 
Does anyone know of a group of people that share space on the servers with strangers and in return, get offsite backup at no cost?
Avoid at all costs.
 
Using hardware RAID usually ties you to the specific manufacturer/RAID controller. The better solution for hardware (not disk) failure is to use any kind of software RAID, and the best one is native ZFS enabled NAS OS like XigmaNAS or FreeNAS installed in "embedded mode", i.e. the OS itself boots from USB stick and creates root FS in RAM. In case of hardware failure you just move your disks to any PC, plug-in the boot USB stick and boot it. I am using such configuration since 2017 on HP Microserver Gen8 with XigmaNAS. That is the beauty of DIY NASes :) Of course the "embedded" ZFS solution requires ECC RAM and UPS, otherwise your data will be at risk.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top