Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2002 16:28:09 -0700 (MST)
From:      Nick Rogness <nick@rogness.net>
To:        freebsd-hackers@freebsd.org
Subject:   Filesystem corruption
Message-ID:  <20021108154806.G70152-100000@skywalker.rogness.net>

next in thread | raw e-mail | index | archive | help

We have a server that is doing some wierd things.  /var/mail filesystem
(/dev/idad2s1e)  is reporting errors during certain tasks (like dump).
It does fsck clean umounted.  I have yet to see this type of error and
can't tell whether this is a bug or a hardware problem:

Nov  8 15:41:20 pop1 /kernel: dscheck(#idad/0x20014): negative b_blkno
-791620152
Nov  8 15:41:20 pop1 /kernel: dscheck(#idad/0x20014): negative b_blkno
-791620151
Nov  8 15:41:20 pop1 /kernel: dscheck(#idad/0x20014): negative b_blkno
-791620150
Nov  8 15:41:20 pop1 /kernel: dscheck(#idad/0x20014): negative b_blkno
-791620149
Nov  8 15:41:20 pop1 /kernel: dscheck(#idad/0x20014): negative b_blkno
-791620148
Nov  8 15:41:20 pop1 /kernel: dscheck(#idad/0x20014): negative b_blkno
-791620147



Machine and Error information listed below:


<DMESG sniplet>
ida0: <Compaq Smart Array 3200 controller> port 0x4000-0x40ff mem
0xc6ff0000-0xc6ff00ff irq 5 at device 0.0 on pci5
ida0: drives=3 firm_rev=4.50
idad0: <Compaq Logical Drive> on ida0
idad0: 17363MB (35561280 sectors), blocksize=512
idad1: <Compaq Logical Drive> on ida0
idad1: 52091MB (106683840 sectors), blocksize=512
idad2: <Compaq Logical Drive> on ida0
idad2: 104195MB (213392160 sectors), blocksize=512
</DMESG>

pop1# uname -a
FreeBSD pop1 4.7-STABLE FreeBSD 4.7-STABLE #2: Thu Oct 31 09:28:08 MST
2002     root@pop1:/usr/src/sys/compile/LOCAL  i386

pop1# mount
/dev/idad0s1a on / (ufs, local)
/dev/idad0s1g on /usr (ufs, local, soft-updates)
/dev/idad1s1e on /usr/home (ufs, local, nodev, nosuid, with quotas,
soft-updates)
/dev/idad0s1e on /var (ufs, local, soft-updates)
/dev/idad0s1f on /var/spool (ufs, local, nodev, nosuid, soft-updates)
/dev/idad2s1e on /var/mail (ufs, local, nodev, nosuid, with quotas,
soft-updates)
mfs:26 on /tmp (mfs, asynchronous, local, nodev, nosuid)
procfs on /proc (procfs, local)


pop1# df
Filesystem    1K-blocks     Used    Avail Capacity  Mounted on
/dev/idad0s1a   1032142    87194   862378     9%    /
/dev/idad0s1g   6112686  1255342  4368330    22%    /usr
/dev/idad1s1e  52512106 10068846 38242292    21%    /usr/home
/dev/idad0s1e   2064302   335346  1563812    18%    /var
/dev/idad0s1f   2064302   658416  1240742    35%    /var/spool
/dev/idad2s1e 105027110 24646574 71978368    26%    /var/mail
mfs:26           515598       36   474316     0%    /tmp
procfs                4        4        0   100%    /proc


pop1# dump 0af /dev/nrsa0 /var/mail
  DUMP: Date of this level 0 dump: Fri Nov  8 15:38:19 2002
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/idad2s1e (/var/mail) to /dev/nrsa0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 24476457 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: read error from /dev/idad2s1e: Invalid argument: [block
-1245853416]: count=1024
  DUMP: read error from /dev/idad2s1e: Invalid argument: [sector
-1245853416]: count=512
  DUMP:   DUMP: read error from /dev/idad2s1e: Invalid argument: [block
-1245853414]: count=10240
read error from /dev/idad2s1e: Invalid argument: [sector -1245853415]:
count=512
  DUMP: read error from /dev/idad2s1e: Invalid argument: [sector
-1245853414]: count=512
  DUMP: read error from /dev/idad2s1e: Invalid argument: [sector
-1245853413]: count=512
  DUMP: read error from /dev/idad2s1e: Invalid argument: [sector
-1245853412]: count=512
  DUMP: read error from /dev/idad2s1e: Invalid argument: [sector
-1245853411]: count=512
  DUMP: read error from /dev/idad2s1e: Invalid argument: [sector
-1245853410]: count=512
  DUMP: read error from /dev/idad2s1e: Invalid argument: [sector
-1245853409]: count=512
  DUMP: read error from /dev/idad2s1e: Invalid argument: [sector
-1245853408]: count=512
  DUMP:   DUMP: read error from /dev/idad2s1e: Invalid argument: [sector
-1245853407]: count=512
read error from /dev/idad2s1e: Invalid argument: [block -1245853394]:
count=5120


Nick Rogness <nick@rogness.net>
-
 "Wouldn't it be great if we could answer people with a
  kick to the crotch?"  -maddox@xmission.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021108154806.G70152-100000>