How can compression be applied to an existing ZFS filesystem? (Doc ID 2221365.1)

Last updated on JANUARY 19, 2017

Applies to:

Solaris Operating System - Version 10 3/05 and later
Information in this document applies to any platform.

Goal

When using the command “zfs set compression=[some value other than off] [zfs dataset]” on an existing filesystem what is the best method to get the existing data compressed?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms