by jchw · 4y ago · 0 comments
These days I greatly prefer to own my data more directly, which I accomplish using a NAS. I don’t use Dropbox OR Google Drive, I use Syncthing, which can do stuff that neither of those could ever dream of in terms of syncing between machines.
Not only do I not want Google Drive, I don’t even want anything like it.
That said, I totally get why it’s still important. I do use Google Drive at work and for that type of use case I would not argue in favor of self-hosting. Syncthing is great for a single person or even a fairly large group of people, but not for a big organization. Not to mention you probably use Google Docs or Office 365 anyways, both of which are integrated with their respective company’s storage offerings. Syncthing won’t give you directory sync, docs integration, or granular ACLs.
But that’s actually perfectly fine, because I don’t need any of those things. Hell, I flat out don’t really want them. You could probably get something similar with ownCloud which I did try running, and I’m not even particularly enticed. I’m sure Synology has a full suite as well, but it’s not what I want out of my NAS. Part of being happier with my technology was just as much realizing what I didn’t want as it was realizing what I wanted.
The problem with seafile I had was if I tried to sync down files and the sync client stopped, it would have no problem uploading the incomplete downloads as changes to the server, as well as pushing missing as deletes to the server.
I didn't lose any data over it, thank god, but I moved away from that.
The moral of the story is sync is a hard problem. And corner cases need to be tested before you rely upon any sync service for your data.
this surely does not seem like a 'corner case' and would be absolutely terrifying if true.
could you be more specific in regards to the circumstances?
Why are you running Ubuntu in Proxmox, and not directly on the metal?
Thank you! I might set up a NAS in the very near future.
As far as permissions go, I guess I am mostly ignoring granular permissions. I’m generally only concerned with permissions on a per-share basis. This way, file permissions mostly don’t matter and can be a one-and-done affair. Then, I can split files up into separate shares.
NFS also seemed appealing, but honestly it does seem to bring a lot of complexity that SMB/CIFS does not, and everything supports the latter well enough for my use cases.
Remote access is another issue, since you should probably not do SMB over the internet, but I guess that can be solved with Tailscale or ZeroTier.
server min protocol = SMB3 smb encrypt = required
to the [global] section of your smb.conf.
That said: for the moment, I still have some SMB1 clients inside my network. Yes, this is terrible, and frankly it is surprising Samba still supports it (I won’t be too surprised or too angry if it gets removed now that it’s separated out.) I should probably segregate SMB1 clients onto a different fileserver on a different VLAN or something. Until then, it would be annoying to force SMB3 on all clients.
(As for why Anybody would use SMB1, the answer is retro computing. I also suspect that Open PS2 Loader is an SMB1 client, though I have not checked.)
just use raid1 if you are not in a position to write an academic paper on the differences.