kimono-koans / httm

Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even Time Machine and Restic backups!)
https://crates.io/crates/httm
Mozilla Public License 2.0
1.37k stars 29 forks source link

Error: httm could not find any valid ZFS datasets on the system. (FreeBSD) #18

Closed bellhyve closed 2 years ago

bellhyve commented 2 years ago

Hi there, I just set up a clean bare metal machine with ZFS to try HTTM. Here was my install process:

zfs snapshot -r bootdev5@orig
pkg install git rust
export PATH=$PATH:/root/.cargo/bin
git clone https://github.com/kimono-koans/httm.git
cargo install --path ./httm/
[no errors]
zfs snapshot -r bootdev5@after-httm

And then I go: httm -I -R ~/ And it goes: Error: httm could not find any valid ZFS datasets on the system.

Did I miss a step?

kimono-koans commented 2 years ago

Nope. Seems mostly correct.

Could you post the output of your mount command? From what I can see, httm is not detecting your ZFS mounts.

bellhyve commented 2 years ago
bootdev5/ROOT/default on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs)
/dev/ada0p1 on /boot/efi (msdosfs, local)
bootdev5/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
bootdev5/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls)
bootdev5/var/mail on /var/mail (zfs, local, nfsv4acls)
bootdev5/usr/home on /usr/home (zfs, local, noatime, nfsv4acls)
bootdev5/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
bootdev5/usr/src on /usr/src (zfs, local, noatime, nfsv4acls)
bootdev5 on /bootdev5 (zfs, local, noatime, nfsv4acls)
bootdev5/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls)
bootdev5/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
bootdev5/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls)

Thanks for the response!

kimono-koans commented 2 years ago

No problem. Thanks for letting me know there's a problem. Want to get this working for you.

Your mount input looks exactly as expected. Let me see if I can reproduce this myself in a VM.

kimono-koans commented 2 years ago

This should fix this particular issue: https://github.com/kimono-koans/httm/commit/aa52f1b162481e77b039bc4dd3cf0dbdd153bbb4

Just clone the latest bits and you should be good to try again.

Of course, I'm disappointed the experience isn't yet the best on FreeBSD. No one wants to be the proverbial canary in the coal mine. Unfortunately, I use only Linux and MacOS at home, so that's what gets tested.

UPDATE: Fixed the other linked issue.

bellhyve commented 2 years ago

That was very brief canary-ing on my part. Works great! Thanks!