From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4464C139360 for ; Fri, 6 Aug 2021 07:23:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19358E0999; Fri, 6 Aug 2021 07:23:26 +0000 (UTC) Received: from icp-osb-irony-out8.external.iinet.net.au (icp-osb-irony-out8.external.iinet.net.au [203.59.1.225]) by pigeon.gentoo.org (Postfix) with ESMTP id AC884E097D for ; Fri, 6 Aug 2021 07:23:22 +0000 (UTC) X-SMTP-MATCH: 0 IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AeG8Ey65y1tKmK+JVsQPXwMTXdLJyesId70?= =?us-ascii?q?hD6qkXc20wTiX4rbHKoB1/73XJYVkqN03I9ervBEDiewK/yXcW2+Us1OyZPT?= =?us-ascii?q?UO0VHARL2KhbGI/9SKIVycygcy78ddmz8VMrDNMWQ=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2CJAwBK4gxh/+hY69xaHAEBAQEBAQc?= =?us-ascii?q?BARIBAQQEAQFACYFQgyJWAQEBaYRHiQSHHAEBAQaBQQM4AYowknULAQEBAQE?= =?us-ascii?q?BAQEBCTUMBAEBhFgCgwQmOBMBAgQVAQEBBQEBAQEBBgMBgSSFaA2GQwEFIw8?= =?us-ascii?q?BIzMLGAICJgICVxMIAQGCbQGCYSUQq0+BMYEBhGiFQgaBECqNb0N9gRCBPAw?= =?us-ascii?q?Dgm8+gmIBAoIsgkqCZASDFoEPARsOAheBbQchHKAunRiDMoo5k3wGDwUmg2W?= =?us-ascii?q?RbAgvkGaGd5tUlAyEeYE+OYF9TR8ZgyRQGQ6OVoYeiAc0AQEBLwI2AgYBCgE?= =?us-ascii?q?BAwmKUAEB?= X-IPAS-Result: =?us-ascii?q?A2CJAwBK4gxh/+hY69xaHAEBAQEBAQcBARIBAQQEAQFAC?= =?us-ascii?q?YFQgyJWAQEBaYRHiQSHHAEBAQaBQQM4AYowknULAQEBAQEBAQEBCTUMBAEBh?= =?us-ascii?q?FgCgwQmOBMBAgQVAQEBBQEBAQEBBgMBgSSFaA2GQwEFIw8BIzMLGAICJgICV?= =?us-ascii?q?xMIAQGCbQGCYSUQq0+BMYEBhGiFQgaBECqNb0N9gRCBPAwDgm8+gmIBAoIsg?= =?us-ascii?q?kqCZASDFoEPARsOAheBbQchHKAunRiDMoo5k3wGDwUmg2WRbAgvkGaGd5tUl?= =?us-ascii?q?AyEeYE+OYF9TR8ZgyRQGQ6OVoYeiAc0AQEBLwI2AgYBCgEBAwmKUAEB?= X-IronPort-AV: E=Sophos;i="5.84,299,1620662400"; d="scan'208";a="378568182" Received: from 220-235-88-232.dyn.iinet.net.au (HELO mail.infra.localdomain) ([220.235.88.232]) by icp-osb-irony-out8.iinet.net.au with ESMTP; 06 Aug 2021 15:23:19 +0800 Received: from localhost (mail.infra.localdomain [127.0.0.1]) by mail.infra.localdomain (Postfix) with ESMTP id 7703B4BD for ; Fri, 6 Aug 2021 15:23:19 +0800 (AWST) X-Virus-Scanned: amavisd-new at localdomain Received: from mail.infra.localdomain ([127.0.0.1]) by localhost (mail.infra.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ejeg-TXYAWyJ for ; Fri, 6 Aug 2021 15:22:28 +0800 (AWST) Subject: Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not) To: gentoo-user@lists.gentoo.org References: <6104C897.5010505@youngman.org.uk> <7e6b56a2-917f-4dd6-3599-722bca5162ca@iinet.net.au> <7b00c8ee-b142-cd21-fc9e-77d272bb116e@iinet.net.au> From: William Kenworthy Message-ID: <11f11623-5584-12ce-3fce-aaaf8855e4ad@iinet.net.au> Date: Fri, 6 Aug 2021 15:22:28 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-AU X-Archives-Salt: 530d4b87-21d1-487d-8084-7e7175bbf93c X-Archives-Hash: 4cac4c1bc0aa9b155a0709dc8e1015f8 On 6/8/21 4:40 am, Frank Steinmetzger wrote: > Am Tue, Aug 03, 2021 at 10:18:06AM +0200 schrieb Frank Steinmetzger: > >>> You could delete and rebuild the cache each time (or I think there is a >>> way to do without it). >> If the cache can be easily rebuilt, then there’d be no need to store it at >> all. > Here’s an afterthought that just hit me: > there should actually be no point in archiving the cache at all. If you had > a disaster and do a full restore from borg, the old cache data becomes > invalid anyways, because the files’ inodes will now be different. AFAIK, > inodes are one way of detecting file changes. Different inode → file must be > different → rehash. > > (Unless `borg extract` updates the borg cache for files it restores, which I > doubt because the destination path is arbitrary.) > Agreed - I do get a warning on restore and my first choice is always delete the cache AND the security directory - I should just go ahead and do it anyway I guess. Also, it would be a good time to read the borg create statement (https://borgbackup.readthedocs.io/en/stable/usage/create.html) for the file change detection parameters - moosefs and snapshots required non-default options to get it right. BillK