On 11/4/23 05:39, Andy Smith wrote:
Hi Gene,
On Fri, Nov 03, 2023 at 12:27:19PM -0400, gene heskett wrote:
Thanks for help with dmsetup.
dmsetup is very much the wrong approach for you - it's too
low-level.
LVM alone is probably not the best idea either. For your use case as
I understand it, mdraid in RAID1 or RAID10 is probably the best
solution.
I regret I am not able to assist you with the problems you have with
your existing RAID10. Changing it for just LVM, or trying to do it
"by hand" with dmsetup are likely to be mistakes however.
I'm afraid I have to agree. I've easily gotten to the last example Andy
Cater gave me, but these red hat sourced man pages are full of very
copious examples while being totally opaque as to what the examples do.
And that led to my creating a 3.7T lvm that had no free space. Wash
rinse, repeat. Frustration is too mild a word.
Maybe it is time to just buy a "black box" NAS device and make all
this someone else's problem in return for money. It's not the way I
go, but you have had a lot of trouble getting your own mdraid to
work.
Good advice maybe, Andy Smith, thank you, but that puts it all at the
mercy of a $5 cable. Not exactly my cup of tea. Since I'm into
designing stuff in OpenSCAD, 3d printing the output, made into gcode
with Cura, and none of the common tools for making gcode to drive the
printers, or the printers own firmware, has learned how to roll up the
code into repetitive loops, instead generating step by step printer
instructions, so even the simplest part is half a gig of g-code. So the
data is growing like a cancer. Really complex parts might be 50 gigs of
g-code and takes the printer a week or more to make.
G-code, properly written is like a .pdf, its the best compression we
have. I write it by hand for linuxcnc and have one 90 LOC file that
takes the machine 3 days to run. Remove the comments and it fits on one
side of one sheet of paper.
Take care & stay well, Andy.
Thanks,
Andy
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