So I have some space on my server rack, but not a lot of money lying around.

What I’m trying to achieve is a nas setup for my security camera system. It has 30 cameras, and 4 drives fill up in 3 months. 3X3TB drives.

Looking on eBay for a second hand rack mounted NaS is pretty expensive. Could I build one? From a jbod or something? I’ve got a nice big space in my rack doing nothing.

(I know I could buy bigger drives, but I kinda like the idea of experimenting with something g different) ✌️💛

  • GVasco
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Of course you can! I built mine on a mid-tower case, so as long as you can find a rack mountable chassi that fits and meets your requirements in terms of number of drives, motherboard size and PSU power delivery, go for it!

  • 0x4E4F@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Void Linux + mdadm in RAID5 + BTRFS with snapshots enabled. Trust me, you won’t regret it 😉. I have a working storage like this, but with 6 drives (scrap 2TB ones in RAID5) and BTRFS with zstd set at 10. Compression on MPEG2 content is… more than I ever hoped for to be honest, like 30, 40% compression. MPEG4, not as much, but you can shim about 5 to 10%.

  • Hopfgeist@feddit.de
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    As to filling up the drives so fast, have you considered transcoding it to a smaller format (such as HEVC/H.265) in real time? I know that would require quite some CPU power. Even H.264 is likely to improve on camera native formats, as those often need to encode the videos with embedded/low-power CPUs. Do you need to retain the footage beyond 3 months?

    • LachlanUnchained@lemmyunchained.netOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I’ll check it out.

      There’s no set period I need to retain. It’s just been handy, got myself out of trouble a few times in compliance complaints. a couple times I have wished I was able to go back further. That’s all.