Subject: LFS and big files
To: None <>
From: Mihai Chelaru <>
List: current-users
Date: 01/03/2007 23:36:23

I used a torrent client to download some DVD images and whenever I did a check 
on downloaded files everytime it founds errors on some random (everytime 
other) blocks.

So, I did the following:

kefren64# md5 test.iso
MD5 (test.iso) = 68345614422a119ad1510d3e570769c8
kefren64# md5 test.iso
MD5 (test.iso) = 93f0c39145f226a78c87ce4455242689
kefren64# md5 test.iso
MD5 (test.iso) = 4c83bbaa1d230c24642dddf5b9a4c9eb
kefren64# ls -lh test.iso
-rw-r--r--  1 kefren  users  4.4G Jan  3 20:24 test.iso
kefren64# mount | grep raid
/dev/raid0a on /disk2 type lfs (local)
kefren64# raidctl -s raid0 | head
           /dev/wd0f: optimal
           /dev/wd1e: optimal
No spares.
Component label for /dev/wd0f:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 123456, Mod Counter: 1583585
   Clean: No, Status: 0
   sectPerSU: 32, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 81904384
kefren64# uname -a
NetBSD 4.0_BETA2 NetBSD 4.0_BETA2 (Kefren.ACPI) #1: Tue Jan  
2 12:44:31 EET 2007 

I don't suspect any memory/HDD corruption regarding this particular server. 
Also, on the same filesystem it happens that pkgsrc to fail to check the hash 
of a distfile. Removing and re-downloading (from the same site) fixes the 

Any ideas where to look next ?