SUMMARY: genvmunix uses wrong default swap

From: Lew Randerson <LRanderson_at_Pppl.GOV>
Date: Wed, 02 Sep 1998 11:30:35 -0700

Great! The solution came through in less than ten
minutes.

Answer to how default swap was picked:

  Symlink /sbin/defaultswap was pointing to /dev/rz0b.

Removing or changing this link will resolve the issue.

Thanks to

 rye <rye_at_jtasc.acom.mil>
 John Speno <speno_at_isc.upenn.edu>
 daiken_at_regents.edu
 Vinzenz Esser <Vinzenz_Esser_at_emass.com>

Here's the original query.
> Hi,
>
> How is the default swap partition picked when booting?
> More accurately when going to multiuser mode.
>
> On one of our Digital Unix V4.0B systems, when booting to
> multiuser mode using file genvmunix, the default swap
> partition selected is /dev/rz0b. The swap areas in
> /etc/fstab are rz13b, rz10b, rz11b, and rz12b.
> The system disk is rz13. We do have an rz0 disk.
>
> I'd like rz13b to be picked.
>
> The system will boot to single user mode using genvmunix.
> But when booting to multiuser mode, it fails at the
> very beginning of (or just before) multiuser level with
> the following error.
>
> WARNING: /dev/rz0b swap partition has unused fstype,
> failed to addswap. : Swap is set to lazy (over
> commitment) mode. The system will come up to single-
> user mode. Set fstype for swap partition to "swap"
> using "disklabel -s <device> swap" command and reboot.
>
> /dev/rz0b is not marked swap because it is NOT to be used
> as swap. The operating system was originally built on a
> system with /dev/rz0b and /dev/rz0b was the swap disk at
> installation time but this is no longer wanted.
>
> --Lew
Received on Wed Sep 02 1998 - 15:31:28 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT