Have newly bought external HDDs for backup, need some advice.

Question/Advice

I have two 8TB WD easystores, I'm thinking of running a check first with HDD scan but since there is no way for me to get them replaced (bought them abroad), is the check worth it? Also, how long should I wait and see before I can truly trust the drives?

I'm also thinking of formatting the drives with BTRFS ZFS, what software can I use to do that on windows? And will I need a special software to read/write files into a BTRFS HDD? Also, what do you guys suggest for copying files (1-2TB) from one external HDD to another?

Finally, in case you're wondering...

Why not shuck?

I'm too pussy to mess around with items that cost me 1/2 my monthly income to get... But hey, maybe I'll stop caring as much once the drives get older.

Posted Aug 7, 2021, 11:22 AM UTC · edited

420
Far_Marsupial6303•

Also, how long should I wait and see before I can truly trust the drives?

Never. Any drive can fail at any time, for any reason, with or without notice. That's why we have backups for anything worth having.

5
fukin_weebOP•

Right... I guess that's why I have two of them, less chances of both failing at once....

1
paprok•

formatting the drives with BTRFS, what software can I use to do that on windows? And will I need a special software to read/write files into a BTRFS HDD?

you're a brave one. not only you want to use a filesystem which has not grown out of it's youth's problems, but you also wanna use experimental software to access it?

https://superuser.com/questions/1086419/how-to-read-btrfs-volumes-on-windows-natively

why not native NTFS since you're on Windows platform?

3
fukin_weebOP•

I'm going to move all my data onto the drives then switch to fedora 34, honestly the only reason I picked BTRFS was because I hear zfs isn't supported by the linux kernel. But

you're a brave one. not only you want to use a filesystem which has not grown out of it's youth's problems, but you also wanna use experimental software to access it?

I think I'll reconsider....

Also, I want to use a filesystem that'll tell me if there any of my data has been the victim of bitrot. And that's pretty much all I'll be using it for.

Edit:

I did say "zfs isn't supported by the linux kernel" but it looks like Ubuntu ships with it out of the box. Guess I'll be using Ubuntu and not Fedora then.

3
paprok•

this is a list of distributions that include zfs package, according to DistroWatch.com:

  • Ubuntu
  • Debian
  • Alpine Linux
  • Xubuntu
  • Gentoo Linux
  • NixOS
  • Ubuntu Kylin
  • ALT Linux
  • Voyager Live
  • Ubuntu Budgie

i don't know if this equals to ZFS as DKMS, but it's a start.

2
fukin_weebOP•

Do you know of a software to format HDDs into zfs in windows? And read/write data.

2
paprok•

zfs in windows

it's the same. experimental at best.

the only reason I picked BTRFS was because I hear zfs isn't supported by the linux kernel

that statement is not etirely true as well as not entirely accurate.

I want to use a filesystem that'll tell me if there any of my data has been the victim of bitrot.

there are only 2 - BRTFS and ZFS, and in my opinion you should stay away from BTRFS.

"zfs isn't supported by the linux kernel" but it looks like Ubuntu ships with it out of the box

it ships as loadable kernel module, which is a step-up from previous take, that was running it in userspace (through FUSE).

move all my data onto the drives then switch to fedora 34

if you're thinking about a daily driver switcharoo, i will not advocate FreeBSD. Linux is much easier to handle in this matter. but i say this - stick with ZFS, and pick a distro that supports ZFS as DKMS (kernel module). right now, there should be more than one. i red something that Debian (iirc) does this aswell.

  • why i think ZFS is better than anything else -> click here

  • what others say about BTRFS -> click here

  • good thread about "bit rot" and data corruption in general -> click here

  • it also mentions picking an OS for ZFS in one place -> here

if you want to migrate your data before switching the OS, i'd say the best way to do it would be boot a live OS with ZFS support and use that. forget about foreign filesystems on Windows. such grafting never worked well, with any filesystem, on any OS. you either have support built in, or go about it some other way. you wouldn't want to find out that your data was currupted mid-transit by some flaky piece of software now, would you?

4
fukin_weebOP•

Thanks for taking the time to explain it. And thank you for all the reference links as as well, I will surely read through them all. If Debian supports it (which according to your other comment, it does) I will happily switch to Debian. Though I do have one a question related to:

there are only 2 - BRTFS and ZFS

Reading your comment, I thought to look into btrfs some more and saw this thread (from 2017) with this reply:

To paraphrase the upstream opinion, btrfs has been "almost production ready" for many years now, but never quite got to the stage where it actually was ready.

In the meantime, many of the features that btrfs provides are now available via other more mature and stable storage technologies like ext4, XFS, LVM, etc. We've put considerable effort into improving these technologies to the point where current Red Hat offerings already cover almost the entire btrfs feature set.

