SUSE Support

Here When You Need Us

B-tree file system (btrfs) Missing from Snapper Config List

This document (7012008) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 2
B-tree Filesystem (btrfs)

Situation

The bsmall btrfs filesystem has a subvolume called fry. Hourly snapshots are being created correctly on other volumes and subvolumes, but not on fry. The fry subvolume has a snapper configuration name of fry as well.

/etc/snapper/configs/fry is present and valid.
# ls /etc/snapper/configs/
bbig  bsmall  fry  heart  one

Running snapper list-configs does not show the fry configuration, but snapper -c fry list shows the current snapshots as configured. The fry subvolume is valid, mounted and working properly, just no hourly snapshots can be created.
# snapper list-configs
Config | Subvolume 
-------+------------
bsmall | /bsmall   
bbig   | /bbig     
one    | /bbig/one 
heart  | /bbig/heart


Shows snapshots are not occurring after 12:00:01.
# snapper -c fry list
Type   | # | Pre # | Date                            | Cleanup  | Description | Userdata
-------+---+-------+---------------------------------+----------+-------------+---------
single | 0 |       |                                 |          | current     |        
single | 1 |       | Fri 22 Mar 2013 12:00:01 PM MDT | timeline | timeline    |        

Shows a working configuration where snapshots are occurring after 12:00:01.
# snapper -c one list
Type | # | Pre # | Date | Cleanup | Description | Userdata
-------+---+-------+---------------------------------+----------+-------------+---------
single | 0 | | | | current |
single | 1 | | Fri 22 Mar 2013 09:36:00 AM MDT | | |
single | 2 | | Fri 22 Mar 2013 09:36:44 AM MDT | | |
single | 3 | | Fri 22 Mar 2013 12:00:01 PM MDT | timeline | timeline |
single | 4 | | Fri 22 Mar 2013 13:00:02 PM MDT | timeline | timeline |
single | 5 | | Fri 22 Mar 2013 14:00:01 PM MDT | timeline | timeline |

The /etc/cron.hourly/suse.de-snapper is present and functioning for other volumes.

The /etc/sysconfig/snapper shows: SNAPPER_CONFIGS="bsmall bbig one heart"

Resolution

Add the fry configuration name back into the /etc/sysconfig/snapper configuration file.
1. Confirm the list of valid configuration names
# ls /etc/snapper/configs
bbig bsmall fry heart one
The "fry" configuration is the one we are missing.

2. Edit /etc/sysconfig/snapper
3. Change from this:
SNAPPER_CONFIGS="bsmall bbig one heart"
to
SNAPPER_CONFIGS="bsmall bbig one heart fry"
4. Save and retest.

NOTE: You are just adding the snapper configuration name to the list of valid configs.

Cause

The "fry" configuration name was missing from the list of valid snapper configurations in the /etc/sysconfig/snapper file.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012008
  • Creation Date: 22-Mar-2013
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.