So I have replaced two disks in my Software Raid in the last month. The first time the disk had reached 2500 reallocated sectors and I decided to replace it before it actually failed. The second time the disk had one pending bad sector but it was causing the whole file server to run slowly!
In the first replacement I created a partition on the disk and then made a mistake when I added it to the raid. I left off the '1' - I did "mdadm --add /dev/md0 /dev/sdc". This added the disk rather then the partition. It was easier then creating a partition so the second time I did the same thing. It saved the creating partition step which I got from the tutorial on software RAID I referenced in an earlier blog post.
The performance was much better once the second disk was replaced even whilst it was rebuilding!
In the first replacement I created a partition on the disk and then made a mistake when I added it to the raid. I left off the '1' - I did "mdadm --add /dev/md0 /dev/sdc". This added the disk rather then the partition. It was easier then creating a partition so the second time I did the same thing. It saved the creating partition step which I got from the tutorial on software RAID I referenced in an earlier blog post.
The performance was much better once the second disk was replaced even whilst it was rebuilding!
Comments