ZFS compression doesn't work

Glen Barber gjb at FreeBSD.org
Mon Aug 27 22:08:39 UTC 2012


On Mon, Aug 27, 2012 at 11:51:06PM +0200, antonin tessier wrote:
> 
> Hello,
> 
> 
> I am trying to understand and use ZFS features. My issue is that
> compression doesn't work, indeed I have a pool and a filesystem
> named "home" and "home/compressed".
> #zfs list
> 
>  NAME               USED  AVAIL  REFER  MOUNTPOINT
>  home                       7.33G            180G   32K     home
>  home/compressed  7.33G   180G  7.33G  /home/compressed
> 
> despite I did:
> # zfs set compression=gzip home/compressed
> 
> I don't understand where it is wrong.
> 

Did you set this at time the pool was created?  If you set this after
the pool already contained data, existing data is not compressed.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120827/6503e058/attachment.pgp


More information about the freebsd-fs mailing list