meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:fs:btrfs:snapshots [2021/02/17 14:39] – created niziaklinux:fs:btrfs:snapshots [2021/06/04 09:21] (current) niziak
Line 33: Line 33:
 </file> </file>
  
 +==== Tuning ====
 +
 +<file /etc/updatedb.conf>
 +PRUNENAMES = ".snapshots"
 +</file>
 +
 +==== issues ====
 +
 +=== parser error : Document is empty ===
 +<code>
 +org.opensuse.Snapper[2126170]: :1: parser error : Document is empty
 +org.opensuse.Snapper[2126170]: ^
 +</code>
 +**Reason:** some info.xml files are empty or corrupted
 +**Solution:** locate empty info.xml files
 +
 +<code bash>
 +find . -name "info.xml" -type f -empty
 +
 +# and remove snapshots manually:
 +btrfs sub delete 23/snapshot
 +rm 23/info.xml
 +</code>