On Jan 14, 2014, at 1:29 PM, George Mitchell <geo...@chinilu.com> wrote:
>> 
> Chris,  Please don't misunderstand me.  I am not advocating that btrfs or any 
> other filesystem should be dealing with bad blocks.  I believe very strongly 
> that if the drive firmware can't deal with that transparently the drive is, 
> indeed, toast, and should be tossed.

OK.


> And the key to monitoring hard drive health, in my opinion, is SMART and what 
> we are lacking at this point is a SMART capability to provide visual 
> notifications to the user when any hard drive starts to seriously degrade or 
> suddenly fails.

Gnome does this:
https://mail.gnome.org/archives/commits-list/2012-November/msg03124.html

The problem is that something around 40% of failures come with absolutely no 
advance warning by SMART. So yes it's better than nothing but we're still 
rather likely to not get sufficient warning.


>  If SMART were capable of launching pop up warnings, btrfs would not have to 
> worry so much about arrays going simplex undetected.

I don't see a tie in between Btrfs and SMART. Btrfs's behavior in the face of 
SMART indicating e.g. a high number of reallocated sectors in the past hour, 
shouldn't change. Only once the drive reports read or write failures would 
Btrfs need to change its behavior. The SMART warnings preferably should flag 
the user with some kind of warning.

>   And it should really be the user's responsibility to be running SMART and 
> providing sufficient number of drives AND sufficient additional free space to 
> accommodate potential drive failure and still retain desired level of 
> redundancy extra drives in their RAID arrays.  That is where I stand on this.

I'd say the OS should do it. With linux distros, that's the desktop. I don't 
think users should have to be configuring SMART at all.


Chris Murphy

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

Reply via email to