Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

how to add swap space?

Answers were Sorted based on User's Feedback

how to add swap space?..

Answer / stratovarius

For swap slice:
1.mkfile <size of swap file> <location of swap file>
eg:#mkfile 512m /data2/swapfile -->where /datat2 is a
precarted directory and swapfile is the swapfile
automaticaly created.
2.swap - a /location_ofswap_file
#swap -a /data2/swapfile

For swap partition:
1.Create partition using format command. eg: c1d0s4
2.swap -a /dev/dsk/c*t*d*s*
#swap -a /dev/dsk/c1d0s4

Is This Answer Correct ?    16 Yes 0 No

how to add swap space?..

Answer / ramanji.gundala

swapadd -a /dev/rdsk/c#/t#/d#/s#

Is This Answer Correct ?    2 Yes 10 No

Post New Answer

More Solaris AllOther Interview Questions

NIS is configured, users are try to connect in client systems 'unknown id' is displayed. what is the problem?

4 Answers  

How can i stop the telnet service in solaris 8 and 9?

6 Answers   Wipro,

What is LOM and how do you access it?

4 Answers  

when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?

0 Answers   TCS,

how many layouts we have in veritas volume manager and what is the task of those layouts?

6 Answers   IBM,

How u can detach or remove the disk it is in Veritas (Vxvm) control that is the disk in the production server ?

3 Answers   Tech Mahindra, Wipro,

what is port no for LDAP?

8 Answers  

user trying to login the system says invalid passwd but when u see the user in the nis master the user exists so what will be the problem and how to fix it

1 Answers   IBM,

How many secondary groups allows to add..?

5 Answers  

what are the various layouts that are available in VxVM?

3 Answers   IBM,

If you try to send an e-mail to someone and the following message appear "Message Undeliverable", what could be wrong?

3 Answers   Wipro,

You can ping servers on the subnet your workstation is on, but not other subnets. Why?

2 Answers  

  • 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)