Is it safe to use bees in combination with btrfs send/receive -p <parent>?
I know that I must not run bees and btrfs send/receive at the same time.
The documentation says: "You must not specify clone sources unless you guarantee that these snapshots are exactly in the same state on both sides--both for the sender and the receiver."
Suppose I use the following procedure:
-
I have a filesystem FS1 and on it a subvolume with data named /FS1/DATA. I also have a filesystem FS2 available as /FS2.
-
I take a snapshot: btrfs subvolume snapshot -r /FS1/DATA /FS1/DATAs1
-
I send it to the FS2: btrfs send /FS1/DATAs1 | btrfs receive /FS2/
-
Now:
a) I'll let bees run on FS1,
b) or I let bees run on FS2,
c) or I let bees run on both FS1 and FS2.
In the meantime, I continue to use /FS1/DATA.
-
After a while, I stop bees and take next snapshot: btrfs subvolume snapshot -r /FS1/DATA /FS1/DATAs2
Can I now safely transfer the new snapshot to FS2 with the command: btrfs send -p /FS1/DATAs1 /FS1/DATAs2 | btrfs receive /FS2/ ?
Is it safe to use
beesin combination withbtrfs send/receive -p <parent>?I know that I must not run
beesandbtrfs send/receiveat the same time.The documentation says: "You must not specify clone sources unless you guarantee that these snapshots are exactly in the same state on both sides--both for the sender and the receiver."
Suppose I use the following procedure:
I have a filesystem
FS1and on it a subvolume with data named/FS1/DATA. I also have a filesystemFS2available as/FS2.I take a snapshot:
btrfs subvolume snapshot -r /FS1/DATA /FS1/DATAs1I send it to the FS2:
btrfs send /FS1/DATAs1 | btrfs receive /FS2/Now:
a) I'll let
beesrun onFS1,b) or I let
beesrun onFS2,c) or I let
beesrun on bothFS1andFS2.In the meantime, I continue to use
/FS1/DATA.After a while, I stop
beesand take next snapshot:btrfs subvolume snapshot -r /FS1/DATA /FS1/DATAs2Can I now safely transfer the new snapshot to
FS2with the command:btrfs send -p /FS1/DATAs1 /FS1/DATAs2 | btrfs receive /FS2/?