Revision [625]

Last edited on 2008-05-27 10:57:18 by FsseInfo
Additions:
----
REFERRERS
{{backlinks}}
Deletions:
{referrers}


Revision [457]

Edited on 2008-02-22 10:13:24 by FsseInfo
Additions:
Have you ever wanted to change the amount of swap space on your VM ? Here's how to !

==disable existing swap==

==get some more disk space==
Either repartition an existing disk or add a new disk to your GNU/Linux machine or VM
and use fdisk to create/repartition a swap partition (type 82) for your swap space
# fdisk /dev/mydisk
verify
# fdisk -l /dev/mydisk

Disk /dev/mydisk: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/mypart1 1 261 2096451 82 Linux swap / Solaris

==make a swap partition and use a speciail swap disk label !==
# mkswap -L myswap /dev/mypart1

==add to fstab==
Add swap partition to fstab using your special swap disk label !
LABEL=myswap swap swap defaults 0 0

== reenable swap ==

== reboot (optional) ==
# reboot

and login and check new swap space is available

{referrers}
Deletions:
Ever wanted to change your amount of swap sapce ?
Now you can ! First add a new disk (sdb) to your physical or virtual machine then use fdisk to create an appropriate partition for your swap space (type 82)
# fdisk /dev/sdb
then
# mkswap -L sdb-swap /dev/sdb1
LABEL=sdb1-swap swap swap defaults 0 0


Revision [439]

The oldest known version of this page was created on 2007-11-21 16:54:39 by FsseInfo
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki