Re: [DNG] do I need drivers for

2022-06-24 Thread Simon
Antony Stone  wrote:

> PS: Just in case you wonder "hm, sdv is awfully close to sdz - what happens 
> next?", the answer is simply that the standard Linux kernel then moves on to 
> device names /dev/sdaa, /dev/sdab, etc...
> 
> I'm not sure where the current limit of device names is, but I don't think 
> you'll be able to reach it with any hardware means of connecting drives (you 
> might manage it at a push with iSCSI devies etc).

Ooh, a few multi-port cards and then some port expanders. Backblaze are up to 
60 drives in a box !
https://www.backblaze.com/blog/open-source-data-storage-server/

Simon

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] do I need drivers for

2022-06-22 Thread Tomasz Torcz
On Wed, Jun 22, 2022 at 08:22:38AM -0500, o1bigtenor via Dng wrote:
> > > > > Have found some PCIe 3.0 cards with 16 SATA port count.
> > > > > Do I need any kind of special driver to use  this many SATA ports?
> > > > What kind of SATA cards (brand, model, chip)?
> > > >
> > >
> > > SATA PCIe Adapter 16 Port SATA III to PCI Express 3.0 X1 Controller
> > > Expansion Card ASM1064 JBM575 Chip
> >
> >   Best try is always to search for the chip markings. You would find
> > this thread:
> > https://lore.kernel.org/linux-ide/05f0db0a-e961-0f68-4302-68be03459...@opensource.wdc.com/T/
> > There's a slight difference (ASM1062 vs ASM1064) but the card should work 
> > with
> > standard AHCI driver (you may need to add pciids or bind the driver to
> > the card).
> 
> In inverse order:
> This particular chip '1064' is not listed in the pci.id directory
> although the company is.
> Will that cause problems for my use?
> Binding the driver to the card does not look at all straightforward.

  Binding the driver is a matter of simple `echo` to the file in sysfs.
See this article: https://lwn.net/Articles/143397/
and examples for PCI devices at
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-pci

  Providing _exact_ parameters to use is not possible at this time.
Only after you have the card in your computer you can use `lspci` to
check for exact bus address.


> The AHCI driver lists the ASM1062 and also the ASM1062 with the JMB575.
> There is no listing for the 1064 or the other two newer chips.
> Does this mean that I might have issues using this card?

  I don't expect any problems, but without the card we can't be 100%
sure.
  I suggest you should buy the card from the place with reasonable
return policy. And return it if you can't make it work.

-- 
Tomasz Torcz   72->|   80->|
to...@pipebreaker.pl   72->|   80->|

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] do I need drivers for

2022-06-22 Thread o1bigtenor via Dng
On Tue, Jun 21, 2022 at 11:53 PM Tomasz Torcz  wrote:
>
> On Tue, Jun 21, 2022 at 09:13:35PM -0500, o1bigtenor via Dng wrote:
> > On Tue, Jun 21, 2022 at 5:16 PM tito via Dng  wrote:
> > >
> > > On Tue, 21 Jun 2022 17:10:51 -0500
> > > o1bigtenor via Dng  wrote:
> > >
> > > > Greetings
> > > >
> > > > Bought a mobo that said that there was room for 8 SATA ports and 2 M2 
> > > > drives.
> > > >
> > > > It took looking in the fine print to find that when using M2 drives
> > > > that one loses an
> > > > SATA port for each M2 drive.
>
>   They may be SATA-only M.2, not NVMe. Read the manual closely.
>
> > > > Have found some PCIe 3.0 cards with 16 SATA port count.
> > > >
> > > > Do I need any kind of special driver to use  this many SATA ports?
> > >
> > > What kind of SATA cards (brand, model, chip)?
> > >
> >
> > SATA PCIe Adapter 16 Port SATA III to PCI Express 3.0 X1 Controller
> > Expansion Card ASM1064 JBM575 Chip
>
>   Best try is always to search for the chip markings. You would find
> this thread:
> https://lore.kernel.org/linux-ide/05f0db0a-e961-0f68-4302-68be03459...@opensource.wdc.com/T/
> There's a slight difference (ASM1062 vs ASM1064) but the card should work with
> standard AHCI driver (you may need to add pciids or bind the driver to
> the card).

