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