> I am a bit slow today.  It seems like a dying drive should be replaced 
> ASAP. 

Completely agree with Bob on this.   I drive an 8.000lb truck and the
tires have industrial strength runflats.   If I get a puncture or tear
in a tire I replace it as soon as I can, not when it is convenient.
The runflats get me out of the woods or down the street.   Since you
are running RAIDZ2 then the better analogy might be half-shafts,
but you get the point.

>  Since you are using RAIDZ2, replacing the drive as described 
> above should not be a problem.  Is the issue that your hardware does 
> not support hot swap and this is not a good time to shut the system 
> down?

I would recommend a system maintenance window for failing hardware as
soon as you can reasonably do it.   You still have protection for your
data, but a flaky drive needs to be replaced.

> Regarding the proposal to replace the drive with an external USB 
> drive, this approach will surely "work" but since USB is only good for 
> about 11 or 12MB/second, performance of the whole raidz2 vdev would 
> surely suffer and writes would then be limited by USB speeds.  It is 
> likely to take quite a long time to resilver to the USB drive and if 
> the filesystem is busy, maybe it will never catch up.  It may perform 
> better with the dying drive.

Exactly.   The analogy here is the space saver spare tire.   use only
as a last resort :-)


Bob

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to