tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Diane Ibaraki <diane () uhheph ! phys ! hawaii ! edu>
To: tru64-unix-managers
Subject: SUMMARY: deferred swap method fails in single user mode...
Date: Thu, 07 Mar 1996 19:16:38 +0000	[thread overview]
Message-ID: <96076330121214.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks to Dr. Tom Blinn, <tpb@zk3.dec.com> for a quick
answer. My original posting is at the end: 

I searched the archives, I read the release notes but I didn't read the 
man pages... sorry about that.  FYI, I found that if I go to single user 
mode with the 'init s' command, swap space is there but if I boot single 
user mode from the console mode, it is not.  Also, bcheckrc won't add the 
swap partition either.  The explanation was giving by Dr. Tom Blinn:

Not a bug.  Exactly how it's supposed to work.  Read the swapon(8) man page.

Until you run a swapon -a, you don't get access to the swap partitions that
are defined in /etc/fstab (unless you do an explicit swapon for one of them
or whatever), unless you've got the /sbin/swapdefault link in place; if the
link is present, the kernel will activate the named partition as soon as it
can do so during the bootstrap process.  Otherwise, you have no swap set up
until the swapon -a gets executed during the init processing.

Tom

----------------------- original posting ---------------------------
> 	I installed DUNIX 3.2c on an DEC 3000/700.  Installation went fine.
> I changed to deferred swap method by renaming /sbin/swapdefault.  In
> multiuser mode, swapon shows:
> Swap partition /dev/rz8b:
>     Allocated space:        65536 pages (512MB)
>     In-use space:             724 pages (  1%)
>     Free space:             64812 pages ( 98%)
> Total swap allocation:
>     Allocated space:        65536 pages (512MB)
>     In-use space:             724 pages (  1%)
>     Available space:        64812 pages ( 98%)
> 	However, when I go to single user mode, swapon -s shows 0 swap
> space.  (I stumbled upon this, when rebuilding the kernel failed due to
> the not having swap space). The behavior is the same when I upgraded to
> v3.2d.  Did I do something wrong or is this a bug?

                 reply	other threads:[~1996-03-07 19:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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