On 12/09/2014 05:02 PM, Arvin Schnell wrote:
On Tue, Dec 09, 2014 at 03:45:06PM -0500, Roman Bysh wrote:
On 12/09/2014 03:52 AM, Arvin Schnell wrote:
On Mon, Dec 08, 2014 at 04:21:38PM -0500, Roman Bysh wrote:
Hello List Mates,
Is it possible to use the same snapshot id number after deleting a range of snapshots?
Example I have a range of snapshots from 1 > 20
If I delete snapshot ids 11 to 20, I want to create a new snapshot id 11? Snapper automatically starts at 21 and keeps increasing.
Snapper should reuse the numbers from 11 on. Please check if after deleting a snapshot the corresponding directory in /.snapshots still exists and if it does whether it is empty. Maybe there's a file from grub left behind.
Since the old snapshot id 11 no longer exists, I should be able to create a new one with the same id number.
There is a feature request to *not* reuse numbers since that can cause race conditions, see https://github.com/openSUSE/snapper/issues/131.
Regards, Arvin Good point. I was unaware about this. I realize that Snapper is still new and we'll probably see more refinements.
Shouldn't Snapper's delete button have a dual function of deleting any and all files in /.snapper related to snapshot 11?
Snapper only deletes it's "own" files. Scripts creating files in the directories have to cleanup themselfs.
Regards, Arvin
Using btrfs and Snapper is definitely a learning process. After experiencing a csum error with my first installation, I reinstalled a second time and everything is working great. Hopefully over the next year, we can create a great wiki on btrfs. I know many users on the openSUSE forums are struggling with btrfs. Thank you, Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org