From 7b508469572bf114fb824ade937bb546f709c002 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sat, 29 Jul 2017 20:54:43 +0200 Subject: [PATCH] documentation: add more instructions for faulty received_uuid --- doc/FAQ.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/doc/FAQ.md b/doc/FAQ.md index 0f62a07..a1da6c2 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -276,5 +276,21 @@ To fix this, create a "proper" snapshot: # mv mysubvolume mysubvolume.broken # btrfs subvolume snapshot mysubvolume.broken mysubvolume -Now, `mysubvolume` should have an empty "Received UUID", and btrbk -will not complain any more. +Now, `mysubvolume` should have an empty "Received UUID". Note that in +order to have a clean environment, you also need to fix all subvolumes +(snapshots as well as backups) that you created with the broken +subvolume. + +Check if there are more broken subvolumes: + + # btrfs subvolume show mysubvolume.broken + # btrfs subvolume list -a -R /mnt/btr_pool | grep <"Received UUID" from above> + # btrfs subvolume list -a -R /mnt/btr_backup | grep <"Received UUID" from above> + +Now clean all subvolume listed (same as above, but using `btrfs +subvolume snapshot -r` now). Then delete all the broken subvolumes: + + # btrfs subvolume delete *.broken + +Finally, you should have a clean environment, and btrbk will not +complain any more.