From nobody Tue Aug 27 21:44:22 2024 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wtgzy40cSz5MSDq for ; Tue, 27 Aug 2024 21:44:30 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2069.outbound.protection.outlook.com [40.92.21.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wtgzx2NvKz51KL for ; Tue, 27 Aug 2024 21:44:29 +0000 (UTC) (envelope-from mirror176@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=YPLP0bCJ; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of mirror176@hotmail.com designates 40.92.21.69 as permitted sender) smtp.mailfrom=mirror176@hotmail.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=U0MUG61JPCt92YpodPLmXxskv0fGiEovPxKCZ4ySXeLEeD36APjFdar6J2c7iMLYafGEGUOqsNQa37Gfdsad6oqhjcTy5stFmkftwgECKtKUvR9EOiRazfxQx2lxgtDXkTvV7G0zbrgJNP9DmoAWr1oDFsS81pnutF71WehGyCH8dROzJKhS1YV/GgMJ6hhu89ob2mJhYfb/zEM6PfIfAG6/aZv3ZDhcNKSItd9if9JiqdRbcDSBanJfcRtimkIyOF2ZZX+ERs/SukqdihK5aIyPWPzOqM+qPJVJr9bgzAB25+9X3PkMQPSiI6OZt1ftqs9VzVLRAPXdjxMNETmGAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7jdxm4sFYpRQLi3eiea6li5eNfi5pT2G/0d1PYtzwGg=; b=yfw092qmltN+CFULqjFeA8zd7oX65NdTVroEb56stjk6wM+q0o16giArT9lHGWE7t0SzAn2paHlFHzLt6Exn1KuCSy2S8o1TlgXRXlPwSulEYLTjhK7Sk0glhPCfHpsiuy85kqUwhdZacZ82uTOBldvg8/+jN4GHQ5LX4FEBIHmiqBWpirD1poEeKPzMu+cXRf5WeZHYOpsQ66shfUVyOzF8+KZx7be3v0waAEWK9RF4U4XIxS0i/MFD0j/mGCeH6RjCf3JisP4ni/cPbmwXpDERsp/GCm1u0F+wqAJ0BwzaAGZIw8YpSiQQ7srF+gDy+1DBsxxgQ/Lalwf3AEIShA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7jdxm4sFYpRQLi3eiea6li5eNfi5pT2G/0d1PYtzwGg=; b=YPLP0bCJONctDmUFBkW/6nC2Yn6JqWOSQBTCjsUwpfRFoqaandHJC4rp3V9GRy60HcJh1OSHA2zRGHb25c0NJOC9hzxbE88piDRdYn3vPwjJ9ZW/pY7ZzDfgRc2pPnnxHxIswvS9maXdIW8kOLo8SYkATSzvoA46TKG+ZxpNyfmfvubmDcct87nLERfD7xhU//r4Wy160AzQuLPyNHPNSYDAL4qVGbbO+umCTOgF209ZPWYaaR5zlpPFKX+BCn5slpsc8c+Z5/DRmgQtt+uj8mEcmzLJPgQZC6f7lG3jKCcSa0d12RNLaigXZwHyCTdRZee7CZG1h05Q3g3f2kB43w== Received: from CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) by DM4PR11MB7400.namprd11.prod.outlook.com (2603:10b6:8:100::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Tue, 27 Aug 2024 21:44:26 +0000 Received: from CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::bffd:9e35:4afa:a747]) by CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::bffd:9e35:4afa:a747%6]) with mapi id 15.20.7897.021; Tue, 27 Aug 2024 21:44:26 +0000 Message-ID: Date: Tue, 27 Aug 2024 14:44:22 -0700 User-Agent: Mozilla Thunderbird Subject: Re: delete zfs and snapshots from upgrade process? To: stable@freebsd.org References: Content-Language: en-US From: "Edward Sanford Sutton, III" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [B0DkzuYHlHaGzbk/HfHiEkuAaorzLG3n] X-ClientProxiedBy: BL0PR0102CA0063.prod.exchangelabs.com (2603:10b6:208:25::40) To CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) X-Microsoft-Original-Message-ID: <8a384b9d-af50-4d75-a8ea-fd85c70deeef@hotmail.com> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR11MB4770:EE_|DM4PR11MB7400:EE_ X-MS-Office365-Filtering-Correlation-Id: d879aeb2-5fa5-4988-02fa-08dcc6e16ba9 X-Microsoft-Antispam: BCL:0;ARA:14566002|6090799003|19110799003|5072599009|461199028|15080799006|8060799006|440099028|3412199025; X-Microsoft-Antispam-Message-Info: RlkDOGQIxdqfetxv6nOzEP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lVXeWttbmdRdTJvV1JHdjZaMkx5RXVUZi80bHlRV1VyNW5xU0FYNU4x?= =?utf-8?B?Z0VnVnozeEdlMEI4cldjWXFxUGNRV3FpWnJFb0l0N1hSaDhyems3SXMrRXZy?= =?utf-8?B?TFNLcnNZMEhmNUZ2cXpOWlRhekluRmZOT1cwamF2KzNjR1FMNlU1UlZWUDM4?= =?utf-8?B?V3dhY202N3E2eDlNMWJ2OTMrcDFHVjlTdzRPZkpodnhqeVJJVG1UVEpkaEZn?= =?utf-8?B?Q0VacjlaRDVtZ2ZoRGZsL3NFMTZIdG82dVhkS1BPb0dqK3k3OGZWdkNrRDNE?= =?utf-8?B?NWVXbFRmMlRpeWE2T3haTmdZbXFBZXZmNHZHbzJ5SUROdmZ6d2Exb2t5ZmFy?= =?utf-8?B?TGIwT1RMcHN2d3ZVNUFSUTg1Q2RDZjY0WXJvWDl1MGNOVCtGSHVQb2hKVDJM?= =?utf-8?B?V2VVQ1RUTDdJOXJlTzVSMG9hNHFIT2k1NWdlRzQ5anJ4N0N5alBYR3J1aTkr?= =?utf-8?Q?/niokq7I6m9MBIKFOFHVkE/jk9eaXIdasZTmP+v7A/LI=3D?= X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-d1079.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: d879aeb2-5fa5-4988-02fa-08dcc6e16ba9 X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4770.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2024 21:44:25.9221 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB7400 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.37 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector10001:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.88)[-0.880]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/16]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; FREEMAIL_FROM(0.00)[hotmail.com]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; TO_DN_NONE(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.21.69:from]; MLMMJ_DEST(0.00)[stable@freebsd.org]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; RCVD_IN_DNSWL_NONE(0.00)[40.92.21.69:from] X-Rspamd-Queue-Id: 4Wtgzx2NvKz51KL On 8/25/24 02:05, ft wrote: > Hello, > > I have make an upgrade from 13.1 to 14.1. > uname -a > FreeBSD ftc 14.1-RELEASE-p3 FreeBSD 14.1-RELEASE-p3 GENERIC amd64 > > Everything works fine. > > My question: > There are some zfs and some snapshots. Can I destroy them or are they > required? If the data is important, make sure your backups are in order. If worried about making undoable changes, create a pool checkpoint; `man zpoolconcepts` for details about checkpoints. If you are using ZFS boot environments (it looks like you are), those switchable states are created by snapshotting the relevant datasets and then turning the snapshot into a clone. Which ones are safe to remove should be determined by paying attention to the 'Active' field when listing them (bectl or sysutils/beadm). Your boot environment manager has commands to destroy boot environments; read its manpage to see if you also need to tell it to clean up a corresponding snapshot. Otherwise, snapshots are not needed as long as they do not have your only copy of data you need (accidental overwrite, delete, etc). If you perform a `zpool upgrade` then newer pool features may also break the ability to boot older setups; sometimes you can install sysutils/openzfs to bring a newer version than was included with base to further improve the compatibility range; easiest done before the pool upgrade. Removing snapshots removes the ability to use it as a reference point for an incremental replication (zfs send+recv). FreeBSD does not depend on those snapshots for its current operation. > Here is the list: > zfs: > zroot/ROOT/13.1-RELEASE-p9_2023-08-27_201128 > zroot/ROOT/13.1-RELEASE_2023-08-27_195317 > zroot/ROOT/13.2-RELEASE-p12_2024-08-24_192252 > zroot/ROOT/13.2-RELEASE-p2_2023-08-27_223329 > zroot/ROOT/13.2-RELEASE-p2_2024-08-24_185205 > zroot/ROOT/14.1-RELEASE-p3_2024-08-24_192543 > snapshots: > zroot/ROOT/default@2023-08-27-19:53:17-0 > zroot/ROOT/default@2023-08-27-20:11:28-0 > zroot/ROOT/default@2023-08-27-22:33:29-0 > zroot/ROOT/default@2024-08-24-18:52:05-0 > zroot/ROOT/default@2024-08-24-19:22:52-0 > zroot/ROOT/default@2024-08-24-19:25:43-0 > > Franz > >