APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

SCO Unix, Xenix and ODT General FAQ


Some material is very old and may be incorrect today

© December 2003 (various)

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

Can I add more swap space to SCO Unix?

Yes, with caveats. The first one does not apply to Xenix. If you have space in your Unix partition which is not allocated to any device (i.e. is not being used by a filesystem, your swap device, etc.), use /etc/swap to add this to your system's available swap space. Note that free space within a filesystem cannot be used in this manner. Also, this setting only works until the system is shutdown, so if you want it to be done permanently, put it in a file in /etc/rc2.d so it gets run whenever the system goes multiuser. If you have two hard drives, you can split swap space between them, which may improve swapping performance.

On OpenServer Release 5, you can also add swap space in the form of a file on one of your filesystems. As with the previous section, you use the swap command, and the added swap space does not become permanent unless you add it to a startup file. I have no benchmarks on this, but I'd expect that swapping to a file is at least a bit slower than swapping to a dedicated swap division.

The second approach will work on any SCO operating system, but will require downtime and probably a backup/restore. You can bring the system up from emergency boot diskettes (or from the distribution media; instructions are elsewhere in the FAQ) and adjust your drive's division table. However, in order to adjust the size of a filesystem or swap device, you must delete it and recreate it, so if you need to take space from a filesystem to add it to swap, you will need to backup that filesystem and restore it later.

Also see:

If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> (SCO Unix) Can I add more swap space?


Inexpensive and informative Apple related e-books:

iOS 10: A Take Control Crash Course

Photos for Mac: A Take Control Crash Course

Take Control of Automating Your Mac

Take Control of IOS 11

Take Control of High Sierra






Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





Science is what we understand well enough to explain to a computer. Art is everything else we do. (Donald Knuth)




Linux posts

Troubleshooting posts


This post tagged:

FAQ



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode