Re: Beadm can't create snapshot
- Reply: Larry Rosenman : "Re: Beadm can't create snapshot"
- Reply: Ryan Moeller : "Re: Beadm can't create snapshot"
- In reply to: Ryan Moeller : "Re: Beadm can't create snapshot"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Aug 2022 19:28:14 UTC
On 8/17/22 12:16 PM, Ryan Moeller wrote: > > On 8/17/22 12:05 PM, Ryan Moeller wrote: >> >> On 8/17/22 10:35 AM, Thomas Laus wrote: >>> I attempted to create a ZFS snapshot after upgrading this morning >>> and received this error >>> >>> # beadm create n257443 >>> cannot create 'zroot/ROOT/n257443': 'snapshots_changed' is readonly >>> # >> >> >> This looks like a bug in beadm. It must be trying to set the >> snapshots_changed property when cloning the snapshot for the BE, but >> the property is of course readonly. >> >> -Ryan >> > > I took a closer look at what beadm is doing and this appears to be a > bug in the property after all. beadm filters by source "local" or > "received" and for "snapshots_changed" the source is "local" when it > should be "-" like other readonly properties. We'll get this fixed ASAP. > > -Ryan > Now fixed as of https://github.com/openzfs/zfs/commit/518b4876022eee58b14903da09b99c01b8caa754 -Ryan >> >>> >>> My version info: >>> >>> 14.0-CURRENT FreeBSD 14.0-CURRENT #9 main-n257443-f7413197245: Wed >>> Aug 17 08:15:27 EDT 2022 >>> >>> There was not any information in UPDATING about any required ZFS >>> configuration changes required nor any ZFS flags that listed >>> 'snapshots_changed' as something that needed a new value. There is >>> actually a new snapshot created, but 'beadm list' does not show it >>> and the boot menu does not have it listed. >>> >>> Tom >>> >> >