dmesg is not reporting any issues. The /proc/mdstat looks fine. md0 : active raid1 sdb1[1] sda1[0] X blocks [2/2] [UU] however /var/log/messages says: smartd[3392] Device /dev/sda 20 offline uncorrectable sectors The machine is running fine.. raid array looks good - what is up with smartd? THanks, Jerry
on 4/1/2011 8:32 AM Jerry Geis spake the following:> dmesg is not reporting any issues. > > The /proc/mdstat looks fine. > md0 : active raid1 sdb1[1] sda1[0] > X blocks [2/2] [UU] > > however /var/log/messages says: > > smartd[3392] Device /dev/sda 20 offline uncorrectable sectors > > The machine is running fine.. raid array looks good - what > is up with smartd? > > THanks, > > JerryCould it be that the bad sectors so far have been in unused areas? Once a drive runs out of sectors to map corrections to, I would really think about replacing it.
Jerry Geis wrote:> dmesg is not reporting any issues. > > The /proc/mdstat looks fine. > md0 : active raid1 sdb1[1] sda1[0] > X blocks [2/2] [UU] > > however /var/log/messages says: > > smartd[3392] Device /dev/sda 20 offline uncorrectable sectors > > The machine is running fine.. raid array looks good - what > is up with smartd?search the list archives for "offline uncorrectable sectors". e2fsck -cc might help, though I don't know how that will go with raid.
On Fri, 1 Apr 2011, Jerry Geis wrote:> dmesg is not reporting any issues. > > The /proc/mdstat looks fine. > md0 : active raid1 sdb1[1] sda1[0] > X blocks [2/2] [UU] > > however /var/log/messages says: > > smartd[3392] Device /dev/sda 20 offline uncorrectable sectors > > The machine is running fine.. raid array looks good - what > is up with smartd?This page is one I like for understanding SMART attributes. http://www.z-a-recovery.com/man-smart.htm Steve
On 4/1/2011 11:32 AM, Jerry Geis wrote:> Device /dev/sda 20 offline uncorrectable sectorsmy .02 i would replace the drive.
On 04/01/2011 05:32 PM, Jerry Geis wrote:> dmesg is not reporting any issues. > > The /proc/mdstat looks fine. > md0 : active raid1 sdb1[1] sda1[0] > X blocks [2/2] [UU] > > however /var/log/messages says: > > smartd[3392] Device /dev/sda 20 offline uncorrectable sectors > > The machine is running fine.. raid array looks good - what > is up with smartd? > > THanks, > > JerryThis means that you will be in trouble sooner or later. Is there only sda1 on sda? If so, try mdadm /dev/md0 --fail /dev/sda1 mdadm /dev/md0 --remove /dev/sda1 mdadm /dev/md0 --add /dev/sda1 which will end up overwriting the offline uncorrectable sectors. In most cases this fixes the disk. But you will have to monitor it carefully from now on. HTH, Kay