Re: RAID1, changed disk, 2nd has errors ...
flat view
From: Stefan G. Weichinger <hidden>
Date: 2011-08-29 08:25:54
Am 29.08.2011 10:00, schrieb Stefan G. Weichinger:
Am 29.08.2011 09:51, schrieb Mathias Burén:quoted
Maybe running badblocks on the sector range (or over the whole HDD, but in non-read-write mode it takes quite a while longer) will do the trick.I currently run "badblocks -n -s /dev/VG01/my_lv" ... we'll see
Switched over to
dd if=/dev/zero of=/dev/VG01/my_lv bs=4096
This executed without error (wrote ~20GB) and now when I check with:
smartctl -a /dev/sda
I get
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age
Offline - 0
Sounds good to me! Right?
So now I could re-add /dev/sdb4 to retry syncing that array, correct?
Stefan
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html