this post was submitted on 22 Jul 2023
25 points (93.1% liked)

Selfhosted

40246 readers
789 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm looking for a suggestion for compact-ish NAS cases. I only have a few drives, 4 at the moment, so I don't need a ton of space. But I'd like to downsize without getting a brand new motherboard and PSU it possible (both are ATX at the moment).

My main requirement is being able to install and uninstall drives without worrying about cable management.

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] spez_@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (2 children)

I got an Argon Eon case with a Raspberry Pi 4, but I'm regretting it because for some off reason my file transfer speeds via SMB are abysmal. I do have a heap of services selfhosted on the Pi and otherwise it's okay

Edit: If someone was able to get fast transfer speeds via SMB on a Raspberry Pi, I'd like to know how. If the speeds can be increased, my NAS would be perfect

[–] randombullet@lemmy.world 2 points 1 year ago (1 children)
[–] spez_@lemmy.world 0 points 1 year ago (1 children)

I'm using all these, plus OpenMediaVault as the NAS operating system

[–] randombullet@lemmy.world 2 points 1 year ago (1 children)

Try this in your SMB settings in OMV.

socket options = TCP_NODELAY SO_RCVBUF=65536
SO_SNDBUF=65536
read raw = yes
write raw = yes
max xmit = 65535
dead time = 15
min receivefile size = 16384
write cache size = 524288
getwd cache = yes
max connections = 65535
max open files = 65535
min protocol = smb3
max protocol = smb3
[–] spez_@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

It's possibly a hardware limitation. This is my settings

socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
read raw = yes
write raw = yes
max xmit = 65535
dead time = 15
min receivefile size = 16384
write cache size = 524288
getwd cache = yes
max connections = 65535
max open files = 65535

server multi channel support = yes
allocation roundup size = 1048576
aio max threads = 100
aio read size = 1 
aio write size = 1

server min protocol = SMB3_11
client ipc min protocol = SMB3_11
[–] randombullet@lemmy.world 1 points 1 year ago (1 children)
[–] spez_@lemmy.world 1 points 1 year ago (1 children)
[–] randombullet@lemmy.world 1 points 1 year ago (1 children)

See if seachest is compatible with your drives. I think it's only compatible with Exos.

Also are you running through USB?

[–] spez_@lemmy.world 1 points 1 year ago (1 children)

Yes all devices are through USB 3

[–] randombullet@lemmy.world 1 points 1 year ago

USB inherently has latency issues and protocol overhead. Seems like you're restricted to hardware unfortunately.

[–] resurge@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)

This is interesting since I was planning on making my own RPi4 nas in the near future. Am I seeing correctly from the image that you have 1 (or 2?) 3,5" HDDs connected to some kind of HAT for the RPi (which has SATA connectors probably)?

What speeds are you getting now?

My plan was to connect 2x16TB HDDs to the pi through a USB->SATA cable, which probably is an even less stable setup than yours is but I was hoping it would be enough to do some basic NAS stuff.
I was also planning on using OpenMediaVault like you are.

[–] spez_@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

I have two 3,5" HDDs connected as well as two SSDs (installed after the picture). They're connected via a USB dongle (through the back, so all drives go via USB 3.)

The issue I'm facing is that I only get 10MB/s, even though I should be getting more, even through a USB 3 interface. I'm going to try the suggested SMB configuration from another user and report back shortly

Your setup should be similar to mine. If you get good speeds, I'd love to know. OpenMediaVault is wonderful too - it's simple and gets the job done. But for my system there's no RAID, although that doesn't bother me because 1 HDD is primary, and 1 HDD is backup

[–] resurge@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

Ah so your setup is almost exactly as what I had planned :D (I'll use 1 SSD instead of 2 though, to be used as boot drive). I haven't made the box yet, probably in a few months.

Thank you for the reply!
Please do post your updates somewhere in this thread, I'm sure they'll come in handy when I start building my box.