On Wed, Aug 07, 2019 at 10:37:43AM +0200, Jon Ander MB wrote: > Hi! > I have a snapshot with the read only flag set and I'm currently unable > to delete it or change the ro setting > btrfs property set -ts /path/t/snapshot ro false > ERROR: failed to set flags for /path/t/snapshot: Operation not permitted > > Deleting the snapshot is also a no-go: > > btrfs subvolume delete /path/t/snapshot > Delete subvolume (no-commit): '/path/t/snapshot' > ERROR: cannot delete '/path/t/snapshot': Operation not permitted
First question: are you running those commands as root? Second question: has the FS itself gone read-only for some reason? (e.g. corruption detected). Hugo. > > The snapshot information: > > btrfs subvolume show /path/t/snapshot > /path/t/snapshot > Name: snapshot > UUID: 66a145da-a20d-a44e-bb7a-3535da400f5d > Parent UUID: f1866638-f77f-e34e-880d-e2e3bec1c88b > Received UUID: 66a145da-a20d-a44e-bb7a-3535da400f5d > Creation time: 2019-07-31 12:00:30 +0200 > Subvolume ID: 23786 > Generation: 1856068 > Gen at creation: 1840490 > Parent ID: 517 > Top level ID: 517 > Flags: readonly > Snapshot(s): > > > Any idea of what can I do? > > Regards! > -- Hugo Mills | I'm all for giving people enough rope to shoot hugo@... carfax.org.uk | themselves in the foot. http://carfax.org.uk/ | PGP: E2AB1DE4 | Andreas Dilger