Re: Help need to fix server disk errors.
ZFS vs MDADM raid might be a option that the OP might consider, when /if rebuilding.
Not sure what the OP's objectives are. (I mean we know he wants to fix the array, but rather long term storage redundancy needs 1, 2, or 3 disk failure)
I have ran both I did like mdadm in a raid 5 array, but ZFS seems to be way easier to setup / maintain, but then again I haven't ran it for years yet. Like some on here have. But so far it's been great. Both have strong points.
I went 9 drives wide @ 4TB a drive with a ZFS pool and will soon add at least three hot spares to that data pool.
My post doesn't fix the OP issues but does provide food for thought for the OP in a planning stage.
And yes you can add hotspares to a mdadm raid 1 array. Which is the take away. Hotspares allows time to get a new drive into the array/pool.
Like the The Fu says raid is not a backup. Personally I store backups and snapshots separately. I'm constantly (as in daily) going to my NFS server via ssh to check the drives health. Only thing a raid does is allows you time to get a drive in before 1 drive failure turns into two or three failing drives, other than get a group of drives to act as one. Primary idea is to replace the drive before it actually fails.
The Fu will know way more than I on how to fix this to work with LVM. I Just wanted to throw the hotspare idea out there.
Last edited by sgt-mike; November 19th, 2024 at 12:33 PM.
Once more into the fray.......
Into the last good fight I'll ever know.
Live and die on this day.......
Live and die on this day.......