this post was submitted on 07 Jul 2023
5 points (85.7% liked)

Linux

47537 readers
1753 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

The end goal is to be able to sign in from my friends computers and have my files there seamlessly and my friends able to sign in on my computer with their files there seamlessly. We could set up ceph nodes at each of our houses

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

Okay after looking around a little bit it seems LDAP and NFS is the way people usually do it but that's online only. This guy recommends against it. Then This thread mentions LDAP with NFS again but I'm not sure if NFS will work. We have laptops and might not be connected to the internet. I might say f it and go way, way, way overkill cause why not. Worse thing that can happen is I learn something. I hope it does work

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

When you start talking about offline then you're going to run into consistency issues and conflicts. How will a system automatically determine which edit to a file is correct if they were both edited offline?

I'm fairly certain Ceph is also going to be online only. You won't be accessing your CephFS filesystems when you take your laptop offline since they're part of the object store.

Something like Syncthing (as @Max_P@lemmy.max-p.me suggested) or some other 'Dropbox-like' self-hosted solution might be the way to go for what you're doing. Even then you'll probably only want to replicate a subset of your home directory - for example I'd skip temp and cache files that a lot of programs create.

If you want to play with Ceph just for the sake of doing so then don't let me stop you though :)

[–] Max_P@lemmy.max-p.me 2 points 1 year ago

Pretty much the only way around this is to keep the computers in sync at all times using something like Syncthing. Otherwise you will be bound to some sort of network drive thing, be it cephfs, NFS, Samba.

A lot of enterprise grade stuff will also not exactly appreciate extended periods of being offline or powered off without triggering the need for a full resync.

Honestly your best bet might just be some USB drive you keep around.