@Secret300
I'm pretty sure I've seen OpenAFS used for this.
Honestly, though, put your dotfiles & other text in version control and anything binary in SyncThing. It's going to be way less headache.
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
@Secret300
I'm pretty sure I've seen OpenAFS used for this.
Honestly, though, put your dotfiles & other text in version control and anything binary in SyncThing. It's going to be way less headache.
OpenAFS
Never heard of it. I'll look into it
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_[email protected] 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.