linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Ander MB <jonandermonleon@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Unable to delete or change ro flag on subvolume/snapshot
Date: Wed, 7 Aug 2019 10:37:43 +0200	[thread overview]
Message-ID: <CACa3q1zdz9XHGzkrhyfACo58iRBWMRGPzbQTebaN3aU0HLJxgw@mail.gmail.com> (raw)

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


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!

-- 
--- Jon Ander Monleón Besteiro ---

             reply	other threads:[~2019-08-07  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-07  8:37 Jon Ander MB [this message]
2019-08-07  9:04 ` Unable to delete or change ro flag on subvolume/snapshot Hugo Mills
2019-08-07  9:33   ` Jon Ander MB
2019-08-07 16:04     ` Chris Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACa3q1zdz9XHGzkrhyfACo58iRBWMRGPzbQTebaN3aU0HLJxgw@mail.gmail.com \
    --to=jonandermonleon@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).