While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Fedora KDE gets approval to be upgraded to sit alongside Fedora Workstation
- Steam gets new tools for game devs to offer players version switching in-game
- Palworld dev details the patents Nintendo and The Pokemon Company are suing for
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Sony say their PSN account requirement on PC is so you can enjoy their games 'safely'
- > See more over 30 days here
-
Old Skies from Wadjet Eye Games looks like one to remem…
- TheSHEEEP -
Old Skies from Wadjet Eye Games looks like one to remem…
- emphy -
Classic Unreal Tournament and Unreal now easier to down…
- emphy -
Minecraft-like free and open source game VoxeLibre (for…
- kneekoo -
Mesa 24.2.7 out now and Mesa 24.3 may come sooner than …
- nnohonsjnhtsylay - > See more comments
- Steam and offline gaming
- missingno - Does Sinden Lightgun work?
- helloCLD - No more posting on X / Twitter
- Liam Dawe - Weekend Players' Club 10/11/2024
- Pengling - Upped the limit on article titles
- eldaking - See more posts
View PC info
You are indeed correct that it is a grub2 issue....the raid driver from mdadm would need to be moved into grub so that the array can be assembled prior to OS boot, as it would need to know where the /boot partition and linux-image are. Thusly, mdadm is incapable of RAID 0, since, at the current time, the mdadm driver is in the kernel image, and the kernel image would be scattered across the various block devices. mdadm with a RAID 1 array is just basically a "mirror" copy(hence raid mirroring) of block devices. Therefore, the kernel image isn't scattered across multiple block devices, and grub can find the /boot partion and load the kernel image. Ubuntu server install media will load mdadm and even install mdadm to your target devices. Ubuntu Desktop on the other hand....."Desktop users don't run RAID" seems to pretty much be the consensus in the Ubuntu community. Thusly, this requires a chroot, even for a RAID 1 array, though with RAID 1 you generally don't have to worry about not getting into the OS. I have a bigger need for MORE SPACE than i have a need for data integrity. Even still, i'd prefer a hardware controller even for RAID 1 as i could just move the entire batch(card and attached disks) to new hardware and boot(and have done so in the past, but using RAID 0 on the controller).
Linux kernels since like 2.6-ish have supported Areca hardware via the arc kernel module. In fact, where Linux really shines is its support for such types of cards: Areca, High Point, Promise...High end controller cards(as i said, mine cost me over $850 and i used it for several years. I passed it onto a friend who is now using it in one of his systems to learn RAID. He's a windows user.) Windows requires loading drivers most of the time for such cards.
Believe me, i'm probably as, or more, pendantic than you LOL....as i stated earlier, if you want to understand the processes a hardware controller handles for you, mdadm is the way to go, unless you need a bootable RAID 0.
I prefer XFS(according to benchmarks, it's the fastest performing filesystem around, although a bit fragile. it's terrible with power outages, though lately it seems to have improved). I haven't bothered to check the performance of btrfs. I have also not used LVM in many years either, so i can't speak to the performance of it nowadays. When i was experimenting with it years ago, the performance was utterly horrible, even with an XFS filesystem. I understand it has improved in striping the last several years, but i've become too spoiled by hardware and FakeRAID controllers.
addendum: i just checked on btrfs performance(source: Phoronix benchmark test published 3 July 2020). yep, looks like i'll be using XFS for quite some time, although F2FS is quite the contender.
Last edited by iwantlinuxgames on 3 August 2020 at 10:57 pm UTC
I don't use btrfs for the performance, I use it for the "avoid silent bitrot/diskerrors" advantage. And I think that there is an alternative installer for Ubuntu Desktop (I'm writing this from a Ubuntu raid-5 desktop at home and I had to do zero shenanigans to get it to work, but then even if it's a 20.04 it started out as a 8.04 so things can have changed since then with the desktop installer, my desktop at work is also a raid-5 that I think started as a 14.04LTS).
View PC info
yeah...i'm too impatient LOL...the little bit of important data i have i backup fairly regulary...the rest can easily be replaced(although the 600+ kung fu movie collection i have isn't easily replaced. some go back as far as the 60s and tracking them down would be almost nigh impossible.). I gotta say though....the 2+ TB steam library takes a couple of days to reinstall.
I'm on Kubuntu 20.04(GNOME Desktop drives nuts!) and the installer takes that kind of tinkering with mdadm. I "HAD" to make sure i could boot and mount the array since it was mounting on /home and i have settings in there i've been carrying since 12.04. i think after the upgrade to the High Point 7303 w/ 4x 2TB Sabrent Rocket Qs i'm going to start a fresh /home and just copy out the stuff i want and start with some new settings for things(ughh...means i have to try and remember what-all chrome tabs i have open(2 windows with about 20+ tabs in each...it's convenient to just have the cache and settings already for chrome on a fresh install)). i'm so ready to get rid of this 6disk hotswap bay and all that friggin cabling. I have a 5.25in 7port USB bay to go in there. For the life of me, i can't figure out why they put the majority of USB slots on the rear-side of the mobo...Terribly inconvenient if you ask me. Plus, in a year or two when i upgrade the mobo and CPU to a PCIE gen 4 3rd gen Threadripper, i can just pop the 7303 in a PCIE bus and boot. In theory anyway...i had the same thought about the last upgrade from an AMD 8220(?..can't remember but i know it was in the 8xxx series of CPUs..8core) to the Threadripper 1950X and it didn't boot. kernel panicked with something about "SEV" or some such and i had to do a fresh install.
View PC info
View PC info
could you point me to some documentation on how you achieved this?
View PC info
View PC info
that would be awesome thanks!!! i've spent the last year+ off and on looking into a bootable md raid 0 and have had pretty much 0 luck.
Last edited by iwantlinuxgames on 5 August 2020 at 1:05 am UTC
View PC info