Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* scrub to delete files
@ 2012-03-24 11:12 Lubos Kolouch
  2012-03-24 13:10 ` Martin Steigerwald
  0 siblings, 1 reply; 3+ messages in thread
From: Lubos Kolouch @ 2012-03-24 11:12 UTC (permalink / raw)
  To: linux-btrfs

Hello,

I have a (rather historical btrfs) filesystem running here.
When I run scrub, I get a lot of messages like :
btrfs: checksum error at logical 2153033760768 on dev /dev/md2, sector 
492918400, root 5232, inode 3360637, offset 217088, length 4096, links 1 
(path: ....)

and

btrfs: unable to fixup (regular) error at logical 2154979917824

Is there a way how to have scrub delete the broken files?
What to do with the unable to fixup messages?

Thank you

Lubos


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

* Re: scrub to delete files
  2012-03-24 11:12 scrub to delete files Lubos Kolouch
@ 2012-03-24 13:10 ` Martin Steigerwald
  2012-03-24 13:22   ` Lubos Kolouch
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Steigerwald @ 2012-03-24 13:10 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Lubos Kolouch

Am Samstag, 24. M=C3=A4rz 2012 schrieb Lubos Kolouch:
> Hello,

Hi Lubos,

> I have a (rather historical btrfs) filesystem running here.
> When I run scrub, I get a lot of messages like :
> btrfs: checksum error at logical 2153033760768 on dev /dev/md2, secto=
r
> 492918400, root 5232, inode 3360637, offset 217088, length 4096, link=
s
> 1 (path: ....)
>=20
> and
>=20
> btrfs: unable to fixup (regular) error at logical 2154979917824
>=20
> Is there a way how to have scrub delete the broken files?
> What to do with the unable to fixup messages?

What kernel version are you using?

I thought that with newer kernel versions it would put the name of the =
file=20
which failed into kernel log as well. Then you could grep for those, aw=
k=20
them out of the log file and delete them then.

Since my filesystems all scrub well I have no example log message.

Thanks,
--=20
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: scrub to delete files
  2012-03-24 13:10 ` Martin Steigerwald
@ 2012-03-24 13:22   ` Lubos Kolouch
  0 siblings, 0 replies; 3+ messages in thread
From: Lubos Kolouch @ 2012-03-24 13:22 UTC (permalink / raw)
  To: linux-btrfs

Martin Steigerwald, Sat, 24 Mar 2012 14:10:42 +0100:

> Am Samstag, 24. M=C3=A4rz 2012 schrieb Lubos Kolouch:
>> Hello,
>=20
> Hi Lubos,
>=20
>> I have a (rather historical btrfs) filesystem running here.
>> When I run scrub, I get a lot of messages like :
>> btrfs: checksum error at logical 2153033760768 on dev /dev/md2, sect=
or
>> 492918400, root 5232, inode 3360637, offset 217088, length 4096, lin=
ks
>> 1 (path: ....)
>>=20
>> and
>>=20
>> btrfs: unable to fixup (regular) error at logical 2154979917824
>>=20
>> Is there a way how to have scrub delete the broken files?
>> What to do with the unable to fixup messages?
>=20
> What kernel version are you using?
>=20
> I thought that with newer kernel versions it would put the name of th=
e
> file which failed into kernel log as well. Then you could grep for
> those, awk them out of the log file and delete them then.
>=20
> Since my filesystems all scrub well I have no example log message.
>=20
> Thanks,
> --
> Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C
> 0040 0710 4AFA  B82F 991B EAAC A599 84C7

Hallo Martin,

Thank you for reply...

I'm using 3.3.0 - yes, it is in the log file so I will do that. Just=20
though if scrub does not have a (non-documented) option to do it.

Thanks

Lubos

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

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

end of thread, other threads:[~2012-03-24 13:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-24 11:12 scrub to delete files Lubos Kolouch
2012-03-24 13:10 ` Martin Steigerwald
2012-03-24 13:22   ` Lubos Kolouch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox