From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bc178e9fb99d58d3 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-09-11 23:56:14 PST Path: gmdzi!unido!mcsun!uunet!decwrl!pa.dec.com!shodha.enet.dec.com!alan From: alan@shodha.enet.dec.com ( Alan's Home for Wayward Notes File.) Newsgroups: comp.sys.dec Subject: Re: Rampant Swap Errors on 3100... Message-ID: <4064@shodha.enet.dec.com> Date: 11 Sep 91 16:11:03 GMT References: <1991Aug30.145854.10911@cs.umn.edu> Organization: Digital Equipment Corp. - Colorado Springs, CO. In article , 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