Background: anaconda storage configuration is extremely slow with an existing btrfs filesystem containing hundreds of snapshots
it would be useful to have an automated way of created "aged" Btrfs file systems for testing.
Use case A: hundreds of snapshots, where there's little difference between them, e.g. containers on the desktop. But what's a reasonable maximum?
Use case B: dozens to low hundreds of snapshots, with variable 5% to 50% differences between them, to simulate adding/removing packages, or files from user home, as well as system updates.
Decently likely these appear at the same time.
What's a good way to create such images? Bash script? Ansible playbook? Other?
Reconsidering this. It might be more trouble than it's worth, because there's already snapshot related tests in xfstests, and quite a lot of production use involving many more snapshots than this bug.
Instead of coming up with a test image or mechanism to see how suboptimal design in the installer will manifest, how about just fixing the design? And if there's a relevant missing test from xfstests, then we should probably create it.
Log in to comment on this ticket.