1*e2df9bb4SMartin Matuska.\" 2*e2df9bb4SMartin Matuska.\" CDDL HEADER START 3*e2df9bb4SMartin Matuska.\" 4*e2df9bb4SMartin Matuska.\" The contents of this file are subject to the terms of the 5*e2df9bb4SMartin Matuska.\" Common Development and Distribution License (the "License"). 6*e2df9bb4SMartin Matuska.\" You may not use this file except in compliance with the License. 7*e2df9bb4SMartin Matuska.\" 8*e2df9bb4SMartin Matuska.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*e2df9bb4SMartin Matuska.\" or http://www.opensolaris.org/os/licensing. 10*e2df9bb4SMartin Matuska.\" See the License for the specific language governing permissions 11*e2df9bb4SMartin Matuska.\" and limitations under the License. 12*e2df9bb4SMartin Matuska.\" 13*e2df9bb4SMartin Matuska.\" When distributing Covered Code, include this CDDL HEADER in each 14*e2df9bb4SMartin Matuska.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*e2df9bb4SMartin Matuska.\" If applicable, add the following below this CDDL HEADER, with the 16*e2df9bb4SMartin Matuska.\" fields enclosed by brackets "[]" replaced with your own identifying 17*e2df9bb4SMartin Matuska.\" information: Portions Copyright [yyyy] [name of copyright owner] 18*e2df9bb4SMartin Matuska.\" 19*e2df9bb4SMartin Matuska.\" CDDL HEADER END 20*e2df9bb4SMartin Matuska.\" 21*e2df9bb4SMartin Matuska.\" 22*e2df9bb4SMartin Matuska.\" Copyright (c) 2024, Klara Inc. 23*e2df9bb4SMartin Matuska.\" 24*e2df9bb4SMartin Matuska.Dd June 17, 2024 25*e2df9bb4SMartin Matuska.Dt ZPOOL-DDTPRUNE 8 26*e2df9bb4SMartin Matuska.Os 27*e2df9bb4SMartin Matuska. 28*e2df9bb4SMartin Matuska.Sh NAME 29*e2df9bb4SMartin Matuska.Nm zpool-ddtprune 30*e2df9bb4SMartin Matuska.Nd Prunes the oldest entries from the single reference dedup table(s) 31*e2df9bb4SMartin Matuska.Sh SYNOPSIS 32*e2df9bb4SMartin Matuska.Nm zpool 33*e2df9bb4SMartin Matuska.Cm ddtprune 34*e2df9bb4SMartin Matuska.Fl d Ar days | Fl p Ar percentage 35*e2df9bb4SMartin Matuska.Ar pool 36*e2df9bb4SMartin Matuska.Sh DESCRIPTION 37*e2df9bb4SMartin MatuskaThis command prunes older unique entries from the dedup table. 38*e2df9bb4SMartin MatuskaAs a complement to the dedup quota feature, 39*e2df9bb4SMartin Matuska.Sy ddtprune 40*e2df9bb4SMartin Matuskaallows removal of older non-duplicate entries to make room for 41*e2df9bb4SMartin Matuskanewer duplicate entries. 42*e2df9bb4SMartin Matuska.Pp 43*e2df9bb4SMartin MatuskaThe amount to prune can be based on a target percentage of the unique entries 44*e2df9bb4SMartin Matuskaor based on the age (i.e., every unique entry older than N days). 45*e2df9bb4SMartin Matuska. 46*e2df9bb4SMartin Matuska.Sh SEE ALSO 47*e2df9bb4SMartin Matuska.Xr zdb 8 , 48*e2df9bb4SMartin Matuska.Xr zpool-status 8 49