![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| swap space | manoj.solaris | Linux | 1 | 08-22-2007 06:11 AM |
| Swap space used??? | Lestat | UNIX for Dummies Questions & Answers | 1 | 02-17-2005 11:51 AM |
| swap space / paging space | aaronh | AIX | 2 | 05-19-2004 10:06 AM |
| Swap space is LOW | TRUEST | UNIX for Dummies Questions & Answers | 3 | 02-12-2004 07:28 PM |
| pageing space vs swap space | VeroL | UNIX for Dummies Questions & Answers | 1 | 01-22-2004 11:54 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
All,
I am using SOLARIS 7. I have formated my hard drive to consist of only 150MB of swap space. This isn't enough considering I am running Oracle. How do I create additional swap space? Please list sources or commands. PS mkswap doesn't work on my machine. ( I have swap and swapadd) Thanks a bunch |
|
|||||
|
(excerpt from
http://www.hp-partners.com/ptc_publi.../2x_swap2.htm) To add a raw swap partition to a Solaris 2.x system, identify an unused partition on a disk. Traditionally, slice 1 is used for swap space. Add the following entry to /etc/vfstab, taking care to use the correct device name: /dev/dsk/c0t1d0s1 - - swap - no - Enable the new partition with the swap command: swap -a /dev/dsk/c0t1d0s1 Check your change: swap -l swapfile dev swaplo blocks free /dev/dsk/c0t3d0s1 32,25 8 164040 164040 /dev/dsk/c0t1d0s1 32,9 8 164040 164040 |
|
||||
|
I did a little research regarding this issue.
It turns out that it is very simple... first, create a file with a size in megabytes of the swap space you wish. I did this in the root directory for simplicity. mkfile 1024 /swapfile second, manually add the file as swap space swap -a /swapfile this is it!! Now it gets interesting. To have the swap space mounted everytime you machine boots, you need to edit /etc/vfstab. You'll have to look at vfstab(4) for the syntax of the file, but as I have learned---It's there if you read it Thanks for all your help SmartJuniorUnix......UNTIL NEXT TIME |