How to rescan the SCSI bus to add or remove a SCSI device without reboot

Posted In Storage - By Tum. On Thursday, August 30th, 2007 With 0 Comments

ระบบ Linux รองรับการทำ rescan SCSI drive แบบ online ซึ่งช่วยให้ไม่ต้องทำการ restart ระบบ โดยเมื่อต้องการให้ Linux rescan SCSI drive โดยไม่ต้อง restart เครื่องสามารถทำโดยใช้คำสั่ง

โดยที่ # คือ หมายเลข SCSI bus ที่ต้องการให้ rescan

ในบางกรณีเราจำไม่อยากให้ทำการ rescan ใหม่ทั้งหมด ก็สามารถทำได้ดังนี้

Remove a device:

Add a device:

คำเตือน

ไม่สามารถใช้คำสั่งนี้กับ Hardware ที่ไม่สนับสนุน Hot plug และไม่รับประกันความเสี่ยงที่จะเกิดการ corrupt ของข้อมูล หรือเกิดอาการผิดปรกติกับ SCSI system ดังนั้นการ reboot ระบบยังเป็นสิ่งที่ควรทำมากกว่า

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="">

*