[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: raid10 is killing me, and applications that aren't willingtowait for it to respond



On 12/13/23 16:55, Andrew M.A. Cater wrote:
On Wed, Dec 13, 2023 at 02:19:07PM -0500, gene heskett wrote:
On 12/13/23 13:24, Andrew M.A. Cater wrote:
On Wed, Dec 13, 2023 at 10:26:19AM -0500, gene heskett wrote:
Greetings all;


Hi Gene,

Respectfully, if I were you, I might consider tearing down one machine
and rebuilding the data on it bit by bit.

Questions to answer first:

1. Are all the disks the same size?

yes
2. Are all the disks the same manufacturer?
All 1T Samsung 870's
3. Are they all connected to the same controller if this is an add-in card?

yes. add in card.

If not an add in card:

4. Are they all connected to the SATA sockets on the motherboard?
motherboard?

No. All connected to a 6 port board, in port order.

4. If to the motherboard, are they the only devices connected to the SATA
sockets there?
No, main board is Asus Prime Z370-A II but it only has 6 ports, all busy.

5. What is the primary device that has / on it - NVME / SSD / spinning rust?

SSD, another 1T samsung.

So one more time: Why can't I use my software raid10 on 4 1T SSD's ?????


_How did you set the RAID 10 up?

Would you be willing to scrap the data in /home and start again?
No, I have a lot of work I'd be the rest of my life rebuilding.
Howevr, in preparation to restarting amanda, I've just installed a 2nd sata
add on card, this one with 16 ports, 4 of which are already loaded with 2T
gigastones so I do have the means to rsync /home to 1 or more of those.


Copy /home to another drive - then disconnect power and drive cables to it.
You seem to like adding many disks to one machine: I'd honestly suggest
grabbing another machine to put half these disks into.

If you've got NVME - put that in as your boot drive, maybe.
Maybe use LVM and guided partitioning with all files in one partition.

I've never had NVMe before, and installing what I have is a teardown to get to where it goes. Other stuff has to come out first then pi back in. What do I expect to see it do that's new?

Then use the four 1T disks and the four way card and mdadm to set up the
mirrored RAID with LVM on top for /home and add that to your fstab.

Rsync the data back from your one drive that you put the original /home
onto and you're done with that disk.

Do all this with a brand new bookworm disk and linuxcnc and you're done

Simplify, simplify, simplify :)

Even more simplifed Andy. this machine does not have a realtime kernel as it will never actually command a machine so the only linuxcnc exercise is running a simulator to check the gcode I write for subtractive manufacture. But even that's fairly rare because my machines are not one size fits all basic, they know tricks unique to each machine that the simulators know nothing about. So generally, I write the gcode for that machine on that machine where I can single step and stop it before the crash that might wreck $20 to $200 worth of tooling. :o(

Andy
(amacater@debian.org)

.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis


Reply to: