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

  • @False
    link
    81 year ago

    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.

    • @Secret300OP
      link
      41 year ago

      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
        link
        4
        edit-2
        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 @[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 :)

      • Max-P
        link
        fedilink
        31 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.