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

Difference between NFS version 2 and NFS version 3?

2 Answers  


Explain sar commands.?

3 Answers  


Which is the H/W u r using?

1 Answers  


what is major number and what is minor number..?

3 Answers   Wipro,


What is jumpstart?

2 Answers  






without keyboard detection is booting process continue or not?

3 Answers  


what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?

0 Answers  


What is the difference between Vxdmp and EMC powerpath?

2 Answers  


which is best os in UNIX flavors Solaris or HP-UX or IBM –AIX or Linux

8 Answers   IBM,


What is the use of Ldap utility in solaris

1 Answers  


What is LOM and how do you access it?

4 Answers  


What is the difference between NFS version 2 and NFS version 3?

2 Answers   IBM,


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)