I would recommend move to BTRFS or ZFS. Easyer and safer to work with.
[deleted]
Submitted 3 days ago by thallamabond@lemmy.world to selfhosted@lemmy.world
Comments
Eideen@lemmy.world 3 days ago
Overspark@feddit.nl 3 days ago
Don’t use the RAID56 functionality of BTRFS, the official docs still list it as unstable. Apart from that it’s pretty good.
AbidanYre@lemmy.world 3 days ago
Still? Good God, it’s been like 15 years.
sugar_in_your_tea@sh.itjust.works 3 days ago
Agreed. I’m using it as a mirror, and I’ll probably add another mirror once I run out of space.
felbane@lemmy.world 3 days ago
Bro The RAID Fuckin’ Sucks
ZFS for “RAID” is fine. Btrfs for a single disk (or on top of mdraid or hardware raid) is also fine.
Eideen@lemmy.world 3 days ago
I am running BTRFS Raid 6. i have no problems with it. You need a UPS to avoid transient errors.
thallamabond@lemmy.world 3 days ago
Here is the tutorial I’m using
dev.to/…/how-to-convert-lv-or-md-raid1-and-0-into…
So far I’m about 22% done converting the Raid 1 to Raid 5, looks like it will take around 6 hours.
Anyone else done this? Any pointers?
frongt@lemmy.zip 3 days ago
Have backups for anything you can’t afford to lose, and be patient.
3dcadmin@lemmy.relayeasy.com 3 days ago
You’d be better converting to ZFS or something else rather than just RAID (I’m assuming it is hardware raid) but I bet that has been mentioned a lot
neidu3@sh.itjust.works 3 days ago
Ooh, I did this a while back, except it was Raid5 to Raid6. Turns out one of the servers in a cluster were, for some reason, set up with 11 disks in raid5 + hot spare, except for raid 6 on all raids on all servers. Took me embarrassingly long to realize why storage space was as expected despite one disk being reported as not in an array.
thallamabond@lemmy.world 3 days ago
Just so I’m clear on this, is “raid controller” a physical device? Real servers are like wizard magic to me.
neidu3@sh.itjust.works 3 days ago
They can be. Some motherboards come with one built in. But in most cases it refers to its own PCIe card, such as one of the many models from LSI Megaraid.
The advantage of this is that it can have a small capacitor bank (or a proper battery) to provide emergency power so that if something stupid happens such as motherboard failure, the raid controller will use this power to cleanly write to the disks.
frongt@lemmy.zip 3 days ago
If you’re adding drives with more capacity, why bother converting? Just create the new one, copy the data, then expand over the old disks.
thallamabond@lemmy.world 3 days ago
Ok that is why this is not a tutorial. This idea is much better.