From owner-freebsd-fs@freebsd.org Fri May 18 20:29:47 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C21FFEDAFF4 for ; Fri, 18 May 2018 20:29:47 +0000 (UTC) (envelope-from aminoff@nber.org) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mx1.freebsd.org (Postfix) with ESMTP id 5BA4268A1E for ; Fri, 18 May 2018 20:29:46 +0000 (UTC) (envelope-from aminoff@nber.org) Received: from [198.71.6.100] (perlw2.nber.org [198.71.6.100]) (authenticated bits=0) by mail2.nber.org (8.15.2/8.15.2) with ESMTPSA id w4IKHXGr038182 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 18 May 2018 16:17:33 -0400 (EDT) (envelope-from aminoff@nber.org) X-Authentication-Warning: mail2.nber.org: Host perlw2.nber.org [198.71.6.100] claimed to be [198.71.6.100] To: freebsd-fs@freebsd.org From: Alex Aminoff Subject: Can one remove a specific file from all snapshots? Message-ID: <38792b3b-04db-0c7f-c9a4-3f55b908a427@nber.org> Date: Fri, 18 May 2018 16:17:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-BS X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, 2018/05/17 14:45:39 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2018/05/18 13:56:00 #8433146 X-KLMS-AntiVirus-Status: Clean, skipped X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2018 20:29:47 -0000 The use case here is that we have data sets of sensitive data that we are contractually obligated to delete with no backups at a certain point in time. The datasets are stored on a ZFS filesystem (on a truenas from IxSystems as it happens). The snapshots are kept for 15 days, so at the moment we have to rm the files 15 days before the deadline to be compliant. Is there a way to delete a specific file from the live filesystem as well as all the snapshots? I did find a post to this list from 2014: https://lists.freebsd.org/pipermail/freebsd-fs/2014-October/020307.html but I don't think it is relevant, and in any case it does not appear that the feature that post describes was implemented. Thanks,  - Alex Aminoff, NBER