Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Just installed Solaris 8, Now need Swap

Status
Not open for further replies.

stevenriz

IS-IT--Management
May 21, 2001
1,069
During boot of a new installation of Solaris 8, I receive
"No swap devices configured"

So I run a swap -l and get "No swap devices configured" so I then try a swap -a /dev/dsk/c0t0d0s1 and receive "/dev/dsk/c0t0d0s1: I/O error"

I would like to have some swap seeing this is going to be a test server and all. Where did I go wrong here?
Steve

Here is the layout I created during install of Sol8.
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 1018191 47357 909743 5% /
/dev/dsk/c0t0d0s6 1018191 730351 226749 77% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t0d0s5 1018191 6915 950185 1% /var
swap 181608 8 181600 1% /var/run
swap 181616 16 181600 1% /tmp
/dev/dsk/c0t0d0s4 494235 9 444803 1% /export
/dev/dsk/c0t0d0s7 13791767 1360 13652490 1% /opt
 
Could you list your [tt]/etc/vfstab[/tt] file? You seem to have some swap defined because of [tt]/tmp[/tt] and [tt]/var/run[/tt], but the [tt]swap -l[/tt] command should have shown something.

To create a swap file, do something like the following...
Code:
mkfile 512m /usr/swapfile
swap -a /usr/swapfile
Change the size and location to meet your needs. You also need to add a line to your [tt]/etc/vfstab[/tt] file so it's added at boot time.

Hope this helps.

 
Have you used [tt]format[/tt] to format the [tt]/dev/dsk/c0t0d0s1[/tt] slice? You'll need to do this before the slice can be added as swap.

Hope this helps.

 
Does anyone know from where can Solaris 8 or 9 be downloaded (intel or sparc)free? Thx in advance.
 
P.S. You should probably start a new thread if you have a new topic, not change topic in someone elses thread.

 
OK. Just checking since this thread was also talikng about Solaris installation
Thx anyway.

RC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top