On Wed, Aug 7, 2019 at 3:33 AM Jon Ander MB <jonandermonl...@gmail.com> wrote: > > Hi! Thanks for the reply! > First: I am (g)root,, yes :) > Second: The snapshot was taken in ro mode, the fs is not ro and the > rest of the snapshots and volumes work as intended (rw) > > Thanks > > On Wed, Aug 7, 2019 at 11:04 AM Hugo Mills <h...@carfax.org.uk> wrote: > > > > 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?
Maybe strace the failing command, and see if that provides a hint what's going on? -- Chris Murphy