OpenSolaris

  subsites:   Code Reviews   Gates   Issues   Defects   Polls   Test   PKG   Planet   Mail
You are not signed in. Sign in or register.

Heads up: ZFS gzip support on-disk version update

Date: Thu, 22 Mar 2007 17:30:36 -0700
From: Adam Leventhal <ahl at eng dot sun dot com>
To: onnv-gate at onnv dot eng dot sun dot com
Subject: Heads up: ZFS gzip support on-disk version update

If you don't use ZFS, then you can safely ignore this message.

With the integration of this bug:

  6536606 gzip compression for ZFS

ZFS now supports gzip compression for datasets. To enable gzip compression
just set the 'compression' property to 'gzip' (or 'gzip-N' where N=1..9).
Existing pools will need to upgrade in order to use this feature, and, yes,
this is the second ZFS version number update this week. Recall that once
you've upgraded a pool older software will no longer be able to access it
regardless of whether you're using the gzip compression algorithm.

# zfs create pool/none
# cp -r /usr/bin /pool/none
# zfs create -o compression=on pool/lzjb
# cp -r /usr/bin /pool/lzjb
# zfs create -o compression=gzip pool/gzip
# cp -r /usr/bin /pool/gzip
# zfs create -o compression=gzip-9 pool/gzip-9
# cp -r /usr/bin /pool/gzip-9
# zfs list
NAME          USED  AVAIL  REFER  MOUNTPOINT
pool          259M  33.2G    23K  /pool
pool/gzip    41.2M  33.2G  41.2M  /pool/gzip
pool/gzip-9  33.9M  33.2G  33.9M  /pool/gzip-9
pool/lzjb    68.6M  33.2G  68.6M  /pool/lzjb
pool/none     115M  33.2G   115M  /pool/none

If you have any problems or questions, let me know.

Adam


-- 
Adam Leventhal, Solaris Kernel Development       http://blogs.sun.com/ahl