In inverse order:
This particular chip '1064' is not listed in the pci.id directory
although the company is.
Will that cause problems for my use?
Binding the driver to the card does not look at all straightforward.
If this is something that
I would need to do - - - - would I be able to get assistance (please)?

Reading in ASMedia Technologies web site.
in ascending order:
1061 - - - 2 ports
1062 - - - Gen 2 x 2 (pcie)  - 2 ports
1064 - - - Gen 3 x 1 (pcie) - 4 ports
1164 - - - Gen 3 x 2 (pcie) - 4 ports
1166 - - - Gen 3 x 2 (pcie) - 6 ports

The AHCI driver lists the ASM1062 and also the ASM1062 with the JMB575.
There is no listing for the 1064 or the other two newer chips.
Does this mean that I might have issues using this card?

Greatly appreciating the gentle introduction to the arcane arts of 'under the
hood tinkering' (!!!).

Thank you greatly for your assistance.

Aj

>
>
> --
> Tomasz Torcz   72->|   
> 80->|
> to...@pipebreaker.pl   72->|   
> 80->|
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] do I need drivers for

2022-06-21 Thread Tomasz Torcz
On Tue, Jun 21, 2022 at 09:13:35PM -0500, o1bigtenor via Dng wrote:
> On Tue, Jun 21, 2022 at 5:16 PM tito via Dng  wrote:
> >
> > On Tue, 21 Jun 2022 17:10:51 -0500
> > o1bigtenor via Dng  wrote:
> >
> > > Greetings
> > >
> > > Bought a mobo that said that there was room for 8 SATA ports and 2 M2 
> > > drives.
> > >
> > > It took looking in the fine print to find that when using M2 drives
> > > that one loses an
> > > SATA port for each M2 drive.

  They may be SATA-only M.2, not NVMe. Read the manual closely.

> > > Have found some PCIe 3.0 cards with 16 SATA port count.
> > >
> > > Do I need any kind of special driver to use  this many SATA ports?
> >
> > What kind of SATA cards (brand, model, chip)?
> >
> 
> SATA PCIe Adapter 16 Port SATA III to PCI Express 3.0 X1 Controller
> Expansion Card ASM1064 JBM575 Chip

  Best try is always to search for the chip markings. You would find
this thread:
https://lore.kernel.org/linux-ide/05f0db0a-e961-0f68-4302-68be03459...@opensource.wdc.com/T/
There's a slight difference (ASM1062 vs ASM1064) but the card should work with
standard AHCI driver (you may need to add pciids or bind the driver to
the card).


-- 
Tomasz Torcz   72->|   80->|
to...@pipebreaker.pl   72->|   80->|

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] do I need drivers for

2022-06-21 Thread o1bigtenor via Dng
On Tue, Jun 21, 2022 at 5:16 PM tito via Dng  wrote:
>
> On Tue, 21 Jun 2022 17:10:51 -0500
> o1bigtenor via Dng  wrote:
>
> > Greetings
> >
> > Bought a mobo that said that there was room for 8 SATA ports and 2 M2 
> > drives.
> >
> > It took looking in the fine print to find that when using M2 drives
> > that one loses an
> > SATA port for each M2 drive.
> >
> > So in a system with 2 M2s and a pair of SSDs for the operating system
> > I've only got space left for 4 SATA drives - - - - and I have 5 that
> > are to be placed in the case after everything is set up.
> >
> > The case has room for some over 20 more drives than I'm starting with
> > so space is NOT an issue.
> >
> > Have found some PCIe 3.0 cards with 16 SATA port count.
> >
> > Do I need any kind of special driver to use  this many SATA ports?
>
> What kind of SATA cards (brand, model, chip)?
>
>

