this post was submitted on 17 Aug 2023
12 points (92.9% liked)

Selfhosted

40329 readers
426 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 used to rock a bare metal 1Tib HDD server for 17€/month, that I used as an NFS server for all my other servers which needed storage space.

First of all, NFS kinda sucks and I'm looking for alternative solution that I can use on OpenBSD to mount remote volumes.

Secondly, I'm planning to move this server to hetzner (my current provider), but they lack affordable storage (it's 50€/month for 1Tib). Do you know an hosting provider which would provide high volumes for not so expensive prices ?

all 26 comments
sorted by: hot top controversial new old
[–] MangoPenguin@lemmy.blahaj.zone 4 points 1 year ago* (last edited 1 year ago) (2 children)

Hetzner has their storage boxes which are very cheap, might be an option.

Alternatively use an external S3 provider like Wasabi or Backblaze.

[–] wgs@lemmy.sdf.org 1 points 1 year ago (1 children)

I ise backblaze for backups already. But is an S3 backend any good for mounting locally and doing many read/write ? What are my options to mount it besides rclone ?

[–] wgs@lemmy.sdf.org 1 points 1 year ago

I didn't know about their storage box. That's interesting, thanks !

[–] mbi@kbin.social 4 points 1 year ago (1 children)

Time4vps will get you a full vps with a 1tb disk for ~50 euro/year. (Or ~ 5€/month if billed monthly)

I’ve had a couple of those for years, they’re ok but don’t expect stellar performance from the vps itself.

[–] wgs@lemmy.sdf.org 1 points 1 year ago (1 children)

That's cheap indeed. Is it possible to install a different OS than those listed on their website ?

[–] mbi@kbin.social 1 points 1 year ago

Nope, the options I get are: AlmaLinux 8, CentOS 7, Debian 10-11, Ubuntu 14.04 - 22.04.

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

And here I am running NFS as the backing storage on an R720xd for 4 other M630 VM hosts.

Connected via SFP+ DAC. I get max bandwidth saturation, and ~65k IOPS!! NFS is great 😅

You could use things like AWS S3 or similar offerings from other providers like digitalocean. They have plenty of documentation that guide you through how they work.

[–] wgs@lemmy.sdf.org 2 points 1 year ago

My main issue with NFS is that it's been unreliable in my case (multiple servers connected over wireguard, over internet). Which cause locks and latency for the applications that read/write to it (Matrix server, distributed repository, …).

Of course if you can afford connecting the NFS server directly to the servers, that's perfect but I'm more on the worst case scenario ^^

[–] PlexSheep@feddit.de 2 points 1 year ago (1 children)

Selfhosting storage is pretty good to, if you're into that.

[–] wgs@lemmy.sdf.org 4 points 1 year ago (1 children)

I'd like to avoid that as I don't consider my home network reliable enough for such a critical task.

[–] PlexSheep@feddit.de 2 points 1 year ago

Understandable. Sadly, really reliable storage is pretty pricey.

[–] rambos@lemm.ee 2 points 1 year ago (1 children)

Google and dropbox are ~10€ a month for 2 TB. Idk is that solution for you, but I would consider building NAS at home. I mean...this is selfhosted channel :)

For backup I use backblaze, but thats cheap only if you dont download a lot, also not sure can it be used for your case. Sry, not rly helpful (:

[–] wgs@lemmy.sdf.org 3 points 1 year ago

I'm never going with Google/Dropbox ^^ the goal is to be in control of my data. Backblaze could be an option, but I expect too many read/writee for it to be cheap.

I considered the NAS at home but my home net is not reliable enough.

TBH I'm still looking for a better option to share storage between servers other than NFS. There has to be something better in 2023!

[–] 7777AKA@lemm.ee 1 points 1 year ago (1 children)

I use Digital Ocean Spaces (S3 Bucket) costs $5 / 250 GB / month

[–] wgs@lemmy.sdf.org 1 points 1 year ago (2 children)

How do you use them ? Do you mount the bucket locally on the server ?

[–] 7777AKA@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (1 children)

Well i just connect directly to bucket, You can mount it too

[–] wgs@lemmy.sdf.org 1 points 1 year ago (1 children)
[–] 7777AKA@lemm.ee 1 points 1 year ago (1 children)
[–] wgs@lemmy.sdf.org 1 points 1 year ago

Ok thanks, so it's similar to rclone mount, just with another tool.

[–] fry@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago) (1 children)

NFS kinda sucks and I'm looking for alternative solution

Rsync + cron? If you just need to backup some files/directories.

Edit: ah, saw that you will read/write a lot. Do you really need to do that over the network? Why not upload a .tar, a snapshot or whatever of the changes?

If you could be a bit more specific then maybe we could give some better advice.

Use a seedbox if you're downloading stuff and dont have enough disk space.

[–] wgs@lemmy.sdf.org 1 points 1 year ago (1 children)

The best example would be a running an email or chat server. The spool/media directories can go large pretty quick as users share pictures, gifs, ... So I would like to mount it from a remote location because the matrix server itself only has a 20G SSD for the whole OS. Rsync won't cut it there as I have a specific process writing to a location.

[–] fry@sh.itjust.works 1 points 1 year ago (1 children)

Ah, I see.

Perhaps sshfs could be an alternative. Not sure of the performance out of the box, but it is possible to tweak a bit.

https://www.ports.to/path/sysutils/sshfs-fuse.html

[–] wgs@lemmy.sdf.org 1 points 1 year ago

I'll look more into FUSE based remote storage more generally because it seems to be my only option besides NFS. I've heard great feedback from SSHFS so I'll bench it eventually and see how it goes.

[–] wildbus8979@sh.itjust.works 0 points 1 year ago