The Btrfs inode-number epic (part 2: solutions)
The Btrfs inode-number epic (part 2: solutions)
Posted Aug 31, 2021 14:02 UTC (Tue) by patrakov (subscriber, #97174)In reply to: The Btrfs inode-number epic (part 2: solutions) by Wol
Parent article: The Btrfs inode-number epic (part 2: solutions)
Correct. And this is even mentioned in other comments: "btrfs snapshots are a lazy version of 'cp -a --reflink'". Same inode numberss indicate hardlinks, and reflinks are a different beast. So it looks like a solution would involve generating inode numbers lazily when someone stats a file in the snapshot.