So I googled "ext4 checksum" and saw that ext4 does (metadata) checksumming (that too since 2012), which, according to this, is similar to what btrfs (and zfs?) do.

The ext4 docs also says:

To protect against this sort of non-hostile corruption, it is desirable to store checksums of metadata objects on the filesystem to prevent broken metadata from shredding the filesystem.

Albeit, its followed by:

In theory, btrfs has stronger guarantees against corruption (uniform checksums on _all_ metadata blocks, redundant copies of all metadata, etc.)

So, my question is that is just metadata checksumming not enough? Because ext4 seems a whole lot less complicated than either BTRFS or ZSF, in different regards.

2
paprok•

first of all, i am in no way a filesystem expert and my knowledge is surely incomplete and fragmented.

many of the features that btrfs provides are now available via other more mature and stable storage technologies like ext4, XFS, LVM, etc. We've put considerable effort into improving these technologies to the point where current Red Hat offerings already cover almost the entire btrfs feature set.

it's possible, that seeing advanced filesystems features (let's call what ZFS and BRTFS do, that, for the sake of discussion), some developers began integrating some of these features into existing filesystems. i don't follow fs development closely, to the point of not at all ;)

ext4 does (metadata) checksumming (that too since 2012), which, according to this, is similar to what btrfs (and zfs?) do.

from what i understand, advanced filesystem features are not only metadata checsumming, but all data checksumming. which is a significant difference. protecting metadata guards against bricking the filesystem (i.e. rendering it inaccessible), but not against corrupting the actual data stored.

to prevent broken metadata from shredding the filesystem.

exactly that ^^

is just metadata checksumming not enough?

as said before. protecting fs' metadata is half-protection. it doesn't protect the actual data stored.

Because ext4 seems a whole lot less complicated than either BTRFS or ZSF, in different regards.

this is because advanced filesystem features include volume manager, which is not a part of ext4, thus making it's code much leaner. i would guesstimate, that volume management could be as much as half the code. note, that Fedora for example was using ext3/4 together with LVM as a storage solution for a long time. and these two were not integrated together.

btrfs has been "almost production ready" for many years now, but never quite got to the stage where it actually was ready.

and that is why i advocate against it. i had fileservers before ZFS and guess what i used back then? i used XFS. because it's been tried and tested, on and on, for a long time (XFS is almost 30 yo), and a solid company developed it (Silicon Graphics). and didn't play with any LVM or software RAID while using XFS, because it adds another point of failure. if volume management wasn't integrated into ZFS the way it is, i wouldn't be using it as an external addon, the way that usually ext4 and LVM or dmraid are combined. with ZFS it's different - these things were developed to work together from day 1 and to cooperate with themselves on a low level - not as a separate pieces of software frankensteined togeteher.

4
RubberDuckyKiller•

If they's secondary drives EXT4 is just fine. encrypt them if you want, but just use EXT4. Myself I have a 3 tb and 8 tb that have all the files that I access regularly, then I have another 3 and 8 that are copies of everything from the first two that I sync every couple of days. For syncing I use FreeFileSync but there are plenty of other great programs out there for syncing.

2
AutoModeratorMOD•

Hello u/fukin_weeb! Thank you for posting in r/DataHoarder.

Please remember to read our Rules and Wiki.

Please note that your post will be removed if you just post a box/speed/server post. Please give background information on your server pictures.

This subreddit will NOT help you find or exchange that Movie/TV show/Nuclear Launch Manual, visit r/DHExchange instead.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1
xcom2k•

On a similar note I've just dug out some old external drives that I've not used. What software do you recommend to check them? Using windows.

1
fukin_weebOP•
4
xcom2k•

Thanks!

3
fukin_weebOP•

Glad to help :)

2
paprok•

Using windows.

Victoria

1
zfsbest26TB 😇 😜 🙃•

> I have two 8TB WD easystores, I'm thinking of running a check first with HDD scan ... is the check worth it?

--Yes, you ALWAYS run a burn-in test on drives before putting them into use. DD zeros to the entire drive followed by a SMART long test, bare minimum.

​

Code here:

https://github.com/kneutron/ansitest/blob/master/SMART/scandisk-bigdrive-2tb%2B.sh

​

> I'm also thinking of formatting the drives with ZFS, what software can I use to do that on windows?

--You don't. Setup ZFS on a dedicated PC running Linux or other supported OS (FreeBSD and some others do ZFS) and share the dataset over the network with Samba.

1
fukin_weebOP•

I dont really have a dedicated PC, im planning to use the two 8tbs as offline backup.

1