SUMMARY: Unable to mount swap on bootup Solaris 7

From: Andrea Tanner (tanner@oakland.edu)
Date: Wed Jan 20 1999 - 13:41:16 CST


Please see original message below. The solution I tried first was to
reload the OS with a swap partition. There also was some problems
with my partition conventions, so I managed to change those as well,
making swap (not /swap or /swp) in partition 1. This did the trick. Many
people suggested that I edit the vfstab file, but I decided to reinstall
OS because I wanted to follow conventions. Also, some people pointed out
that I might want a bigger var partition and some other issues along that
line.

I also was getting swap files and raw swap space confused. Swap files,
from what I understand now, are usually only used as a temporary fix if
you need extra space to swap. Not to mention swap files have lower
performance than swap partitions.

I also had other suggestions and comments that I appreciate but was unable
to test. If this system was already in production, I would have tried
those out first to see what happened, such as reformatting a partition
correctly. :-)

Thanks to:

Alan Orndorff <dwarfie@mindspring.com>,
Anthony Worrall <Anthony.Worrall@reading.ac.uk>,
Chris Liljenstolpe <cds@io.com>,
Dave Foster <foster@bial1.ucsd.edu>,
Jay Lessert <jayl@lscpdx.latticesemi.com>,
Jonathan.Loh@BankAmerica.com,
Magnus Bergman <trident@trisec.net>,
Martin Oksnevad <martin@stavanger.geoquest.slb.com>,
Ron Spillane <spillar@dent.agric.nsw.gov.au>,
Sandesh Kubde <sandesh@bom5.vsnl.net.in>,
Thomas Davidson <tdavidson@autometric.com>,
"Tiziana.Pirola" <Tiziana.Pirola@bpb.it>,
todd_herr@hermes.sra.com

Andrea Tanner | Scientific Programmer Analyst II
tanner@oakland.edu | Academic Computing Services
101G Kresge Library | Oakland University
248-370-3357 | Rochester, MI, USA

JOIN THE FIGHT AGAINST SPAM AT http://www.cauce.org/

On Fri, 18 Dec 1998, Andrea Tanner wrote:

> Hello folks. Thanks for this list, it is very impressive (I have been on
> about 1.5 weeks) quality.
>
> I have an Sun Ultra 10 333MHz SPARC w/ 256M RAM that I just installed
> Solaris 7 on. When the machine boots, I get the following error
> (paraphrased, it runs by pretty quickly):
>
> mount point can not be determined
> mount point can not be determined
> [..]
> no dump device configured
> no swap device configured
>
> Here is what I used as my partitions during install (advice welcome--but
> from what I have read in sun-managers archives a separate swap partition
> is a good idea):
>
> 0 / 1000
> 1 /var 100
> 2 overlap 4102
> 3 /tmp 100
> 4 /usr 1000
> 5 /homedir 1645
> 6 /swp 256
> 7
>
> When I do the following steps I can get swap. When I reboot after this, I
> get the same error as above. I guess something is not quite right?
>
> 1) mkfile 128m /swp/swap/swapfile
> 2) swap -a /swp/swap/swapfile (swap -l confirms it was made and in use)
> 3) edit and add to /etc/vfstab on last line of file
> /swp/swap/swapfile - - swap - no -
> (at end of message is the whole vfstab file in case it needs to be
> referred to)
>
> I think I am missing something. Being new to UNIX admin (such as
> mounting) might be part of the problem. :-) In any case, at this point I
> reboot hope to have swap going to /swp/swap/swapfile but I get the same
> error as above. All replies appreciated and summary will be provided.
>
> Andrea Tanner | Scientific Programmer Analyst II
> tanner@oakland.edu | Academic Computing Services
> 101G Kresge Library | Oakland University
> 248-370-3357 | Rochester, MI, USA
>
> JOIN THE FIGHT AGAINST SPAM AT http://www.cauce.org/
>
> VFSTAB file:
>
> #device device mount FS fsck mount mount
> #to mount to fsck point type pass at boot options
> #
> #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
> fd - /dev/fd fd - no -
> /proc - /proc proc - no -
> /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
> /dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /usr ufs 1 no -
> /dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1 /var ufs 1 no -
> /dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /homedir ufs 2 yes -
> /dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /swp ufs 2 yes -
> /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /tmp ufs 2 yes -
> /swp/swap/swapfile - - swap - yes -
>
>
>
>
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:14 CDT