From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078721911573.tru64-unix-managers.marc@archive.invalid> From: Lew Randerson Date: Wed, 02 Sep 1998 18:30:35 +0000 To: tru64-unix-managers Subject: SUMMARY: genvmunix uses wrong default swap X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078721911573 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 John Speno daiken@regents.edu Vinzenz Esser 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 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