It seems weirdly difficult to find a good solution to attach HDDs to my pi. Best case would be for me a enclosure with small power supply, space for my pi, and at least 2 bays for HDDs, rather 4. All that for under 100€ of cause :D

I could not really find cheap hhd enclosures that connect via usb. Any recommendations? I don’t really want to use HDD toasters, they feel not permanent enough for a Nas. I could also not find sata to usb hats for the pi that are available right now

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    7 months ago

    Your raspberry pi doesn’t have sata or pcie support. Depending on your use case you may want something other than USB as USB is slow

          • maiskanzler@feddit.de
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 months ago

            From what I read online that can lead to instabilities and was therefore disabled on Linux.

              • maiskanzler@feddit.de
                link
                fedilink
                English
                arrow-up
                1
                ·
                7 months ago

                I did too, but shortly after decommissioning that server the drive became unresponsive. I really dodged a bullet without even realizing at the time. SMART data did not work and may have alerted me in that case.

                Also, unrelated to SMART data, the server failed to do reboots because the USB-SATA adapter did not properly reset without a full power cycle (which did not happen with that mainboard’s USB on reboots). It always git stuck searching for the drive. Restarting the server therefore meant shutting it down and calling someone to push the button for me - or use Wake-On-LAN which thankfully worked but was still a dodgy workaround.

    • WbrJr@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      7 months ago

      I have 2 HDDs with a speed of 180mb/s with a burst of 6gb/s according to the Seagate website. Usb3.0 has a data transfer rate of 5gbit/s

      So the usb connection will be the bottle neck, but 1. My network speed is not that fast and 2. 5gbit/s is still plenty I think?

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        7 months ago

        First of all, you will never achieve usb3 full theoretical speed. Its just not going to happen. Even if you could though you wouldn’t be able to get full speeds because your bandwidth is split between devices. You will be sharing the bus between plugged in devices along with on board hardware devices.

        • ShortN0te@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          A USB 3.2 gen 1 connection (5 Gb/s) is still plenty for multiple HDDs AND when you have no need for compute on the NAS the network Link is the relevant bottleneck which is half of the USB connection.

          Then USB 3.2 gen 2 (10 Gb/s) interfaces on HDD enclosures get more common every day which gives even more headroom with little more expenses.