* converting lzo compression to zlib compression?
@ 2013-06-16 17:16 Tomasz Chmielewski
2013-06-17 2:11 ` Liu Bo
2013-06-17 15:16 ` David Sterba
0 siblings, 2 replies; 3+ messages in thread
From: Tomasz Chmielewski @ 2013-06-16 17:16 UTC (permalink / raw)
To: linux-btrfs
I have a btrfs filesystem mounted with "compress=lzo" now.
I'd like to see how much space would I save by converting it to zlib.
Would it be possible to convert lzo compression to zlib compression
with the following:
- mount the filesystem with "compress=zlib"
- run balance
- when balance finishes, the data would be compressed with zlib
Would this work as above, or do I have to copy the data out and back to
convert from lzo compression to zlib compression?
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: converting lzo compression to zlib compression?
2013-06-16 17:16 converting lzo compression to zlib compression? Tomasz Chmielewski
@ 2013-06-17 2:11 ` Liu Bo
2013-06-17 15:16 ` David Sterba
1 sibling, 0 replies; 3+ messages in thread
From: Liu Bo @ 2013-06-17 2:11 UTC (permalink / raw)
To: Tomasz Chmielewski; +Cc: linux-btrfs
On Mon, Jun 17, 2013 at 02:16:53AM +0900, Tomasz Chmielewski wrote:
> I have a btrfs filesystem mounted with "compress=lzo" now.
>
> I'd like to see how much space would I save by converting it to zlib.
>
>
> Would it be possible to convert lzo compression to zlib compression
> with the following:
>
> - mount the filesystem with "compress=zlib"
> - run balance
> - when balance finishes, the data would be compressed with zlib
>
> Would this work as above, or do I have to copy the data out and back to
> convert from lzo compression to zlib compression?
Hi,
I'm afraid the above won't work, cause balance is not aware of the
compression so that it won't decompress the data.
thanks,
liubo
>
>
> --
> Tomasz Chmielewski
> http://wpkg.org
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: converting lzo compression to zlib compression?
2013-06-16 17:16 converting lzo compression to zlib compression? Tomasz Chmielewski
2013-06-17 2:11 ` Liu Bo
@ 2013-06-17 15:16 ` David Sterba
1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2013-06-17 15:16 UTC (permalink / raw)
To: Tomasz Chmielewski; +Cc: linux-btrfs
On Mon, Jun 17, 2013 at 02:16:53AM +0900, Tomasz Chmielewski wrote:
> I'd like to see how much space would I save by converting it to zlib.
>
> Would it be possible to convert lzo compression to zlib compression
> with the following:
>
> - mount the filesystem with "compress=zlib"
- run defrag on all desired files with -czlib
david
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-17 15:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-16 17:16 converting lzo compression to zlib compression? Tomasz Chmielewski
2013-06-17 2:11 ` Liu Bo
2013-06-17 15:16 ` David Sterba
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.