From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Shenkin Subject: Re: SMART detects pending sectors; take offline? Date: Sat, 7 Oct 2017 11:05:29 +0100 Message-ID: <4ebf4f1c-34af-2b7d-20b3-77dd49086d94@shenkin.org> References: <629d29b4-a3ae-533f-bdba-f115e99d8ce4@shenkin.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-raid-owner@vger.kernel.org To: Carsten Aulbert , linux-raid@vger.kernel.org List-Id: linux-raid.ids Thanks Carsten, I was mistaken, it's a RAID1, not RAID0. I have /boot mounted on a RAID0, and / mounted on RAID5. They both split across 4 drives. Appreciate the advice - i'll just keep it running until the drive arrives tomorrow... Thanks, Allie On 10/7/2017 9:21 AM, Carsten Aulbert wrote: > Hi > > On 10/07/17 09:48, Alexander Shenkin wrote: >> My SMART monitoring has picked up some pending sectors on one of my >> RAID0 + RAID5 drives (it's one of the infamous 3TB seagate drives... my >> other 3 failed earlier... this is the last of them, that finally has >> gone as well...). I've just ordered a replacement (Toshiba P300) that >> will arrive tomorrow... but the question is, what to do in the meantime? >> Should I take the drive offline? I suspect so, but would like to >> double check before taking action. Thanks in advance for any advice. > > Given this is "only" a single sector error I would keep it running as > long as you can physically install the new drive and only then take it > offline. > > At least theoretically, it may be possible to force the rewrite of this > sector and use the spare sectors of the disk, but I'm not 100% sure if a > simple md check would already trigger it - usually you need to write > "new" data to defective sectors to force the drive's firmware to use the > spare sectors. > > But given the replacement disk should arrive soon, I would not act > before that and run with a degraded RAID5 until then. > > I'm a bit more worried about the RAID0 here, do you run RAID0 on top of > RAID5 or what is the exact set-up? > > cheers > > Carsten >