Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Sep 2009 19:06:05 +0200
From:      Mark Stapper <stark@mapper.nl>
To:        Arthur Chance <freebsd@qeng-ho.org>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: ZFS and DMA read error
Message-ID:  <4A9FF77D.6080504@mapper.nl>
In-Reply-To: <4A9FCC7E.3070209@qeng-ho.org>
References:  <4A9B731E.9050400@mapper.nl><ade45ae90908311122s685a6aa7o6dcc49a48c08000e@mail.gmail.com>	<4A9CBDBB.3060403@mapper.nl>	<4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> <4A9FCC7E.3070209@qeng-ho.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Arthur Chance wrote:
> Mark Stapper wrote:
> [snip]
>> I ordered a "spare" drive so I'll wait until it arrives, replace the
>> faulty drive with this one by dd-ing data from one to the other (I have
>> only 4 SATA ports so I can't do "zpool replace").
>
> zpool replace has two forms
>
>     zpool replace pool old-device new-device
>
> and
>
>     zpool replace pool device
>
> The latter is for when you pull the old drive and put the new one on 
> the same {S,P}ATA port because you've no free ports. I did that a 
> couple of weeks ago when one of my raidz drives fried (in its warranty 
> period!) and it worked like a dream. I did a zpool replace and then a 
> zpool scrub  to make sure everything was OK because of this section of 
> the zpool man page:
>
>     Scrubbing  and resilvering are very similar operations. The differ-
>     ence is that resilvering only examines data that ZFS  knows  to  be
>     out  of  date (for example, when attaching a new device to a mirror
>     or replacing an existing device), whereas  scrubbing  examines  all
>     data to discover silent errors due to hardware faults or disk fail-
>     ure.
>
Thanks for the tip. I'll be sure to try that.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A9FF77D.6080504>