Solaris Commands Question:
Download Questions PDF

How to add swap space in Sun Server?

Solaris Commands Interview Question
Solaris Commands Interview Question

Answer:

There are two ways to add swap in Sun Server(i.e. Sun
Solaris) as below;

1. Make a partion at availbale free disk of required swap
size and then make an entry in /etc/vfstab file. After that
run the command #swapadd /dev/dsk/cXtXdXsX or give the
reconfiguration reboot to the Server.

2. Instead of making partion you can create make a file of
required swap size with the help of #mkfile <size>
<filename> command and after that make an entry
in /etc/vfstab and follow rest of steps mention in point
one.

Download Solaris Commands Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between container and zones?How to grow disk size in SDS? what is SDS?