7
8 bay 3.5" RAID enclosures
(lemmy.world)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
The main issue is statefullness of the host.
Say you're on a laptop, and you get an external JBOD box without any hosted controller. You use that laptop to setup a RAID1 array on 2 disks, and go about your business. Few weeks in you're in the middle of some editing of video or whatever, and you have a power outage.
That RAID array is assuredly damaged or dead. Your host machine being the controller in the middle of a write when the entire array dissapears is going to give up quickly, and the cached data in flux to write is gone. You miiight be able to recover the array if you're lucky, but whatever you're working on is gone.
A number of diff5scenariis where this may happen exist without a power outage, but the problem is the target not being able to manage its own interrupt, and you have two different states in two different devices that won't match. It's toast.
I don't see how this would apply. Having the disks connected externally is the same as having them connected internally, maybe over a different bus/protocol, but the principle is the same. No RAID solution I know of would lose the array on a power outage (AFAIK).
Honestly I don't see how interrupt handling would be any different between internally or externally connected devives, except for different buses/protocols handling it differently intrinsicly. Are you absolutely sure this is a thing or are you just speculating?
Maybe I'm too spolied by using ZFS, but again I don't think this would actually be a problem. But AFAICT you don't even need a CoW filesystem for that to be not a problem. Every journaling filesystem (e.g. ext4) would solve this by dismissing the newest non-consistent data and restore a working state.
I mean, there are 60-bay 19" expansion units for enterprise storage systems. I doubt these would be a thing if having the drives connected externally was a problem.
No, it 1000% is not, especially in the case of USB that I used. Even in the way Linux handles everything as a file and target, it is vastly different.
Hardware RAID enclosures have batteries on the disk controllers for this very reason. We aren't talking about those though, we're talking about software RAID on JBOD, which wouldn't have those sanity protections. Here's some random blog explaining deeper.
See above
That's a filesystem solution to a hardware problem, so yes, probably a bit spoiled there, or at least it's skewing your understanding of what RAID is and how it works. One of the reasons ZFS exists, actually. It's nice to have nice things though.