Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTSP support #110

Open
danboid opened this issue Mar 13, 2024 · 1 comment
Open

LTSP support #110

danboid opened this issue Mar 13, 2024 · 1 comment

Comments

@danboid
Copy link

danboid commented Mar 13, 2024

We use ZFS on our LTSP server, which is configured so that each users home dir has its own dataset. Users are able to access files in their home dir snapshots via the .zfs special directory but unfortunately httm doesn't work when run on the LTSP clients directly, they get the error:

Error: httm could not find any valid datasets on the system

The workaround is for users to ssh into the LTSP server, then httm works as expected but it'd be nice if users could use httm on LTSP clients without having to ssh into the server first.

@kimono-koans
Copy link
Owner

Users are able to access files in their home dir snapshots via the .zfs special directory but unfortunately httm doesn't work when run on the LTSP clients directly, they get the error:

In all likelihood (if the snapshots are visible to the users) this is because the mounts aren't visible to the users, or aren't visible as ZFS mounts. If you expose /proc/mounts or have the users mount their shares locally via an SMB, it should work. See the README concerning the use of network mounts (and specifically aliases).

Any extensive work re: LTSP support from me is unlikely, because I don't use it! But httm is ready made for the clever sysadmin to make this work. And I'd be pleased to add support which is harmonious with the rest of the system. For instance, if mounts simply appear differently to an LTSP users and can readily be interpreted as ZFS mounts, like say a SMB share, with a .zfs/snapshots directory, I'd be pleased to add support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants