2009/Nov/19

If in a RAID array two HDDs or more fail / get an unhealthy status at the same time, there is the possibility that something might have gone wrong with the drivers of the controller or the controller itself. Fix the problem with the controller & try to restart the array with all the HDDs (e.g. a RAID 5 with 4 HDDs)...
Code:
mdadm --assemble --force /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
...and check in "cat /proc/mdstat" if both the HDDs are still marked as "failed". If not, try to re-add the faulty HDD with...
Code:
mdadm --manage /dev/md0 --add /dev/sdd1

...or whichever HDD failed and see if the RAID rebuilds correctly and works again afterwards.

 

ที่มา :

http://www.linuxquestions.org/questions/linux-general-1/mdadm-active-degraded-...-what-do-i-do-646716/

2009/Jun/29

- ทำงานแล้วมีคนกวนเซ้าซี้

- อ่านหนังสืออยู่ แล้วมาวุ่นวาย

- ดูหนัง แล้วถามนั่นนี่ ชวนคุย

- มีคน พูดจาไม่รู้เรื่อง กวน teen

2009/Jun/05

พอดีวันนี้ลูกค้าใช้ raid software ของ CentOS ไม่ได้ทำ LVM แต่ hdd ลูกเก่าเค้าเป็น LVM ล่ะ นั่ง mount ตั้งนานกว่าจะได้ จด ๆ ๆ ๆ เดี๋ยวลืม

pvs deviceอ่ะ

lvdisplay /dev/VolGroup01
vgchange -ay
mkdir -p /mnt/VolGroup00/LogVol00
mount /dev/VolGroup00/LogVol00 /folderเป้าหมาย

 

นั่นล่ะ ไป apply เอา