linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* recreate subvolume (not using btrfs send and receive)
@ 2015-04-10  6:50 sri
  0 siblings, 0 replies; only message in thread
From: sri @ 2015-04-10  6:50 UTC (permalink / raw)
  To: linux-btrfs

Hi,

I looking for a way to collect all metadata and data blocks associated 
with a subvolume or entire btrfs and recreate the same by dumping all 
blocks on newly allocated disks and bring the file system back assuming 
same number of disks are provided.

Example is say for ext3/ext4 using the information of used block bit map 
information in each block group, I can Identify all used blocks of the 
ext3/ext4 partition and simply copy all blocks.
Above will contains all metadata + data blocks (only used)
For a 10 Gb disk and say only 2 gb is used, using above, I can collect all 
2bg blocks.

Thank I can simply dump those blocks to a destination partition and 
recreate the partition. 

In the same way I am looking something similar for btrfs. 

Could anybody let me know is there a way to do this or something similar I 
can work it out.

Thanks you.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-10  7:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-10  6:50 recreate subvolume (not using btrfs send and receive) sri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).