[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: regarding swap space



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I currently have two drives in my machine, one primary master with debian
> unstable and a swap partition, and one unused primary slave.
>
> What I'm looking to do, is create a swap partition on the slave drive, and
> use that instead of the one on my primary master. I don't need the space
> from the primary master, but using that swap is slowing down my system.
>
> How can I accomplish this?

Us the mkswap command ("man mkswap" for details) to initialize the the 
partition as a swap partiation (be careful - everything there get's nuked). 
Then you can use the swapon command ("man swapon") to activate it. Similary, 
use swapoff to disable the old swap.

To make it permanent you'll have to modify /etc/fstab to point to the new 
partition. It should be pretty obvious what to do; just change the partition 
pointer on the line that mentions swap...

- -- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrival: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE67O3xDNor2+l1i30RAsSfAJ9c+WCt2l0yGfyc4shEbBKXMiFNSwCgh//x
5ffJWMlmfFQdNou9zC9pya0=
=Dz6i
-----END PGP SIGNATURE-----



Reply to: