Force fsck on the next boot sequence

Posted In System - By Tum. On Monday, September 10th, 2007 With 0 Comments

เมื่อต้องการให้ Linux ทำ file system check ทุก partition หลังจากที่ได้ reboot แล้ว สามารถทำได้โดยใช้คำสั่งดังนี้ (root user)

  1. สร้างไฟล์ /forcefsck ที่ root directory เพื่อบังคับให้ reboot หรือ เปิดเครื่องครั้งต่อไปทำการ full file system check
    1. สร้างไฟล์ /forcefsck ด้วยคำสั่ง
    2. reboot the system
  2. ใช้คำสั่ง shutdown ด้วย option -F เพื่อ force fsck
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="">

*