I meant mixed array of course, i.e. 4x10Tb and 20x1Tb. You can build 6x10tb by making two RAID-0 from 10x1Tb (same as your setup 2). Now this setup can sustain failure of all 20 of 1Tb drives.
Point is, there is no magic here. Having raid-0 as vdevs in your raid-z2 won't change anything - any disk fail and you need to replace it and rebuild the array. Mathematical exercise you are doing doesn't make much sense since it all about probabilities and "what if".
Where did I say it protects? Your zfs array consist of vdevs and resiliency of the array depends on number of vdevs for parity. In first setup 1 disk is 1 vdev. In second setup some vdevs consist of 2 disks, but failure of any of it (or both) means failed vdev. The fact failed disks might be from same vdev adds you this "extra protection".
You can get this logic futher and take 10 of 1tb drives to raid-0 - you will still have 10tb vdev, and your setup now can sustain 10 disks failure! Is it true? Yes! Does this setup makes sense? No.
Standard array have unused capacity, which you use in 2nd setup. This adds some resiliency to the 2nd setup at the cost of setup and recovery complexity. I don't see any magic here.
You forgot to add "hardware raid controller/motherboard" dying to the 2nd scenario. In first scenario, if something happen to your PC, you just re-connect drives to the new one and re-import the pool. If second - it depends. Would you be able to re-configure your "hardware raid" on the new PC? If this is some dedicated raid controller, most probably yes. If this is some "hardware" raid built into motherboard, I am not sure. So, if your hardware raid broken, you still have all your data save on you 10Tb drives, but have no parity anymore and need to re-build array in degraded state, which is risky.
So, what's your recovery strategy from motherboard failure? Do you have spare one available (or can quickly get one if needed)? Can you restore your "hardware raid" setup on new motherboard? Depending on this, your 2nd setup might be a good one or risky one.
due to the flexibility of ATX components, and not needing to deal with 7000 RPM NIDEC fans
Glad someone got the point of this chassis. It costs a fraction of the NAS hardware and looks very suitable for those who wants lost of drives but don't want racks and turbojet sounding cooling.
Yes, you might be right. Hope it got better last year - my first attempt to use it wasn't very successful. I am still using OmniOS + Napp-it for my hope setup, will probably try Scale later this year again.
People seems don't like it much, but who cares. Op asked, I shared what I would do. Op needs to spend $6k on drives alone, so why spend more on the chassis? Whatever.
Bro, not everyone can or want host a rack case, taking into account size and noise. You want to suggest something else - feel free too. I don't need you opinion about my suggeation.
40 or 400? I assume 400 since you mention hundreds of HDDs. Also, usb-c pluggable storage is not NAS, it is DAS.
Even with 24Tb drives you will need about 20 of them (including some redundancy), so it will be large NAS. How handy/willing are you to setup OS yourself? Or you are looking for ready-to-use platform?
My view on this was always driven by simple idea - consider HDD to be disposable and make your storage resilient for a drive failure. If you do that, you can surely use used drive to save (if you willing to). If it works, it works. If it fails you just replace it. If you are lucky you will save $$, if you not, you might loose some $$, but your data will be save.
If you rely on the single drive health for your data safety (I suggest not, but you do you), you might want to buy more expensive new drives - they have better probability to work more reliable (but this is not guaranteed!)
Nothing to do with Arch. Junit is a library and not executable. Tests supposed to be running using maven or gradle.
BTW, you supposed to be fetching junit as project test dependency and not installing it into host system.
What filesystem you are using? You can always change partition layout using tools like GParted. Since this is system partition you need to resize, easiest way is to create GParted Live bootable USB, boot from it and perform the resize process using simple GUI.
Using refind for years, have dual boot with full disk encryption and secure boot and zero issues at all - small, smart, easy configurable software. GRUB 1 was good, GRUB 2 is way overcomplicated - you can't even change config manually and should generate it using utils...
Disagree. The grub is useful in few specific use cases nowadays and things like refind are easier to install/configure/use for dual boot or scenarios where efiatub and systemd-boot are not sufficient.
Reading and understanding the code is what programmers are paid for. Writing code always was an easy part, even prior to AI.
I meant mixed array of course, i.e. 4x10Tb and 20x1Tb. You can build 6x10tb by making two RAID-0 from 10x1Tb (same as your setup 2). Now this setup can sustain failure of all 20 of 1Tb drives.
Point is, there is no magic here. Having raid-0 as vdevs in your raid-z2 won't change anything - any disk fail and you need to replace it and rebuild the array. Mathematical exercise you are doing doesn't make much sense since it all about probabilities and "what if".
Where did I say it protects? Your zfs array consist of vdevs and resiliency of the array depends on number of vdevs for parity. In first setup 1 disk is 1 vdev. In second setup some vdevs consist of 2 disks, but failure of any of it (or both) means failed vdev. The fact failed disks might be from same vdev adds you this "extra protection".
You can get this logic futher and take 10 of 1tb drives to raid-0 - you will still have 10tb vdev, and your setup now can sustain 10 disks failure! Is it true? Yes! Does this setup makes sense? No.
Standard array have unused capacity, which you use in 2nd setup. This adds some resiliency to the 2nd setup at the cost of setup and recovery complexity. I don't see any magic here.
You forgot to add "hardware raid controller/motherboard" dying to the 2nd scenario. In first scenario, if something happen to your PC, you just re-connect drives to the new one and re-import the pool. If second - it depends. Would you be able to re-configure your "hardware raid" on the new PC? If this is some dedicated raid controller, most probably yes. If this is some "hardware" raid built into motherboard, I am not sure. So, if your hardware raid broken, you still have all your data save on you 10Tb drives, but have no parity anymore and need to re-build array in degraded state, which is risky.
So, what's your recovery strategy from motherboard failure? Do you have spare one available (or can quickly get one if needed)? Can you restore your "hardware raid" setup on new motherboard? Depending on this, your 2nd setup might be a good one or risky one.
Not true. Zfs rebuild time depends on actual used space, unlike the hardware raid since zfs knows where the data is.
Yes, it will be big and painful migration. So far Scale didn't convince me it worse it.
Glad someone got the point of this chassis. It costs a fraction of the NAS hardware and looks very suitable for those who wants lost of drives but don't want racks and turbojet sounding cooling.
Yes, you might be right. Hope it got better last year - my first attempt to use it wasn't very successful. I am still using OmniOS + Napp-it for my hope setup, will probably try Scale later this year again.
People seems don't like it much, but who cares. Op asked, I shared what I would do. Op needs to spend $6k on drives alone, so why spend more on the chassis? Whatever.
Bro, not everyone can or want host a rack case, taking into account size and noise. You want to suggest something else - feel free too. I don't need you opinion about my suggeation.
I would go with something like this: https://www.amazon.com/dp/B0D69J9HDQ
Would setup TrueNAS Core, zfs, 2x pools 8+2 drives in raid-z2 striped + some ssds for caches.
You would want 10Gb network for this, so add 10GBe card. PC platform doesn't matter much, but should be good enough to get all these bytes moving.
Not sure about off-the-shelf options though - may be people would suggest some.
40 or 400? I assume 400 since you mention hundreds of HDDs. Also, usb-c pluggable storage is not NAS, it is DAS.
Even with 24Tb drives you will need about 20 of them (including some redundancy), so it will be large NAS. How handy/willing are you to setup OS yourself? Or you are looking for ready-to-use platform?
My view on this was always driven by simple idea - consider HDD to be disposable and make your storage resilient for a drive failure. If you do that, you can surely use used drive to save (if you willing to). If it works, it works. If it fails you just replace it. If you are lucky you will save $$, if you not, you might loose some $$, but your data will be save.
If you rely on the single drive health for your data safety (I suggest not, but you do you), you might want to buy more expensive new drives - they have better probability to work more reliable (but this is not guaranteed!)
Yes, I am using it with KDE in Arch for many ears already, supper happy. This thing is so universal, so it can launch anything after login!
Than you don't need external support as well probably. Good luck with your "project", suckless guy!
His does it matter? Best practices applies for both small pet projects and huge enterprise applications.
This is not matter of preference, this is development standards and best practices.
Nothing to do with Arch. Junit is a library and not executable. Tests supposed to be running using maven or gradle. BTW, you supposed to be fetching junit as project test dependency and not installing it into host system.
What filesystem you are using? You can always change partition layout using tools like GParted. Since this is system partition you need to resize, easiest way is to create GParted Live bootable USB, boot from it and perform the resize process using simple GUI.
btrfs with snapahotting + btrbk to sync snapshots to NAS.
Using refind for years, have dual boot with full disk encryption and secure boot and zero issues at all - small, smart, easy configurable software. GRUB 1 was good, GRUB 2 is way overcomplicated - you can't even change config manually and should generate it using utils...
Disagree. The grub is useful in few specific use cases nowadays and things like refind are easier to install/configure/use for dual boot or scenarios where efiatub and systemd-boot are not sufficient.
Use official install guide and not some random guide found on internet.
OMG, how this even closely related to Arch sub?!