How to add a swap partition to my system

Posted In Storage - By Tum. On Tuesday, August 28th, 2007 With 0 Comments

เมือต้องการเพิ่ม SWAP Partition ขึ้นมาใหม่จำเป็นจะต้องมีพาร์ทิชั่นว่างและต้อง set partition type เป็น Linux-SWAP ด้วย ยกตัวอย่างมี Partition ว่างเป็น /dev/hdb3

ขั้นตอนการสร้าง SWAP

  1. สร้าง SWAP ที่ Partition /dev/hdb3
  2. Enable SWAP
  3. เพิ่ม mount point ไปที่ไฟล์ /etc/fstab
  4. Active swap

เมื่อเสร็จขั้นตอนแล้วลองตรวจสอบด้วยคำสั่ง free จะเห็นขนากของ swap ที่ได้สร้าง

Tags:

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*