Excited for Btrfs RAID1's "preferred read device" feature in Linux 6.14. This allows to have one fast device, example SSD backed bcache device and other slow cheap hard drive. We can set the bcache deice as preferred read device so reads are always fast.
It also wears down only one disk reducing the chance of both the disks evenly wearing out which increases the chances of both of them failing around the same time.
From the pull request:
> more read IO balancing strategies (experimental config), add two new
ways how to select a device for read if the profiles allow that (all RAID1*),
the current default selects the device by pid which is good on average
but less performant for single reader workloads
- select preferred device for all reads (namely for testing)
- round-robin, balance reads across devices relevant for the requested IO
range
Source: https://lore.kernel.org/lkml/cover.1737393999.git.dsterba@suse.com/
#btrfs #linux #linux_6_14 #filesystems #bcache #raid #raid1 #nas #selfhosting #selfhost
@var it’s nice to have a separate dedicated computer for managing the backup. You really need to have all backup disks attached to SATA. USB is not reliable for backup purposes because is likely to lose data when a sudden power outage occurs. So if you have (for example) 4 disks that all attach to SATA, that is a lot of IO happening, which you really don’t want when you are using your computer for other things that may need that IO, especially games or multimedia. You’ll notice the performance hit if it is backups are happening on a computer that you use for other things.
Also, it’s nice that the NAS comes with software that takes care of things like software RAID-1 or #ZFS for you. Some #NAS products will do #RAID1 in hardware for you.
Time to sort out my data backups accumulated over time and purge the unneeded old ones 🙃
I was also thinking replacing them with SSDs but don't see much benefit atm, only cost.
Better if I make a NAS from the old miniITX system laying around (even if it's quite underpowered and missing some parts 😬 ) and use 2 of those HDDs in a RAID1... When I will feel myself not too lazy ofc 😀
How I switched us.slackware.nl from lilo to grub
Today I finally switched my US server from lilo to grub as its bootloader.
The reason for doing it now, is that I usually do not have a remote IP console (KVM) to that physical server which is located in a US datacenter whereas I live in Europe. This server's storage is configured as software RAID1
https://alien.slackbook.org/blog/how-i-switched-us-slackware-nl-from-lilo-to-grub/
#Slackware #Software #gdisk #gpt #grub #lilo #mbr #raid #raid1
Trying to get some decent perf out of an old HP Microserver with hybrid Linux #RAID1 (ssd+sata). It can be done!