How to add swap space in Sun Server?

Answers were Sorted based on User's Feedback



How to add swap space in Sun Server?..

Answer / juganveer khosa

make a slice (using format utility),or make a file on
existing file system (using mkfile command) of required
size.
then add this to swap using
swap -a /dewv/dsk/c#t#d#s# or file path
also make entry in /etc/vfsab to add it permanent
verify it by using
swap -l
swap -s

Is This Answer Correct ?    29 Yes 1 No

How to add swap space in Sun Server?..

Answer / suresh kumar.g

using format command we can do but,using mkfile also...i.e

#mkfile 100m /opt/swap

then created one file add this file to swap i.e.....

#swap -a /opt/swap..............

Is This Answer Correct ?    15 Yes 2 No

How to add swap space in Sun Server?..

Answer / prashant raut

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.

Is This Answer Correct ?    7 Yes 0 No

How to add swap space in Sun Server?..

Answer / solaris admin

we can add swap space in teo ways.
1.swap slice
2.swap file
both by using command swap -a

Is This Answer Correct ?    5 Yes 0 No

How to add swap space in Sun Server?..

Answer / mdmehtab

in swaping process i.e.
a=b
b=c
c=a
using format command we can do but,using mkfile also

#mkfile 100m /opt/swap

then created one file add this file to swap i.e

#swap -a /opt/swap

Is This Answer Correct ?    5 Yes 1 No

How to add swap space in Sun Server?..

Answer / s ramesh reddy

first we can make file using below command
#mkfile <filesize> <filename>
Ex:- mkfile 100m file1
checking the file using bellow command
#ls -l
adding make file to swap space
#swap -a /file1 **here file1 is already make

#swap -l this is for swap management
#swap -s this is for status of swap.
After adding into the particular place in hard device
#swap -a /dev/dsk/c#t#d#s#

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

What are the two types of service groups?

2 Answers  


How to find the boot path in solaris

4 Answers  


What is difference between incremental backup and differential backup?

2 Answers  


How to remove the volume

1 Answers  


Explain /etc/inittab files

2 Answers  






How to find the network card speed

3 Answers  


solaris network daemon

6 Answers   HP,


How to configure mirror with hot spare in vxvm I know how to create mirror with vxassist: #vxassist -g <diskgroup name> make <volume name> <vol size> layout=mirror I know how to create hot spare with vxedit #vxedit -g <diskgroup name> set spare=on diskname but i don't how to attach hot spare to mirror? can some one plz help in this issue.. Thanks & Regards, SaiKrishna. kanuparthi_sai@yahoo.com my alternate E-Mail id: ksaikrishna7@gmail.com

2 Answers   Wipro,


After first installation of Solaris 10, what and all the Securities We need to set and how ?

0 Answers   Microland,


What is the command to identify master node on vcs

1 Answers   Atos Origin,


what is the metasets in Solaris?please explain the sets with example.Any documents please share for me friends. (link)

1 Answers   HP,


Explain inode

3 Answers   HP,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)