Subject: Re: Corrupted 20011221-1.5ZA Snapshot
To: Curt Sampson <cjs@cynic.net>
From: Michael G. Schabert <mikeride@mac.com>
List: port-alpha
Date: 02/28/2002 15:04:29
At 1:20 PM +0900 2/28/02, Curt Sampson wrote:
>On Wed, 27 Feb 2002, Michael G. Schabert wrote:
>
>>  Hmm, odd. I downloaded and installed the snapshot on my AS200 4/166.
>>  I've been running ever since with no problems. I built world at the
>>  end of January, but was running the snapshot until then (although I
>>  made my own kernel shortly after upgrading). Granted, this was an
>>  upgrade of a running system, so I didn't use newfs for anything, and
>>  I don't use restore/dump.
>
>Well, the newfs thing has not been a problem for just me:
>
>	http://www.geocrawler.com/lists/3/NetBSD/472/25/7615537/
>
>Can you check out newfs and see if it does this for you, too?

Point taken ;-). I threw in a Quantum 1GB drive I had lying around, & 
ran newfs on it from my active system (Jan 22 or so). I also had a 
directory with the Dec 23rd stuff still on my drive, so I ran that 
one also:

alpha# ls /sbin/newfs
-r-xr-xr-x  2 root  wheel  487872 Jan 22 11:46 /sbin/newfs
alpha#
alpha#
alpha# newfs /dev/rsd1a
Warning: 368 sector(s) in last cylinder unallocated
/dev/rsd1a:     2109376 sectors in 2898 cylinders of 8 tracks, 91 sectors
         1030.0MB in 7 cyl groups (436 c/g, 154.98MB/g, 18560 i/g)
super-block backups (for fsck -b #) at:
       32,  317536,  635040,  952544, 1270048, 1587552, 1905056,
alpha#
alpha#
alpha# cd /safetarballs/
alpha#
alpha#
alpha# ls base.tgz
-rw-r--r--  1 root  wheel  24650400 Dec 23 03:44 base.tgz
alpha#
alpha#
alpha# tar -zxpf base.tgz ./sbin/newfs
22.553u 4.436s 0:28.21 95.6%    0+0k 3+9io 9pf+0w
alpha#
alpha#
alpha# ls /safetarballs/sbin/newfs
-r-xr-xr-x  2 root  wheel  215160 Dec 23 01:08 /safetarballs/sbin/newfs
alpha#
alpha#
alpha# /safetarballs/sbin/newfs /dev/sd1a
Warning: 368 sector(s) in last cylinder unallocated
/dev/sd1a:      2109376 sectors in 2898 cylinders of 8 tracks, 91 sectors
         1030.0MB in 7 cyl groups (436 c/g, 154.98MB/g, 18560 i/g)
super-block backups (for fsck -b #) at:
       32,  317536,Segmentation fault(core dumped)
alpha#

I'm just glad that I was on a running system & never would have run 
into this prob ;-). Sorry about it making you lose face with the 
client Curt. So it isn't because of differences in the hardware...I 
just never encountered the error because I didn't need newfs.

Mike
-- 
Bikers don't *DO* taglines.