Btrfs: Subvolumes and snapshots
Btrfs: Subvolumes and snapshots
Posted Feb 6, 2015 6:41 UTC (Fri) by dlang (guest, #313)In reply to: Btrfs: Subvolumes and snapshots by JimAvera
Parent article: Btrfs: Subvolumes and snapshots
When you do a snapshot, you aren't copying all the data into the snapshot. What you are doing is copying a current set of metadata and flagging all the disk blocks as Copy on Write, so that as you continue to use the filesystem, the blocks that make up the snapshot never get changed. If the OS wants to write to that file the filesystem allocates a new block, copies the existing data over to it and then does the modification that the OS asked for.
So if you have a filesystem in a RAID0 stripe set of drives, when you make a snapshot, the snapshot will continue to require both drives.
You would then have to make a complete copy of the files on the filesystem to have it all reside on one drive.