From: Roman Mamedov <rm@romanrm.net>
To: Bernd Lentes <bernd.lentes@helmholtz-muenchen.de>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: can i delete a snapshot with rm -rf ?
Date: Wed, 7 Jun 2023 00:44:43 +0500 [thread overview]
Message-ID: <20230607004443.58b9395c@nvm> (raw)
In-Reply-To: <PR3PR04MB73408FC92E78BEFF8E85C395D652A@PR3PR04MB7340.eurprd04.prod.outlook.com>
On Tue, 6 Jun 2023 19:34:36 +0000
Bernd Lentes <bernd.lentes@helmholtz-muenchen.de> wrote:
> i'm pretty sure having read that this is possible. And in some scripts i do it this way.
> But now i found on the net to not delete a snapshot with rm.
>
> Cab you help me to clarify that ?
Yes you can, but it is not the optimal way.
It would be more time-consuming, and might lead to metadata bloat and
fragmentation, since multiple states of the directory tree over time as the
deletion progresses will need to get recorded and re-recorded in the metadata.
--
With respect,
Roman
prev parent reply other threads:[~2023-06-06 19:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-06 19:34 can i delete a snapshot with rm -rf ? Bernd Lentes
2023-06-06 19:44 ` Goffredo Baroncelli
2023-06-06 19:44 ` Roman Mamedov [this message]
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=20230607004443.58b9395c@nvm \
--to=rm@romanrm.net \
--cc=bernd.lentes@helmholtz-muenchen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.