set dedup=on

root@home:~# beadm list
BE                        Active Mountpoint Space  Policy Created          
--                        ------ ---------- -----  ------ -------          
osol-dev-128a             NR     /          25.46G static 2009-12-04 12:38 
root@home:~# zfs list pool_d
NAME     USED  AVAIL  REFER  MOUNTPOINT
pool_d   712K  63.4M   644K  /pool_d
root@home:~# zpool status pool_d
  pool: pool_d
 state: ONLINE
 scrub: none requested
config:

        NAME                STATE     READ WRITE CKSUM
        pool_d              ONLINE       0     0     0
          /pool1/zfstest/1  ONLINE       0     0     0

errors: No known data errors
root@home:~# zpool list pool_d
NAME     SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
pool_d  95.5M   140K  95.4M     0%  18.00x  ONLINE  -
root@home:~#

No comment: DEDUP=18.00x! Сегодня буду пробовать на живых данных (относительно большая библиотека изображений, около 150 Gb).

Leave a Reply