From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: cannot read default subvolume id?
Date: Mon, 28 Jul 2025 12:08:45 +0200 [thread overview]
Message-ID: <20250728100845.GE842273@tik.uni-stuttgart.de> (raw)
In-Reply-To: <d738f9b1-2717-4524-b5de-3c5636351b44@suse.com>
On Mon 2025-07-28 (08:06), Qu Wenruo wrote:
>
>
> åš 2025/7/28 03:16, Ulli Horlacher åé":
>
> >
> > Why is there a "cannot read default subvolume id"?
> >
> > tux@quak:~: btrfs sub create xx
> > Create subvolume './xx'
> >
> > tux@quak:~: btrfs sub del xx
> > WARNING: cannot read default subvolume id: Operation not permitted
>
> It's a warning, not an error. And you can see on the next line, the
> deletion happened without any problem.
But this warning confuses a user:
Is there a problem?
What is going wrong?
Have I made a mistake?
> You're running as a non-root user, meanwhile default subvolume id search
> is done using tree search ioctl, which require root privilege.
Why is this subvolume id search necessary for subvolume deletion and why
is it just a warning and apparently no problem at all?
If it does not have any consequences, it should not be displayed.
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/
REF:<d738f9b1-2717-4524-b5de-3c5636351b44@suse.com>
next prev parent reply other threads:[~2025-07-28 10:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-27 17:46 cannot read default subvolume id? Ulli Horlacher
2025-07-27 22:36 ` Qu Wenruo
2025-07-28 10:08 ` Ulli Horlacher [this message]
2025-07-28 10:44 ` Qu Wenruo
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=20250728100845.GE842273@tik.uni-stuttgart.de \
--to=framstag@rus.uni-stuttgart.de \
--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