เมื่อต้องการลดเวลาการ rebuild Raid 1 เราสามารถใช้คำสั่งด้านล่างนี้ได้ครับ
#mdadm -C /dev/md0 -l1 -n2 /dev/sda1 /dev/sda2 --bitmap=internal
--bitmap (Write-intent bitmap) จะช่วยลดเวลาการ Sync ได้โดยถ้าเกิด disk offline temporarily, kernel crash จะทำการ Sync เฉพาะ Block ที่ถูกแก้ไขเท่านั้น แต่ถ้า block ไหนไม่ได้ถูก Sync จะถูก copy มาแทน
--bitmap=internal หมายถึงการเก็บ metadata ไว้ที่ Raid เลย
คำค้นยอดนิยม: การ rebuild server, raid 1 linux rebuild raid, raid 1 ทำ rebuild ไม่ผ่าน, rebuild raid 1 hardware, redhat enterprise 5 raid 1, การ resync disk server, ทํา raid, สั่ง rebuid disk linux
Related posts:
- Re-shape or Grow a Raid 5 array. การเพิ่มเนื้อที่ในการทำ Raid Software ของทาง linux นั้นมีการแก้ไขที่ไม่ยากอย่างที่คิด โดยสมมติให้เรามีการทำ Software...
- How to Set up GRUB to boot from both disks of mirrored RAID ถ้าในระบบได้มีการใช้งาน software raid ของ linux แบบ raid 1...
- Change I/O Disk Scheduler without Reboot I/O Scheduler สำหรับ Hard disk หรือพวก block device...
- Implement and configuration Highly Available LVM (HA LVM) ใน Red Hat Enterprise Linux ตั้งแต่ version 4.5...


June 27th, 2008
Tum.
Posted in
Tags: 