On Tue, Jan 14, 2014 at 09:30:14AM +0000, Duncan wrote:
> Chris Murphy posted on Tue, 14 Jan 2014 00:49:13 -0700 as excerpted:
> 
> > On Jan 13, 2014, at 11:03 PM, Duncan <1i5t5.dun...@cox.net> wrote:
> > 
> >> Chris Murphy posted on Mon, 13 Jan 2014 17:40:33 -0700 as excerpted:
> >> 
> >>> btrfs-image -c 9-t 4 /dev/sdX /mnt/<pathtoanothervolume+filename>
> >>> 
> >>> You can keep it handy in case a dev asks for it or you can attach it
> >>> to a kernel.org bug report.
> >> 
> >> How big are they?  manpage says it's metadata only (data is zeroed),
> >> so I'd guess one could expect it to be about metadata size as reported
> >> by btrfs fi df?
> > 
> > # btrfs fi df /mnt/isos
> > Metadata, DUP: total=1.00GiB, used=289.53MiB
> > 
> > 193M -rw-r--r--. 1 root root 193M Jan 14 00:44 sdb.img
> > 
> > Guess that's too big to attach to a bugzilla bug.
> 
> ~ 290 MiB metadata, ~ 190 MiB btrfs-image.  So roughly 2/3 the size of 
> metadata.  Metadata minus file tails (which are actually data, thus 
> should be zeroed)?
> 
> Thanks.
> 
> I wonder if it compresses?

   Yes, that's the -c9 option, and it compresses fairly well.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
    --- Questions are a burden, and answers a prison for oneself. ---    

Attachment: signature.asc
Description: Digital signature

Reply via email to