linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2 errors on scrub
@ 2013-01-10  0:38 Russell Coker
  2013-01-10  8:55 ` Hugo Mills
  2013-01-10 12:04 ` David Sterba
  0 siblings, 2 replies; 5+ messages in thread
From: Russell Coker @ 2013-01-10  0:38 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org list

The below is from a system running the Debian kernel 3.2.0-4-amd64 on a 120G 
Intel SSD.  What would these 2 errors be?

scrub device /dev/disk/by-uuid/7939c405-c656-4e85-a6a0-29f17be09585 (id 1) 
done
        scrub started at Thu Jan 10 06:00:02 2013 and finished after 295 
seconds
        total bytes scrubbed: 25.42GB with 2 errors
        error details: super=2
        corrected errors: 0, uncorrectable errors: 0, unverified errors: 0

I know you all recommend later kernels, I'm upgrading things as fast as I can.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

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

* Re: 2 errors on scrub
  2013-01-10  0:38 2 errors on scrub Russell Coker
@ 2013-01-10  8:55 ` Hugo Mills
  2013-01-10 11:01   ` Russell Coker
  2013-01-10 12:04 ` David Sterba
  1 sibling, 1 reply; 5+ messages in thread
From: Hugo Mills @ 2013-01-10  8:55 UTC (permalink / raw)
  To: Russell Coker; +Cc: linux-btrfs@vger.kernel.org list

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

On Thu, Jan 10, 2013 at 11:38:45AM +1100, Russell Coker wrote:
> The below is from a system running the Debian kernel 3.2.0-4-amd64 on a 120G 
> Intel SSD.  What would these 2 errors be?
> 
> scrub device /dev/disk/by-uuid/7939c405-c656-4e85-a6a0-29f17be09585 (id 1) 
> done
>         scrub started at Thu Jan 10 06:00:02 2013 and finished after 295 
> seconds
>         total bytes scrubbed: 25.42GB with 2 errors
>         error details: super=2
>         corrected errors: 0, uncorrectable errors: 0, unverified errors: 0

   Looks like broken superblocks, from that message. There's probably
more information in your kernel logs.

> I know you all recommend later kernels, I'm upgrading things as fast as I can.

   Glad to hear it. :)

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
       --- We believe in free will because we have no choice. ---        

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

* Re: 2 errors on scrub
  2013-01-10  8:55 ` Hugo Mills
@ 2013-01-10 11:01   ` Russell Coker
  0 siblings, 0 replies; 5+ messages in thread
From: Russell Coker @ 2013-01-10 11:01 UTC (permalink / raw)
  To: Hugo Mills; +Cc: linux-btrfs@vger.kernel.org list

On Thu, 10 Jan 2013, Hugo Mills <hugo@carfax.org.uk> wrote:
>    Looks like broken superblocks, from that message. There's probably
> more information in your kernel logs.

The only BTRFS message I see in the kernel log is "btrfs: unlinked 3 orphans" 
which happens every time a cron job makes a snapshot of /home.  Why does it do 
that?

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

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

* Re: 2 errors on scrub
  2013-01-10  0:38 2 errors on scrub Russell Coker
  2013-01-10  8:55 ` Hugo Mills
@ 2013-01-10 12:04 ` David Sterba
  2013-01-12  1:56   ` Russell Coker
  1 sibling, 1 reply; 5+ messages in thread
From: David Sterba @ 2013-01-10 12:04 UTC (permalink / raw)
  To: Russell Coker; +Cc: linux-btrfs@vger.kernel.org list

On Thu, Jan 10, 2013 at 11:38:45AM +1100, Russell Coker wrote:
> The below is from a system running the Debian kernel 3.2.0-4-amd64 on a 120G 
> Intel SSD.  What would these 2 errors be?
> 
> scrub device /dev/disk/by-uuid/7939c405-c656-4e85-a6a0-29f17be09585 (id 1) 
> done
>         scrub started at Thu Jan 10 06:00:02 2013 and finished after 295 
> seconds
>         total bytes scrubbed: 25.42GB with 2 errors
>         error details: super=2

The superblock errors are detected but not corrected right away, because
next transaction commit will overvrite it.

Does scub report the errors repeatedly?

There are no other scrub errors reported, I guess there are also no
relevant messages in syslog. During transaction commit scrub is paused,
so it's not possible to verify a half-made superblock.

>         corrected errors: 0, uncorrectable errors: 0, unverified errors: 0

david

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

* Re: 2 errors on scrub
  2013-01-10 12:04 ` David Sterba
@ 2013-01-12  1:56   ` Russell Coker
  0 siblings, 0 replies; 5+ messages in thread
From: Russell Coker @ 2013-01-12  1:56 UTC (permalink / raw)
  To: dsterba; +Cc: linux-btrfs@vger.kernel.org list

On Thu, 10 Jan 2013, David Sterba <dsterba@suse.cz> wrote:
> >         total bytes scrubbed: 25.42GB with 2 errors
> >         error details: super=2
> 
> The superblock errors are detected but not corrected right away, because
> next transaction commit will overvrite it.
> 
> Does scub report the errors repeatedly?

Scrub reported the errors repeatedly, but now the errors have gone away (I 
have just done a few scrubs with no errors reported).  So it seems that 
something that happened in the mean time fixed it.

Thanks for your reply.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

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

end of thread, other threads:[~2013-01-12  1:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10  0:38 2 errors on scrub Russell Coker
2013-01-10  8:55 ` Hugo Mills
2013-01-10 11:01   ` Russell Coker
2013-01-10 12:04 ` David Sterba
2013-01-12  1:56   ` Russell Coker

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