tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: deferred swap method fails in single user mode...
@ 1996-03-07 19:16 Diane Ibaraki
  0 siblings, 0 replies; only message in thread
From: Diane Ibaraki @ 1996-03-07 19:16 UTC (permalink / raw)
  To: tru64-unix-managers

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-03-07 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-07 19:16 SUMMARY: deferred swap method fails in single user mode Diane Ibaraki

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