linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Snapshot cannot be deleted
       [not found] <CAKVY-+9cjRKfXFVVEamtNVLaWE1+jc44M4kyrJOOk915v2fxtA@mail.gmail.com>
@ 2015-01-20 17:13 ` Theodore Ts'o
  2015-01-21 12:26 ` Filipe David Manana
  1 sibling, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2015-01-20 17:13 UTC (permalink / raw)
  To: Andreas Philipp; +Cc: linux-btrfs

+linux-btrfs,-linux-ext4

On Tue, Jan 20, 2015 at 01:28:04PM +0100, Andreas Philipp wrote:
> 
> Due to the known (and fixed) bug in kernel 3.17.0 one of my btrfs
> volume suffers from unreadable and - even worse - uneraseable
> snapshots. Whenever such a snapshot is accessed there is "parent
> transid verify failed" in dmesg.
> Is there any way to delete these snapshots?

You sent this to the wrong mailing list, so I'm reforwarding this to
the linux-btrfs list.

Cheers,

						- Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Snapshot cannot be deleted
       [not found] <CAKVY-+9cjRKfXFVVEamtNVLaWE1+jc44M4kyrJOOk915v2fxtA@mail.gmail.com>
  2015-01-20 17:13 ` Snapshot cannot be deleted Theodore Ts'o
@ 2015-01-21 12:26 ` Filipe David Manana
  1 sibling, 0 replies; 2+ messages in thread
From: Filipe David Manana @ 2015-01-21 12:26 UTC (permalink / raw)
  To: Andreas Philipp; +Cc: linux-btrfs@vger.kernel.org

On Tue, Jan 20, 2015 at 12:28 PM, Andreas Philipp
<philipp.andreas@gmail.com> wrote:
> Hi,
>
> Due to the known (and fixed) bug in kernel 3.17.0 one of my btrfs
> volume suffers from unreadable and - even worse - uneraseable
> snapshots. Whenever such a snapshot is accessed there is "parent
> transid verify failed" in dmesg.
> Is there any way to delete these snapshots?

It can be fixed with btrfs-progs v3.17 and later (3.18.x is the latest release).
To confirm that you are affected by the 3.17 kernel issue, run btrfsck
in readonly mode first (without --repair or any other flags), which
will print one message with the following format for each corrupt
snapshot:

"root %llu has a root item with a more recent gen (%llu) compared to
the found root node (%llu)\n"

Any other error messages are likely unrelated and therefore associated
with other eventual issues.
As usual, before running btrfsck with --repair (which fixes the issue
and the snapshots will be fully repaired), create backups of your
data.

Hope it helps.

>
> Thanks,
> Andreas
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-21 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAKVY-+9cjRKfXFVVEamtNVLaWE1+jc44M4kyrJOOk915v2fxtA@mail.gmail.com>
2015-01-20 17:13 ` Snapshot cannot be deleted Theodore Ts'o
2015-01-21 12:26 ` Filipe David Manana

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).