Coder Social home page Coder Social logo

Comments (5)

lnussel avatar lnussel commented on July 1, 2024

Regarding the reason. The snapshots mentioned above only contained an info.xml but no snapshot subvolume anymore. After remove those directories, snapper-cleanup failed on a few more snapshots that basically only contained garbage in the snapshot directory, eg info.xml.tmp-K2iuHC or filelist-324.txt.

from snapper.

lnussel avatar lnussel commented on July 1, 2024

last but not least cleanup of yet another snapshot failed because it had another subvolume in it. The log contains no hint which snapshot is affected in that case.

from snapper.

aschnell avatar aschnell commented on July 1, 2024

Which snapper version are we talking about here?

from snapper.

lnussel avatar lnussel commented on July 1, 2024

Not sure why I saw your question only now :( Looking at the logs

2024-01-24 01:39:28 MIL libsnapper(23886) Snapper.cc(Snapper):98 - snapper version 0.10.7
2024-01-24 01:39:28 MIL libsnapper(23886) Snapper.cc(Snapper):99 - libsnapper version 7.4.0

from snapper.

aschnell avatar aschnell commented on July 1, 2024

The reason for the failure is not clear to me: The initial log shows "btrfs_util_delete_subvolume_fd() failed, errno:39 (Directory not empty)". AFAIS that happens when the btrfs snapshot itself cannot be deleted. I reproduced that by placing a second snapshot inside a snapshot. But that does not fit your second comment.

In your third comment you write that the number of the snapshot that could not be deleted in not in the logs. It should be included in the log of the systemd service together with the information that the cleanup failed.

Which brings me to the overall problem. Simply ignoring the failure would result in more recent snapshots to be deleted (e.g. due to the space limits). If there are several un-removable snapshots there might not be enough recent snapshots anymore to rollback to a working state. So the user have to check failures of systemd services.

from snapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.