openSUSE and SLES use btrfs as their default filesystem with snapper configured to automatically create filesystem-level snapshots on btrfs. These disk snapshots are created periodically via cron and whenever you make system changes using YaST2 or zypper.
Filesystem snapshots provide a fallback mechanism in system failures but require additional disk spaces that not everyone could afford. In virtual machines, for example, the snapshots will quickly fill up the typically small allocated disk.
You can disable automatic filesystem snapshots in SUSE by removing snapper plugin for zypper, disable snapper's timeline snapshots, and disable YaST snapshots.
Methods to disable filesystem snapshots in SUSE:
snapper-zypp-plugin is a snapper plugin for zypper. It will automatically create a system snapshot whenever software packages are installed, removed or updated via zypper. This can be circumvented by removing the plugin via the following command at the terminal:
> sudo zypper remove --no-confirm snapper-zypp-plugin Loading repository data... Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed. Reading installed packages... Resolving package dependencies... The following package is going to be REMOVED: snapper-zypp-plugin 1 package to remove. After the operation, 9.8 KiB will be freed. Continue? [y/n/v/...? shows all options] (y): y (1/1) Removing snapper-zypp-plugin-0.8.3-1.1.noarch ..............................[done]
Timeline Snapshots are disk snapshots taken on an hourly basis with old snapshots deleted based on a policy. This is disabled by default. You can disable timeline snapshot for snapper if it's somehow enabled by following these commands at the terminal:
> sudo snapper list-configs [sudo] password for root: Config | Subvolume -------+---------- root | /
> sudo snapper --config root set-config "TIMELINE_CREATE=no"
A snapshot is created when configuration changes are made via YaST. It can be disabled via these steps:
> sudo vi /etc/sysconfig/yast2
|openSUSE Leap 15.1|
|openSUSE Leap 15.0|
|SUSE Linux Enterprise Server 15|
|SUSE Linux Enterprise Server 12|
Comment anonymously. Login not required.