All of lore.kernel.org
 help / color / mirror / Atom feed
* Snapshot cannot be deleted
@ 2015-01-20 12:28 Andreas Philipp
  2015-01-20 17:13 ` Theodore Ts'o
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andreas Philipp @ 2015-01-20 12:28 UTC (permalink / raw)
  To: linux-ext4; +Cc: Andreas Philipp

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?

Thanks,
Andreas

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

* Re: Snapshot cannot be deleted
  2015-01-20 12:28 Snapshot cannot be deleted Andreas Philipp
@ 2015-01-20 17:13 ` Theodore Ts'o
  2015-01-20 17:13 ` Theodore Ts'o
  2015-01-21 12:26 ` Filipe David Manana
  2 siblings, 0 replies; 4+ 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] 4+ messages in thread

* Re: Snapshot cannot be deleted
  2015-01-20 12:28 Snapshot cannot be deleted Andreas Philipp
  2015-01-20 17:13 ` Theodore Ts'o
@ 2015-01-20 17:13 ` Theodore Ts'o
  2015-01-21 12:26 ` Filipe David Manana
  2 siblings, 0 replies; 4+ 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] 4+ messages in thread

* Re: Snapshot cannot be deleted
  2015-01-20 12:28 Snapshot cannot be deleted Andreas Philipp
  2015-01-20 17:13 ` Theodore Ts'o
  2015-01-20 17:13 ` Theodore Ts'o
@ 2015-01-21 12:26 ` Filipe David Manana
  2 siblings, 0 replies; 4+ 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] 4+ messages in thread

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-20 12:28 Snapshot cannot be deleted Andreas Philipp
2015-01-20 17:13 ` Theodore Ts'o
2015-01-20 17:13 ` Theodore Ts'o
2015-01-21 12:26 ` Filipe David Manana

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.