NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
janpeter1
Jun 27, 2015Luminary
Likely Readynas 3-series
Hello, I plan to upgrade from my ReadyNAS Duo that served me well for 5+ years running 2x2TB in Raid 1. Consider to buy 2- or 4-bay (or even 6-bay hope not) NAS and it is for home use with small o...
- Aug 04, 2015
You could put a suggestion in the Feature Request & Feedback subforum.
You could also make a request at rnxtras.com (not a netgear site)
StephenB
Jul 15, 2015Guru - Experienced User
I think its all been said. Memory errors can result in server crashes and unpredictable behavior. Sometimes that unpredictable behavior corrupts the data (and bitrot protection will almost never prevent it). ECC memory basically eliminates the threat of memory errors having those bad consequences. Whether its worth the money depends on how big you think the risk is, and how big the economic consequences of the unpredictable behavior are.
janpeter wrote: Can you expand on the usefulness of ECC memory?
ECC isn't coupled with bitrot protection. Servers all over the world use it, and most of them aren't running btrfs or zfs.
No it doesn't. And Netgear's bitrot protection depends on RAID, which isn't on the external disk.
janpeter wrote: 1) Does OS6 provide possibility to format an external HD in BTRFS and in this way ensure that data integrity is kept?
There are maybe two questions here. The backup system does not need to be OS6. And the NAS does not protect the backups from bitrot. I suggest multiple backups myself.
janpeter wrote: 2) Does the backup system perhaps need to be under OS6 also in order to get the whole system NAS and its regular backup procedure to be safe against bit-rot?
Answered above.
janpeter wrote: 3) Is ECC memory a key component to make the system NAS and regular backup safe against bit-rot?
4) Is there other reasons than to avoid bit-rot that motivates investment in ECC memory?
janpeter1
Jul 28, 2015Luminary
Hi again,
I would like to change focus on my last question from ECC memory to integrity of backup which is the key question. And sure I admit I do not understand ECC-memory and BTRFS well enough and may questions maybe obscure.
I do understand that BTRFS is very useful if you interact with the NAS to some extent, but too much then you get disk fragmentation. Right now I am more interested in the low frequency of interaction that you have for an archive, i.e. mainly reading files and occasionally adding files in accumulative way. In this context bit-rot protection (BTRFS and raid-configuration) gives added value especially if we consider storage over long time, say 5-10 years and more.
Central to long term archive is of course to have an external backup procedure that maintain the data integrity you have in the primary storage, the NAS with BTRFS. I see some alternatives with: external HD, another NAS (for me older ReadyNAS with “OS4” and EXT3/4), or even a newer NAS under OS6. These different backup solutions have different levels of long time security of data integrity. But right now I think just of the short term backup-procedure.
1) When a file is backed up externally, what ensure that the backup is correct and that a recovery will give back the correct file?
a) I think of incremental backup. I thought that the use of checksum that can be enabled in OS6 and BTRFS also could be used somehow for external backup. I guess that if you do backup to another ReadyNAS under OS6 you might be able to exploit some usage of these checksums to ensure that the (incremental) backup/recovery is correct. Is that true?
b) Use of checksums (or something else) perhaps can be used even if backup is made to a non-BTRFS media?
c) Is here some difference in this aspect using the standards built in backup procedure in OS6 compared with for instance rsync or some other backup-software that can be used?
2) In this context of making backup/recovery I guess that ECC-memory provides an extra level to ensure data integrity when doing backup/recovery - or do I misunderstand this?
3) Would you say that ECC-memory is mainly interesting for intensive use of NAS as server rather than the low intensity use of NAS as archive?
Thus, as a user I wold like to be able to say that once the file is in the archive NAS then data integrity will be kept both at the primary NAS, during backup/recover to external site, and at the backup site.
---
See that in the new FORUM it is my responsibility to close the discussion and I think we are soon there.
- StephenBJul 28, 2015Guru - Experienced User
janpeter1 wrote:
I do understand that BTRFS is very useful if you interact with the NAS to some extent, but too much then you get disk fragmentation. Right now I am more interested in the low frequency of interaction that you have for an archive, i.e. mainly reading files and occasionally adding files in accumulative way. In this context bit-rot protection (BTRFS and raid-configuration) gives added value especially if we consider storage over long time, say 5-10 years and more.If this is your main use, then you won't see much (if any) disk fragmentation with btrfs.1) When a file is backed up externally, what ensure that the backup is correct and that a recovery will give back the correct file?I've never seen a case where a backup / restore failed silently - usually there's an error reported (either by the disk or by the backup utility). That is not to say that "silent bitrot" is impossible. Just that if it has happened to me I didn't discover it later.This is obviously very important to you. So I'd suggest that you put in place your own methods of validating data integrity, and not rely exclusively on the file system or RAID.There are tools that verify when you copy (teracopy is one example). Ensuring that the restore done years later gives back precisely the original file likely requires saving an independent checksum to verify. I do this manually with some media files (creating an SFV file that checksums all the files in the folder).a) I think of incremental backup. I thought that the use of checksum that can be enabled in OS6 and BTRFS also could be used somehow for external backup. I guess that if you do backup to another ReadyNAS under OS6 you might be able to exploit some usage of these checksums to ensure that the (incremental) backup/recovery is correct. Is that true?Well, the checksum is verified when you copy to the backup. But the checksum is purely local, so another ReadyNAS doesn't see it, and cannot use it. BTRFS isn't supported right now on the external USB drives, so the checksum isn't computed on the USB drive either.b) Use of checksums (or something else) perhaps can be used even if backup is made to a non-BTRFS media?As I mentioned above, there are tools available that can do this. But the ReadyNAS doesn't (and no other NAS does either).c) Is here some difference in this aspect using the standards built in backup procedure in OS6 compared with for instance rsync or some other backup-software that can be used?I think I addressed this above.2) In this context of making backup/recovery I guess that ECC-memory provides an extra level to ensure data integrity when doing backup/recovery - or do I misunderstand this?3) Would you say that ECC-memory is mainly interesting for intensive use of NAS as server rather than the low intensity use of NAS as archive?I wouldn't say that ECC is related to intensive use. ECC-memory increases reliability for both applications. Clearly that's a particularly important aspect for you, so you should probably consider a NAS that supports it.Thus, as a user I wold like to be able to say that once the file is in the archive NAS then data integrity will be kept both at the primary NAS, during backup/recover to external site, and at the backup site.My main advice is that there is always some risk, and at some point you need to accept it. I think you will need to put some of your own measures in place in order to help ensure that your own data integrity threshold is met.My own approach is multiple copies (I maintain 2 local independent backups of all data, and a fourth copy on a cloud backup server). That doesn't alert me if one copy is somehow corrupted, but it does give me some recovery options if I discover that down the road. I'm not saying that will work for you. But you'll need to sort out what measures are enough.- janpeter1Jul 29, 2015LuminaryFrom you answer it seems that NAS external backup is the weak link for ensuring data integrity, although at this forum key people iterate the need for external backups.When I download larger software packages (eg python etc) I have encountered the adviceto calculate checksum of the downloaded file and compare with what it should be.And I have encountered the standard MD5 (and easy to check on a Mac in the terminal).Just thought that this use of checksums likely was automated in more serious backup software. Therefore I wondered if Netgears OS6 use that or similar.For OS6 I also expected some emphasis on ensuring data integrity when say backup to another NAS with OS6 at least, but maybe not there yet.Could also be that all backup software do some kind of checksum checks etc, I just do not know.Of course check of checksums is not perfect either.---Part of my archive is a collection of 50 000+ photos. At least two photos are found corrupted after 4 years of raid1, but I am not sure the corruption happened as bit-rot. At least for one of the photos am pretty sure it happened during file transfer at an early stage. For the other photo I found the backup also corrupted, but backup was made at some later stage, and no backup of original, only of NAS. My concern it to minimize this kind of irritations.
- StephenBJul 30, 2015Guru - Experienced User
janpeter1 wrote:
From you answer it seems that NAS external backup is the weak link for ensuring data integrity, although at this forum key people iterate the need for external backups.I wouldn't call it the "weak link", as there are other steps that are equally vulnerable. For instance, the original copy of the data from your PC to the NAS.
And yes, we do repeat the need for backing up the NAS. RAID arrays and servers do eventually fail, and sometimes they fail in ways that lose data.
If you simply want to verify your photos, you can use something like quicksfv on each main folder. If you want some ability to repair lost data independently from the NAS or backup software you could use quickpar.(also on each folder, not on each photo).
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!