this post was submitted on 07 Jul 2023
5 points (85.7% liked)
Linux
48182 readers
1235 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Way, way, way overkill even if it could work. Try doing a search for 'roaming profiles linux' and you should find some solutions that are a better fit.
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
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 :)
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.