Linux NILFS file system: automatic continuous snapshots

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • linux

    Linux kernel source tree

  • > Is NILFS not part of the kernel mainline, I guess?

    Good guess, but no:

    https://github.com/torvalds/linux/tree/master/fs/nilfs2

    > How did Linus not go on a rampage after breaking userspace for an entire year?

    I would very much like to know that as well. Any chance it didn't get reported (at least, not as "this broke booting")?

  • xpra

    Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.

  • You might be able to do the screen recording today using Wayland ports, or nested display servers a la Xpra.

    https://xpra.org

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • httm

    Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even actual Time Machine backups!)

  • > What is httm? I like this script as a proof of concept.

    See: https://github.com/kimono-koans/httm

    > But i still can imagine failure modes, eg. inotify might start acting weird when ZFS remounts the watched directory, OOM killer terminates it without anyone noticing, bash loop go haywire when package manager updates that script (bash is running directly from the file and when it changes during execution, it might just continue running from the same byt offset in completely different script).

    I mean, sure, scripts gonna script. You're gonna have to make the POC work for you. But, for instance, I'm not sure half of your issues are problems with a systemd service. I'm not sure one is a problem with a well designed script and a systemd service.

    > All these things actualy happened to me in the past. Not to say that if you have multiple datasets in ZFS you cannot inotify wait on all of them at once, so you will have to manage one bash process per dataset. And performance of bash and sudo might not be that awesome.

    Yes, you can?

    Just re this POC, you can inotify a single directory, which contains multiple datasets, and httm will correctly determine and snapshot the correct one upon command. Your real bottleneck here is not sudo or bash. It's the zfs command waiting for a transaction group sync, or arranging for the trans group (or even something else, but its zfs?), to snap.

    You could also use `httm -m` to simply identify the dataset and use a channel program and/or a separate script to sync. sudo and bash may not have the performance for your use case, hell, they are composable with everything else?

    > So for real reliability you would probably want this to actualy run in ZFS/kernel context...

    Yeesh, I'm not sure? Maybe for your use case? For most? Give httm and inotifywait a shot.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • XPRA

    1 project | news.ycombinator.com | 9 May 2024
  • Advice on getting a 16GB Nvidia card..

    1 project | /r/linuxquestions | 6 Dec 2023
  • Alternatives To X2go?

    2 projects | /r/linuxadmin | 3 Apr 2023
  • plasma-nm, libqca-qt5-2 and libkf5wallet-bin - but not in this order!

    1 project | /r/kdeneon | 14 Feb 2023
  • Looking for an application that allows VNC sharing in windows for a single application

    3 projects | /r/software | 2 Jan 2023