Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alan@shodha.enet.dec.com ( Alan's Home for Wayward Notes File.)
Subject: Re: Rampant Swap Errors on 3100...
Date: 11 Sep 91 16:11:03 GMT	[thread overview]
Message-ID: <4064@shodha.enet.dec.com> (raw)
In-Reply-To: young.683925348@willow.cs.scarolina.edu

In article <young.683925348@willow.cs.scarolina.edu>, young@cs.scarolina.edu (Sarah Young) writes:
> ack! I hate swap errors!  Two comments, from previous experience:
> 
> 1. Once we had lots of seemingly random killed on swaps, accompanied by
> Bus Parity Errors in the error logs.  DEC replaced the disks, and 
> everything was aok.

	Bus errors on SCSI can be hard to find.  It's possible for
	some appearently idle device to be just broken enough that
	it will corrupt what goes wandering by.  I once had a TK50
	that was broken, but for a long time thought it was the 2nd
	RZ23.  Whenever I had a very high I/O load, I'd start getting
	parity errors when that one RZ23 transfered.  For a long time
	I just didn't use it, but when I finally needed and the problem
	came back I looked closer.  When I took off the TK50, the problem	
	went away.

> 
> 2. DEC suggested when using an entire disk for swap, partition off the
> first few bytes and makefs it to preserve the disk's partition tables.

	As of V4.2 the partition table lives at the end of the 
	superblock at the beginning of the disk.  The first 16
	sectors of a file system are set aside for a boot block.
	The 2nd 16 are used for the superblock.  This is unlikely
	to change until OSF switches us over to using disk labels.
	If you're using a whole partition for page/swap then there
	is a very small possbility that a valid looking partition 
	table can be written into the sector that would contain
	the partition table if one were to exist.

	It's pretty unlikely though.  I think you'd have to write
	the superblock magic number to the right place and write
	the partition table magic number to the write place as well
	as have a non-zero value in the partition "valid" field.

	If they really did partition around the first few BYTES
	then it probably didn't do any good.  There's about 16,000
	of them from the beginning of the disk before you get to
	the partition table.
> 
> Don't ask me to explain it, but there you are. 

> Sarah Young, Dept of Math, University of South Carolina, Columbia, SC 29208
-- 
Alan Rollow				alan@nabeth.cxn.dec.com


      reply	other threads:[~1991-09-11 16:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-08-30 14:58 Rampant Swap Errors on 3100 Robert J. Granvin
1991-08-30 21:38 ` fisher
1991-08-30 23:08   ` Ted Lemon
1991-09-03 19:15 ` Sarah Young
1991-09-11 16:11   `  Alan's Home for Wayward Notes File. [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox