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
B-tree Filesystem (btrfs)
Situation
/etc/snapper/configs/fry is present and valid.
# ls /etc/snapper/configs/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.
bbig bsmall fry heart one
# snapper list-configsThe /etc/cron.hourly/suse.de-snapper is present and functioning for other volumes.
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/sysconfig/snapper shows: SNAPPER_CONFIGS="bsmall bbig one heart"
Resolution
1. Confirm the list of valid configuration names
# ls /etc/snapper/configsThe "fry" configuration is the one we are missing.
bbig bsmall fry heart one
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
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com