Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: linux-btrfs@vger.kernel.org
Subject: Re: how to delete a (hidden) snapshot from timeshift?
Date: Wed, 4 Sep 2024 12:10:40 +0200	[thread overview]
Message-ID: <20240904101040.GA35246@tik.uni-stuttgart.de> (raw)
In-Reply-To: <20240903132316.GA20488@tik.uni-stuttgart.de>

On Tue 2024-09-03 (15:23), Ulli Horlacher wrote:
> 
> I have upgraded Mint 21 to Mint 22 with "mintupgrade" (Ubuntu 22 based).
> This calls timeshift and creates a btrfs snapshot which I wanted to delete
> afterwards:
> 
> root@mux21:~# btrfs subvolume list /
> ID 256 gen 102469 top level 5 path @
> ID 257 gen 102467 top level 5 path @home
> ID 367 gen 102260 top level 256 path local/home
> ID 667 gen 102466 top level 256 path tmp
> ID 682 gen 102445 top level 5 path timeshift-btrfs/snapshots/2024-09-03_13-00-02/@
> 
> root@mux21:~# btrfs subvolume del timeshift-btrfs/snapshots/2024-09-03_13-00-02/@
> ERROR: Could not statfs: No such file or directory
> 
> root@mux21:~# btrfs subvolume del -i 682 timeshift-btrfs/snapshots/2024-09-03_13-00-02/@
> ERROR: Could not open: No such file or directory

Found my mistake. Correct is:

btrfs subvolume del -i 682 /


-- 
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:<20240903132316.GA20488@tik.uni-stuttgart.de>

      parent reply	other threads:[~2024-09-04 10:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-03 13:23 how to delete a (hidden) snapshot from timeshift? Ulli Horlacher
2024-09-03 17:16 ` Andrei Borzenkov
2024-09-04 10:10 ` Ulli Horlacher [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=20240904101040.GA35246@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