Skip Navigation
Recommendations for Hardware for Physical Media/Jellyfin Server
    • Lenovo ThinkCentre / Dell OptiPlex USFF machine like the M710q.
    • Secondary NVMe or SATA SSD for a RAID1 mirror
      • Use LVMRAID for this. It uses mdraid underneath but it's easier to manage
    • External USB disks for storage
      • WD Elements generally work well when well ventilated
      • OWC Mercury Elite Pro Quad has a very well implemented USB path and has been problem-free in my testing
    • Debian / Ubuntu LTS
    • ZFS for the disk storage
    • Backups may require a second copy or similar of this setup so keep that in mind when thinking about the storage space and cost

    Here's a visual inspiration:

  • Splosion
  • You should see the microwave.

  • Slow sequential single file reads on ZFS
  • Yes, yes I would use ZFS if I had only one file on my disk.

  • Slow sequential single file reads on ZFS
  • OK, I think it may have to do with the odd number of data drives. If I create a raidz2 with 4 of the 5 disks, even with ashift=12, recordsize=128K, the performance in sequential single thread read is stellar. What's not clear is why this doesn't affect, or not as much, the 4x 8TB-drive raidz1.

  • Slow sequential single file reads on ZFS

    I built a 5x 16TB RAIDz2, filled it with data, then I discovered the following.

    Sequentially reading a single file from the file system gave me around 40MB/s. Reading multiple in parallel brought the total throughput in the hundreds of megabytes - where I'd expect it. This is really weird. The 5 disks show 100% utilization during single file reads. Writes are supremely fast, whether single threaded or parallel. Reading directly from each disk gives >200MB/s.

    Splitting the the RAIDz2 into two RAIDz1s, or into one RAIDz1 and a mirror improved reads to 100 and something MB/s. Better but still not where it should be.

    I have an existing RAIDz1 made of 4x 8TB disks on the same machine. That one reads with 250-350MB/s. I made an equivalent 4x 16TB RAIDz1 from the new drives and that read with about 100MB/s. Much slower.

    All of this was done with ashift=12 and default recordsize. The disks' datasheets say their block size is 4096.

    I decided to try RAIDz2 with ashift=13 even though the disks really say they've got 4K physical block size. Lo and behold, the single file reads went to over 150MB/s. 🤔

    Following from there, I got full throughput when I increased the recordsize to 1M. This produces full throughput even with ashift=12. My existing 4x 8TB RAIDz1 pools with ashift=12 and recordsize=128K read single files fast.

    Here's a diff of the queue dump of the old and new drives. The left side is a WD 8TB from the existing RAIDz1, the right side is one of the new HC550 16TB < max_hw_sectors_kb: 1024 --- > max_hw_sectors_kb: 512 20c20 < max_sectors_kb: 1024 --- > max_sectors_kb: 512 25c25 < nr_requests: 2 --- > nr_requests: 60 36c36 < write_cache: write through --- > write_cache: write back 38c38 < write_zeroes_max_bytes: 0 --- > write_zeroes_max_bytes: 33550336 Could the max_*_sectors_kb being half on the new drives have something to do with it?

    --- Can anyone make any sense of any of this?

    4
    Breaking Down the Housing Policy Blitz | #onpoli

    I wasn't aware Steve Paikin and John McGrath had a podcast on Ontario politics. I like it!

    0
    The beatings will continue until morale improves
  • Over the last 40 years in the US productivity has increased steadily and so have prices. Real wages have stayed flat.

  • Just a bunch of enclosures (JBOE)
  • Found the bit counter

  • Just a bunch of enclosures (JBOE)
  • Here's the box test thread if you're curious. 😊

  • Just a bunch of enclosures (JBOE)
  • I think I've seen this hypothesis too and it makes sense to me.

    If I'm building a new AMD system today, I'd look for a board that exposes more of the chipset-provided USB ports. Otherwise I'd budget for a high quality 4-port PCIe USB controller, if I'm planning to rely a lot on USB on that system.

  • Just a bunch of enclosures (JBOE)
  • This article provides some context. Now I do have the latest firmware which should have these fixes but they don't seem to be foolproof. I've seen reports around the web that the firmware improves things but doesn't completely eliminate them.

    If you've seen devices disconnecting and reconnecting on occasion, it could be it.

  • Just a bunch of enclosures (JBOE)
  • I've been on the USB train since 2019.

    You're exactly right, you gotta get devices with good USB-to-SATA chipsets, and you gotta keep them cool.

    I've been using a mix of WD Elements, WD MyBook and StarTech/Vantec enclosures (ASM1351). I've had to cool all the chipsets on WD because they like bolt the PCBs straight to the drive so it heats up from it.

    From all my testing I've discovered that:

    • ASM1351 and ASM235CM are generally problem-free, but the former needs passive cooling if close to a disk. A small heatsink adhered with standard double-sided heat conductive tape is good enough.
    • Host controllers matter too. Intel is generally problem-free. So is VIA. AMD has some issues on the CPU side on some models which are still not fully solved.

    I like this box in particular because it uses a very straightforward design. It's got 4x ASM235CM with cooling connected to a VIA hub. It's got a built-in power supply, fan, it even comes with good cables. It fixes a lot of the system variables to known good values. You're left with connecting it to a good USB host controller.

    WD PCB on disk

  • Just a bunch of enclosures (JBOE)
  • I thought about it, but it typically requires extra PCIe cards that I can't rely on as there's no space in one of the machines and no PCIe slots in the other. That's why I did a careful search till I stumbled upon this particular enclosure and then I tested one with ZFS for over a week before buying the rest.

  • Just a bunch of enclosures (JBOE)
  • You want ASMedia ASM1351 (heatsinked) or ASM235CM on the device side 🥹

    This box has 4x ASM235CM and from the testing I've conducted over the last week it seems rock solid, so long as it's not connected to the Ryzen's built-in USB controller. It's been flawless on the B350 chipset's USB controller.

  • Just a bunch of enclosures (JBOE)
  • Thanks for the warning ⚠️🙏

    This isn't my first rodeo with ZFS on USB. I've been running USB for a few years now. Recently I ran this particular box through a battery of tests and I'm reasonably confident that with my particular set of hardware it'll be fine. It passed everything I threw at it, once connected to a good port on my machine. But you're generally right and as you can see I discussed that in the testing thread, and I encountered some issues that I managed to solve. If you think I've missed something specific - let me know! 😊

  • Just a bunch of enclosures (JBOE)
  • That was the cheapest option. 🤭

  • Just a bunch of enclosures (JBOE)
  • Two machines. A main server/workstation and a small off-site backup machine that runs the same services but hass less compute and RAM.

  • Just a bunch of enclosures (JBOE)
    • 8x 8TB in a set of 2, some shucked WDs, some IronWolfs
    • 5x 16TB in a set of 2, "recertified" WDs from serverpartdeals.com
  • 120TB hard drives are coming, thanks to new Seagate tech
  • Multilayer recording sounds like it would require read-rewrite similar to how SMR works. Still perhaps we'd be okay with that for the dramatic capacity increase.

  • OWC Mercury Elite Pro Quad as USB Direct Attached Storage (DAS) for ZFS
  • Quite possibly. That said the one I linked is CUI, not a noname. It's even got an MTBF of 300K hours in its datasheet. There are cheaper ones. 😅 And more expensive ones.

  • me too
  • It can't because birds are not real.

  • OWC Mercury Elite Pro Quad as USB Direct Attached Storage (DAS) for ZFS

    Why

    I'm running a ZFS pool of 4 external USB drives. It's a mix of WD Elements and enclosed IronWolfs. I'm looking to consolidate it into a single box since I'm likely to add another 4 drives to it in the near future and dealing with 8 external drives could become a bit problematic in a few ways.

    ZFS with USB drives

    There's been recurrent questions about ZFS with USB. Does it work? How does it work? Is it recommended and so on. The answer is complicated but it revolves around - yes it works and it can work well so long as you ensure that anything on your USB path is good. And that's difficult since it's not generally known what USB-SATA bridge chipset an external USB drive has, whether it's got firmware bugs, whether it requires quirks, is it stable under sustained load etc. Then that difficulty is multiplied by the number of drives the system has. In my setup for example, I've swapped multiple enclosure models till I stumbled on a rock-solid one. I've also had to install heatsinks on the ASM1351 USB-SATA bridge ICs in the WD Elements drives to stop them from overheating and dropping dead under heavy load. With this in mind, if a multi-bay unit like the OWC Mercury Elite Pro Quad proves to be as reliable as some anecdotes say, it could become a go-to recommendation for USB DAS that eliminates a lot of those variables, leaving just the host side since it comes with a cable too. And the host side tends to be reliable since it's typically either Intel or AMD. Read ##Testing for some tidbits about AMD.

    Initial observations of the OWC Mercury Elite Pro Quad

    • Built like a tank, heavy enclosure, feet screwed-in not glued
    • Well designed for airflow. Air enters the front, goes through the disks, PSU, main PCB and exits from the back. Some IronWolf that averaged 55°C in individual enclosures clock at 43°C in here
    • It's got a Good Quality DC Fan (check pics). So far it's pretty quiet
    • Uses 4x ASM235CM USB-SATA bridge ICs which are found in other well-regarded USB enclosures. It's newer than the ASM1351 which is also reliable when not overheating
    • The USB-SATA bridges are wired to a USB 3.1 Gen 2 hub - VLI-822. No SATA port multipliers
    • The USB hub is heatsinked
    • The ASM235CM ICs have a weird thick thermal pad attached to them but without any metal attached to it. It appears they're serving as heatsinks themselves which might be enough for the ICs to stay within working temps
    • The main PCB is all-solid-cap affair
    • The PSU shows electrolytic caps which is unsurprising
    • The main PCB is connected to the PSU via standard molex connectors like the ones found in ATX PSUs. Therefore if the built-in PSU dies, it could be replaced with an ATX PSU
    • It appears to rename the drives to its own "Elite Pro Quad A/B/C/D" naming, however hdparm -I /dev/sda seems to return the original drive information. The disks appear with their internal designations in GNOME Disks. The kernel maps them in /dev/disks/by-id/* according to those as before. I moved my drives in it, rebooted and ZFS started the pool as if nothing happened
    • SMART info is visible in GNOME Disks as well as smartctl -x /dev/sda
    • It comes with both USB-C to USB-C cable and USB-C to USB A
    • Made in Taiwan

    Testing

    • No errors in the system logs so far
    • I'm able to pull 350-370MB/s sequential from my 4-disk RAIDz1
    • Loading the 4 disks together with hdparm results in about 400MB/s total bandwidth
    • It's hooked up via USB 3.1 Gen 1 on a B350 motherboard. I don't see a significant difference in the observed speeds whether it's on the chipset-provided USB host, or the CPU-provided one
    • Completed a manual scrub of a 24TB RAIDz1 while also being loaded with an Immich backup, Plex usage, Syncthing rescans and some other services. No errors in the system log. Drives stayed under 44°C. Stability looks promising
    • Will pull a drive and add a new one to resilver once the latest changes get to the off-site backup
    • Pulled a drive from the pool and replaced it with a spare while the pool was live. SATA hot plugging seems to work. Resilvered 5.25TB in about 32 hours while the pool was in use. Found the following vomit in the logs repeating every few minutes: Apr 01 00:31:08 host kernel: scsi host11: uas_eh_device_reset_handler start Apr 01 00:31:08 host kernel: usb 6-3.4: reset SuperSpeed USB device number 12 using xhci_hcd Apr 01 00:31:08 host kernel: scsi host11: uas_eh_device_reset_handler success Apr 01 00:32:42 host kernel: scsi host11: uas_eh_device_reset_handler start Apr 01 00:32:42 host kernel: usb 6-3.4: reset SuperSpeed USB device number 12 using xhci_hcd Apr 01 00:32:42 host kernel: scsi host11: uas_eh_device_reset_handler success Apr 01 00:33:54 host kernel: scsi host11: uas_eh_device_reset_handler start Apr 01 00:33:54 host kernel: usb 6-3.4: reset SuperSpeed USB device number 12 using xhci_hcd Apr 01 00:33:54 host kernel: scsi host11: uas_eh_device_reset_handler success Apr 01 00:35:07 host kernel: scsi host11: uas_eh_device_reset_handler start Apr 01 00:35:07 host kernel: usb 6-3.4: reset SuperSpeed USB device number 12 using xhci_hcd Apr 01 00:35:07 host kernel: scsi host11: uas_eh_device_reset_handler success Apr 01 00:36:38 host kernel: scsi host11: uas_eh_device_reset_handler start Apr 01 00:36:38 host kernel: usb 6-3.4: reset SuperSpeed USB device number 12 using xhci_hcd Apr 01 00:36:38 host kernel: scsi host11: uas_eh_device_reset_handler success It appears to be only related to the drive being resilvered. I did not observe resilver errors
    • Resilvering iostat shows numbers in-line with the 500MB/s of the the USB 3.1 Gen 1 port it's connected to: tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd Device 314.60 119.9M 95.2k 0.0k 599.4M 476.0k 0.0k sda 264.00 119.2M 92.0k 0.0k 595.9M 460.0k 0.0k sdb 411.00 119.9M 96.0k 0.0k 599.7M 480.0k 0.0k sdc 459.40 0.0k 120.0M 0.0k 0.0k 600.0M 0.0k sdd
    • Running a second resilver on a chipset-provided USB 3.1 port while looking for USB resets like previously seen in the logs. The hypothesis is that here's instability with the CPU-provided USB 3.1 ports as there have been documented problems with those
      • I had the new drive disconnect upon KVM switch, where the KVM is connected to the same same chipset-provided USB controller. Moved the KVM to the CPU-provided controller. This is getting fun
      • Got the same resets as the drive began the sequential write phase: Apr 02 16:13:47 host kernel: scsi host11: uas_eh_device_reset_handler start Apr 02 16:13:47 host kernel: usb 6-2.4: reset SuperSpeed USB device number 9 using xhci_hcd Apr 02 16:13:47 host kernel: scsi host11: uas_eh_device_reset_handler success
      • 🤦 It appears that I read the manual wrong. All the 3.1 Gen 1 ports on the back IO are CPU-provided. Moving to a chipset-provided port for real and retesting... The resilver entered its sequential write phase and there's been no resets so far. The peak speeds are a tad higher too: tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd Device 281.80 130.7M 63.2k 0.0k 653.6M 316.0k 0.0k sda 273.00 130.1M 56.8k 0.0k 650.7M 284.0k 0.0k sdb 353.60 130.8M 63.2k 0.0k 654.0M 316.0k 0.0k sdc 546.00 0.0k 133.2M 0.0k 0.0k 665.8M 0.0k sdd
      • Resilver finished. No resets or errors in the system logs
      • Did a second resilver. Finished without errors again
      • Resilver while connected to the chipset-provided USB port takes around 18 hours for the same disk that took over 30 hours via the CPU-provided port

    Verdict so far

    The OWC passed all of the testing so far with flying colors. Even though resilver finished successfully, there were silent USB resets in the logs with the OWC connected to CPU-provided ports. Multiple ports exhibited the same behavior. When connected to a B350 chipset-provided port on the other hand the OWC finished two resilvers with no resets and faster, 18 hours vs 32 hours. My hypothesis is that these silent resers are likely related to the known USB problems with Ryzen CPUs. The OWC itself passed testing with flying colors when connected to a chipset port.

    I'm buying another one for the new disks.

    Pics

    General

    ! ! ! ! ! ! !

    PSU

    ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

    21
    From Gateron Brown to MX2A Ergo Clear

    Swapped out the stock Gateron Brown switches for MX2A Ergo Clear. Added o-rings to shorten the key travel to 2.5-3mm. The result feels dramatically different. Individual key presses feel amazing. I'm not sure about typing yet.

    7
    Rick Mercer: Pierre Poilievre's Pension | CBC

    Just got reminded of this classic!

    11
    Signature Plastics G20

    It's a very interesting feel, unlike any other mechanical keyboard I've had. I've been typing on DSA for over half a decade now so I'm used to the flat row profile but the increased surface size still messes with my brain bit. I like it. There's some similarity to the feel of a laptop keyboard.

    More info on SP G20.

    0
    Another successful Honeywell T6 install

    !

    > Here we go. The setup was pretty trivial. The setup for the Zooz GPIO Z-Wave adapter for Yellow was trivial. Adding the T6 was trivial too. I had to install 2x Z-Wave smart plugs to extend the network from where the Yellow is to where the thermostat is. I used Leviton Z-Wave smart plugs. Finally I added the automation I wanted this whole thing for. Seems to work ™ > > The only downside I can see so far is that the T6 doesn’t support multi-speed fan (G1/G2/G3 wiring) so I had to choose one of the speeds while wiring and I can’t use the rest. From what I can tell Ecobee seems to be able to use G1/2/3 but I’m not ready to give up on the ethernet-independent operation T6 and Z-Wave allow to have multiple fan speeds. > > Does anyone know if there’s a (non-retail) variant of the T6 that supports multi-speed fan?

    I needed some thermostat automation done and I stumbled upon this thread. I just attempted this and it went about as smoothly as I can imagine. If you're also in need of an offline solution, the Z-Wave version of the Honeywell T6 seems to do the job.

    #homeassistant #zwave #thermostat #homeautomation

    32
    Canada’s Oil-Sands Miners Want to Flush Oceans of Wastewater Downstream

    > Waste sitting in pits could fill almost 883,000 Olympic-size swimming pools, and oil companies say they need to find a way to reduce it

    > The companies, including an affiliate of Exxon Mobil, are lobbying the Canadian government to set rules that would allow them to treat the waste and release it into the Athabasca River by 2025, so they have enough time to meet their commitments to eventually close the mines.

    Of course they are.

    14
    One shot of a kidney protein gave monkeys a brain boost
    arstechnica.com One shot of a kidney protein gave monkeys a brain boost

    An early experiment suggests that an injection of klotho improves working memory.

    One shot of a kidney protein gave monkeys a brain boost

    > An early experiment suggests that an injection of klotho improves working memory.

    1
    FOSS for encrypted storage container?

    cross-posted from: https://lemmy.ca/post/1034471

    > I have a bit of data that has to be encrypted and stored into a file so that it can be moved across file systems and possibly OSes. Disk encryption like dm-crypt and a loop device isn't appropriate as it may not exist on another OS. > > It's been a very long time since I needed this sort of software. More than a decade ago I used TrueCrypt. I know that VeraCrypt is the current re-incarnationn of the project. Is that still the go-to software for this sort of application? Is there something else that's popular these days?

    6
    FOSS for encrypted storage container?

    I have a bit of data that has to be encrypted and stored into a file so that it can be moved across file systems and possibly OSes. Disk encryption like dm-crypt and a loop device isn't appropriate as it may not exist on another OS.

    It's been a very long time since I needed this sort of software. More than a decade ago I used TrueCrypt. I know that VeraCrypt is the current re-incarnationn of the project. Is that still the go-to software for this sort of application? Is there something else that's popular these days?

    6
    TekSavvy puts itself up for sale amid industry turmoil
    www.theglobeandmail.com TekSavvy puts itself up for sale amid industry turmoil

    It has hired bankers and launched a formal sale process, says sources familiar with the discussions

    > TekSavvy is the last remaining large internet wholesale provider, as others have been snapped up by bigger rivals in what independent ISPs describe as a challenging regulatory environment.

    > Roughly half a dozen independent ISPs have been sold since February of 2022. According to BMO Capital Markets analyst Tim Casey, BCE Inc. paid roughly $139-million for Ebox, an internet, telephone and television service provider based in Longueuil, Que., and approximately $335-million for Ottawa-based Distributel last year.

    > Telus, meanwhile, acquired Altima Telecom and Start.ca for undisclosed amounts, while Quebecor Inc. snapped up VMedia, an independent internet and television provider serving customers primarily in Toronto, in July of 2022. The price of the VMedia acquisition was also not disclosed.

    > Montreal-based Cogeco Inc., meanwhile, paid $100-million for Oxio, a Montreal-based provider with 48,000 internet subscribers, Mr. Casey wrote in a research note..

    🤦🤦‍♀️🤦🏼‍♂️

    Sent an email to my MP. This is a competition issue similar to the Shaw sale to Rogers and the feds should get involved. You should do the same.

    0
    Anyone on Freedom feeling extra special today?

    So far I'm liking this Quebecor acquisition. 🥲

    #FreedomMobile

    0
    Covered Call ETFs

    > Some investors are attracted to covered call funds because of their high income yields and seemingly high risk-adjusted returns. However, the appearance of high income and high risk-adjusted returns is the result of clever financial product design, not of actual improvements to returns or risk-adjusted returns.

    Let's inaugurate this community with a new video by The Ben Felix. 🥲

    0
    "Untrusted device" shown when casting from YouTube

    This occurred today when trying to cast from YouTube to my Chromecast w/ Google TV (CCwGTV). The CCwGTV doesn't have any updates available and neither do the YouTube apps on the phone or the CCwGTV.

    Has anyone seen it? Any solution?

    0
    lightrush lightrush @lemmy.ca
    Posts 32
    Comments 132
    Moderates