Re: SMART detects pending sectors; take offline?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/01/18 20:28, Alexander Shenkin wrote:



Ok, an update. Writing with bs=512 had issues, as it was failing on a read, and reallocating was failing. I think this is because the physical sector size is 4096b, and it needs to read the other 7 512b logical sectors if it wants to write just 1 512b logical sector. So, I ran:

sudo dd if=/dev/zero of=/dev/sda seek=732230414 count=1 bs=4096

This seems to have worked.  In syslog, I just now saw:

Jan 4 12:12:07 machinename smartd[2203]: Device: /dev/sda [SAT], No more Currently unreadable (pending) sectors, warning condition reset after 90 emails Jan 4 12:12:07 machinename smartd[2203]: Device: /dev/sda [SAT], No more Offline uncorrectable sectors, warning condition reset after 90 emails Jan 4 12:12:07 machinename smartd[2203]: Device: /dev/sda [SAT], SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 113 to 117

I'm now running a checkarray and will report back final results, and whether the SMART warnings return. Thanks all for the help, hope this marks the end of this issues...

Allie


Damn. I saw your initial mail, but I was out and nowhere near a device I could use to reply sensibly. You should *really* check by looking at the mdadm --examine output and calculating the position of the sectors in question to be absolutely sure the area you just wrote over was not in the active array area. If it was then you should stop the checkarray *now* and come back for advice.

Sorry I don't have time right now to elaborate.

Regards,
--

Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux