How to take a recursive snapshot of a btrfs subvol?
问题 Assume that a btrfs subvol named "child-subvol" is within a another subvol say, "root-subvol" and if we take snapshot of "root-subvol" then, the "child-subvol" should also be taken a snapshot. Since recursive snapshot support is not yet there in btrfs file system, how can this be achieved alternatively ? 回答1: Step 1: Get all the residing btrfs sub-volumes. Preferably in the sorted order as achieved by the command below. $ btrfs subvolume list --sort=-path < top_subvol > Step 2: In the order