Greetings..
First I would like to say thanks to all the responders. They came in fast
and hard! I might just have to use this resource more often :)
Most said the same thing:
Here was the problem:
> Having a problem creating swap space. It all started when I was
installing
> Sol 2.6. When it asked for partition info I put one of the partitions as
> /swap instead of swap. It created /swap ufs instead of tempfs. Now I
don't
> have any swap space.
Most responses went along these lines:
>Just edit /etc/vfstab and change the line with "/swap" from something like
this:
>/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1 /swap ufs .........
>to this:
>/dev/dsk/c0t0d0s1 - - swap - no -
I then renamed /tmp to /tmp.old and created a new /tmp directory, rebooted
and all was fine. I then removed /tmp.old. Don't forget to add the sticky
bit to the new /tmp and chmod 777.
A few suggested making a swap file with:
># mkfile 128m /[swapfile]
># swap -a /[swapfile]
I choose to try the vfstab method and it worked. I already knew about
making a swapfile, I was just determinded to find a way to make the swap
space work like I originally intended.
Lesson learned:
Watch what you put in the partition info during Solaris install, putting
"/swap" as a partition instead of "swap" screwed things up and delayed me 12
hours on this machine.
Many thanks to:
Brian Sherwood
David S. Foster
Frank Flamingo
Brooke King
Mike van der Velden
Michael Pavlov
Raymond Wong
William Hathaway
Ching Lue
Virginia Coffindaffer
Ian
Sasha Eysymontt
Ken
________/ C i t y o f W i n s t o n - S a l e m
Kenneth Farmer, Unix SysAdmin, 336.727.2848 x3431
kenf@ci.winston-salem.nc.us or kfarmer@farmer.org
I n f o r m a t i o n S e r v i c e s \_________
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:15 CDT