From: jtk@atria.com (John T. Kohl)
Subject: Re: swapdefault: How to hose a filesystem
Date: Thu, 7 Oct 1993 17:25:08 GMT [thread overview]
Message-ID: <CEJF1x.JJ5@atria.com> (raw)
In-Reply-To: wilko@idca.tds.philips.nl's message of 7 Oct 93 11:59:06 GMT
In article <wilko.749995146@spoetnix.idca.tds.philips.nl> wilko@idca.tds.philips.nl (Wilko Bulte) writes:
> >Else, the system may decide to swap right in the middle of a data
> >filesystem ...
> Hmm, I did something similar once and swapon objected that the particular
> partition was mounted. Your swapdefault points to the default swap device,
> is apparantly not checked.
When I was at Digital, I ran into the problem of swapping in the middle
of an active file system. Being in the file system group, I modified
ufs_fsck, mount, swapon, newfs to verify that active swap partitions and
filesystems don't overlap each other. This change was shipped with DEC
OSF/1 V1.3. For example (not the "in use as swap" message):
/sbin/ufs_fsck /dev/rrz3h
** /dev/rrz3h
/dev/rrz3h overlaps mounted filesystem(s) or an active swap area
Unmount or reboot required before fsck on /dev/rrz3h (start 0 end 199999)
/dev/rz3b in use as swap (start 103222 end 539381)
/dev/rrz3h overlaps mounted filesystem(s) or an active swap area
Unmount or reboot required before fsck on /dev/rrz3h (start 0 end 199999)
/dev/rz3a mounted on / (start 0 end 103221)
--
John Kohl <jtk@atria.com> or <jtkohl@mit.edu>
working for but not representing: Atria Software
---------
What are you pretending not to know?
next prev parent reply other threads:[~1993-10-07 17:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-10-06 22:50 swapdefault: How to hose a filesystem Chuck Henkel
1993-10-07 11:59 ` Wilko Bulte
1993-10-07 17:25 ` John T. Kohl [this message]
1993-10-07 20:57 ` Jeff Finkelstein
1993-10-08 21:03 ` Tero Kivinen
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