SATA PCIe Adapter 16 Port SATA III to PCI Express 3.0 X1 Controller
Expansion Card ASM1064 JBM575 Chip
from newegg  .ca at under $140 w/o taxes.

There is only some $20 difference or so from some of the 8 port cards
to this one.
There are drivers mentioned for Windows but I can't find anything when
I'm searching
for linux + PCIe + card + SATA controller + drivers + ASM 1064 so
thought I would
tap the community to find answer(s).

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] do I need drivers for

2022-06-21 Thread Antony Stone
On Wednesday 22 June 2022 at 01:04:24, Antony Stone wrote:

> I have a machine with a motherboard having 6 SATA ports, into which are
> connected one SSD and five HDDs; it also has two USB3 ports into which are
> plugged two Fantec 8-drive external cabinets, each containing 8 SATA disks,
> so the total range of my /dev/sdX devices is /dev/sda to /dev/sdv.

PS: Just in case you wonder "hm, sdv is awfully close to sdz - what happens 
next?", the answer is simply that the standard Linux kernel then moves on to 
device names /dev/sdaa, /dev/sdab, etc...

I'm not sure where the current limit of device names is, but I don't think 
you'll be able to reach it with any hardware means of connecting drives (you 
might manage it at a push with iSCSI devies etc).


Antony.

-- 
What do you call a dinosaur with only one eye?  A Doyouthinkesaurus.

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] do I need drivers for

2022-06-21 Thread Antony Stone
On Wednesday 22 June 2022 at 00:10:51, o1bigtenor via Dng wrote:

> Have found some PCIe 3.0 cards with 16 SATA port count.
> 
> Do I need any kind of special driver to use  this many SATA ports?

tito has a good question - what sort of cards are they?

But, in principle, no, you do not need any special driver to use a ridiculous 
number of SATA ports, or disks with any sort of connection.

I have a machine with a motherboard having 6 SATA ports, into which are 
connected one SSD and five HDDs; it also has two USB3 ports into which are 
plugged two Fantec 8-drive external cabinets, each containing 8 SATA disks, so 
the total range of my /dev/sdX devices is /dev/sda to /dev/sdv.

The standard (Beowulf at present) kernel just handles this fine.  I can do MD-
RAID and LVM2 (and also both) with the devices with no problem.

Many years ago I did the same sort of thing with IDE - I had PCI cards with 
two IDE connectors, each connector capable of two devices each (master + 
slave), and I could build machines with four such cards in (so, 4 x 2 x 2 = 16 
drives in total) again without doing anything special to the kernel.


Antony.

-- 
"When you talk about Linux versus Windows, you're talking about which 
operating system is the best value for money and fit for purpose. That's a very 
basic decision customers can make if they have the information available to 
them. Quite frankly if we lose to Linux because our customers say it's better 
value for money, tough luck for us."

 - Steve Vamos, MD of Microsoft Australia

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] do I need drivers for

2022-06-21 Thread tito via Dng
On Tue, 21 Jun 2022 17:10:51 -0500
o1bigtenor via Dng  wrote:

> Greetings
> 
> Bought a mobo that said that there was room for 8 SATA ports and 2 M2 drives.
> 
> It took looking in the fine print to find that when using M2 drives
> that one loses an
> SATA port for each M2 drive.
> 
> So in a system with 2 M2s and a pair of SSDs for the operating system
> I've only got space left for 4 SATA drives - - - - and I have 5 that
> are to be placed in the case after everything is set up.
> 
> The case has room for some over 20 more drives than I'm starting with
> so space is NOT an issue.
> 
> Have found some PCIe 3.0 cards with 16 SATA port count.
> 
> Do I need any kind of special driver to use  this many SATA ports?

What kind of SATA cards (brand, model, chip)?

> 
> I've tried looking - - - - can't seem to find anything.
> 
> Please
> 
> TIA
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng