Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #237847

Re: how best to do

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: how best to do
Date 2021-07-28 18:40 +0200
Message-ID <CFUL7-4hf-3@gated-at.bofh.it> (permalink)
References <CFS6B-2AZ-3@gated-at.bofh.it> <CFTm1-3va-1@gated-at.bofh.it> <CFU8p-3NP-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Gene Heskett wrote: 
> On Wednesday 28 July 2021 11:04:59 Dan Ritter wrote:
> > The standard SATA interface is one port, one drive. (There are
> > exceptions which are not worth talking about here.) If you can
> > plug in a fairly cheap PCIe to SATA card, you can get 2 or 4 or
> > 8 more connectors.
> >
> I have spares of both the very short slot and the longer slot, whatever 
> it is, this is an Asus Prime X370-A II motherboard, so name the 
> preferred poison for a new sata card.
>  
> > Your choices for 4 drives are:
> >
> > RAID10: write 2 copies to four drives, read from all four;
> > capacity is 2 drives worth. Survive any one drive failing and
> > also survive two drives failing if they are on different
> > stripes.
> >
> > RAID6: write one copy plus two sets of parity information to
> > four drives, read from all four to reconstruct data. Speed is
> > equivalent to one drive. You can survive any two drives failing.
> 
> Raid6 sounds promising. Equivalent capacity is also one drive?

No, you actually get about 2 drives of capacity out of 4 here.


> > All of these can be handled in software by the kernel, managed
> > by mdadm. You can easily transfer the drives to some other Linux
> > box.
> 
> Name the poison card, and I'll get it and 4 more drives as this tower has 
> lots of empty drive space suitable for hiding SSD's.

$20 for 2 ports:
https://www.newegg.com/syba-sy-pex40039-sata-iii/p/N82E16816124045

$80 for 6 ports:
https://www.newegg.com/p/14G-000G-00089?Item=14G-000G-00089

No drivers needed, kernel should just recognize them.

Plug in the drives and read https://wiki.debian.org/SoftwareRAID

You'll end up with something like

--create /dev/md0 --level=6 --raid-devices=4 /dev/sdc1 /dev/sdd1
/dev/sde1 /dev/sdf1

Then 

mkfs.ext4 /dev/md0

and mount where you will.


-dsr-

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

how best to do Gene Heskett <gheskett@shentel.net> - 2021-07-28 15:50 +0200
  Re: how best to do Dan Ritter <dsr@randomstring.org> - 2021-07-28 17:10 +0200
    Re: how best to do Gene Heskett <gheskett@shentel.net> - 2021-07-28 18:00 +0200
      Re: how best to do Dan Ritter <dsr@randomstring.org> - 2021-07-28 18:40 +0200
        Re: how best to do deloptes <emanoil.kotsev@deloptes.org> - 2021-07-28 23:10 +0200
          Re: how best to do Greg Wooledge <greg@wooledge.org> - 2021-07-29 01:30 +0200
            Re: how best to do deloptes <emanoil.kotsev@deloptes.org> - 2021-07-29 02:50 +0200
            Re: how best to do Gene Heskett <gheskett@shentel.net> - 2021-07-29 03:20 +0200
        Re: how best to do Keith Bainbridge <keithrboz@gmail.com> - 2021-07-29 05:50 +0200
          Re: how best to do Gene Heskett <gheskett@shentel.net> - 2021-07-29 10:00 +0200
    Re: how best to do Charles Curley <charlescurley@charlescurley.com> - 2021-07-28 19:10 +0200
      Re: how best to do <tomas@tuxteam.de> - 2021-07-28 19:30 +0200
  Re: how best to do Charles Curley <charlescurley@charlescurley.com> - 2021-07-28 18:40 +0200
    Re: how best to do Gene Heskett <gheskett@shentel.net> - 2021-07-28 19:10 +0200
    Re: how best to do piorunz <piorunz@gmx.com> - 2021-07-29 04:00 +0200
  Re: how best to do David Christensen <dpchrist@holgerdanske.com> - 2021-07-29 01:00 +0200

csiph-web