Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: andrewd@sematech.tamu.edu (Andrew Duchowski)
Subject: swap error, swap devices, swap status?
Date: 20 Jan 1994 19:16:14 GMT	[thread overview]
Message-ID: <2hml9u$gif@news.tamu.edu> (raw)

First, let me thank all those that replied to my previous post regarding
swap errors.  In particular, thanks to teneyckl@sdsc.edu and 
janes@signal.dra.hmg.gb for pointing out uerf and rzdisk.  To provide
a short summary, use rzdisk to check for bad blocks on a scsi drive and
also to format if necessary.  uerf provides a log of system-wide errors.

To attempt to fix my swap error problems, I added in a smaller 80M drive
to take over the swap job.  For some reason, after I'd put in the drive,
MAKEDEV'd it, rzdisk'd it, even newfs'd it, swapon wouldn't let
me add it (rz4c) as a swap device.  It kept saying no such device, which
seems odd.  Why?

What I ended up doing was changing my kernel config file to have the 
following:
  config          vmunix  root on rz0a  swap on rz4c    dumps on rz3c
where rz3c was the apparently faulty drive which I used for swap space
before.  Btw, when I did a doconfig, it said that there's an orphaned
dump device.  What exactly does that mean?

The system now seems to be running ok, I can see the swap drive's light
come flashing as I start up many processes.  Previously, I'm sure I'd
be getting swap errors by now.  Which brings me to my question:  How
do I get a look at swap statistics?  That is, how can I check to see
what's going on?  For example, I monitor disk space by checking 'df'
frequently.  The swap drive is not mounted normally  (since the swap
device is not allowed to be unmounted), so I cannot check the usage
of the swap device this way.  Except for looking at the little light,
I can't actually tell how the swap drive is doing (it's quiet, too).
I'd like to get a look at at least stats equivalent to doing a df on
the swap device.

Any help, suggestions, explanations would be greatly appreciated.
Thank you.
-- 
-- Andrew Duchowski                   | Nothing unreal exists.          --
--                                    |                                 --
-- Texas A&M University               |   -- Kiri-Kin-Tha's first law   --
-- andrewd@cs.tamu.edu (NeXTmail ok)  |      of metaphysics             --


             reply	other threads:[~1994-01-20 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-01-20 19:16 Andrew Duchowski [this message]
1994-01-21  2:22 ` swap error, swap devices, swap status? Alan Rollow - Dr. File System's Home for Wayward Inodes.
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