Introduction

This tutorial covers How to Configure Btrfs on SLES 15 on SLES 15. SLES 15 (SUSE Linux Enterprise Server 16) is SUSE’s enterprise-grade Linux distribution. It uses the zypper package manager, AppArmor for mandatory access control, and systemctl for service management.

Step 1 — Check Btrfs Filesystem

btrfs filesystem show
btrfs subvolume list /

Step 2 — Create a Snapshot with Snapper

snapper -c root create --description "before-update"

Step 3 — List Snapshots

snapper -c root list

Step 4 — Rollback to a Snapshot

snapper -c root undochange ..

AppArmor Considerations

Note: SLES 15 uses AppArmor for mandatory access control. Check AppArmor status with aa-status and enforce profiles with aa-enforce /etc/apparmor.d/<profile>.

Conclusion

You have successfully completed: How to Configure Btrfs on SLES 15. For more SLES 15 tutorials, see our full SLES 15 series.