9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] venti errors
@ 2007-11-11 10:21 Christian Kellermann
  2007-11-12  3:14 ` Russ Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Kellermann @ 2007-11-11 10:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

Dear List,

I just vac'ed my home of a non plan9 machine to my plan9 venti (using p9p's vac) and I get a lot of these plan9 log messages:

2007/1111 10:17:36 err 3: corrupted disk index bucket: n=41371 max=215, range=[0,396984)
2007/1111 10:17:38 err 3: corrupted disk index bucket: n=55627 max=215, range=[0,396984)
/boot/venti: bad bucket XXX
2007/1111 10:17:38 err 3: corrupted disk index bucket: n=8135 max=215, range=[0,396984)

Should I get a new harddisk or is something else wrong?

Regards,

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

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

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

* Re: [9fans] venti errors
  2007-11-11 10:21 [9fans] venti errors Christian Kellermann
@ 2007-11-12  3:14 ` Russ Cox
  2007-11-12  7:56   ` Christian Kellermann
  0 siblings, 1 reply; 3+ messages in thread
From: Russ Cox @ 2007-11-12  3:14 UTC (permalink / raw)
  To: 9fans

> 2007/1111 10:17:36 err 3: corrupted disk index bucket: n=41371 max=215, range=[0,396984)
> 2007/1111 10:17:38 err 3: corrupted disk index bucket: n=55627 max=215, range=[0,396984)
> /boot/venti: bad bucket XXX
> 2007/1111 10:17:38 err 3: corrupted disk index bucket: n=8135 max=215, range=[0,396984)
> 
> Should I get a new harddisk or is something else wrong?

Your index buckets can hold a max of 215 entries
(because you have 8192-byte blocks), but the
16-bit entry counts look essentially random.

It's possible that you've configured your disk with
overlapping partitions, so that some other program
scribbled over the index thinking it was something else.
cat /dev/sd__/ctl and examine the ranges to make sure this isn't it.

If the partitions are in fact disjoint, then it sounds
like your disk is not healthy.

Russ


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

* Re: [9fans] venti errors
  2007-11-12  3:14 ` Russ Cox
@ 2007-11-12  7:56   ` Christian Kellermann
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Kellermann @ 2007-11-12  7:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

* Russ Cox <rsc@swtch.com> [071112 04:19]:
> > 2007/1111 10:17:36 err 3: corrupted disk index bucket: n=41371 max=215, range=[0,396984)
> > 2007/1111 10:17:38 err 3: corrupted disk index bucket: n=55627 max=215, range=[0,396984)
> > /boot/venti: bad bucket XXX
> > 2007/1111 10:17:38 err 3: corrupted disk index bucket: n=8135 max=215, range=[0,396984)
> > 
> > Should I get a new harddisk or is something else wrong?
> 
> Your index buckets can hold a max of 215 entries
> (because you have 8192-byte blocks), but the
> 16-bit entry counts look essentially random.
> 
> It's possible that you've configured your disk with
> overlapping partitions, so that some other program
> scribbled over the index thinking it was something else.
> cat /dev/sd__/ctl and examine the ranges to make sure this isn't it.
> 
> If the partitions are in fact disjoint, then it sounds
> like your disk is not healthy.
> 

As I didn't partition it manually but trusted the installer it looks like this:
cpu% cat /dev/sdC0/ctl
inquiry Maxtor 6Y080L0                          
config 0040 capabilities 2F00 dma 00550040 dmactl 00000000 rwm 16 rwmctl 0
geometry 160086528 512 16383 16 63
part data 0 160086528
part plan9 63 160071660
part 9fat 63 204863
part nvram 204863 204864
part fossil 204864 25615779
part arenas 25615779 152670355
part isect 152670355 159023084
part swap 159023084 160071660

I guess it is time for a new disk...

Thanks Russ for explaining it!

Regards,

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

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

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

end of thread, other threads:[~2007-11-12  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-11 10:21 [9fans] venti errors Christian Kellermann
2007-11-12  3:14 ` Russ Cox
2007-11-12  7:56   ` Christian Kellermann

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