ZFS disk replacement questions

Derrick Ryalls ryallsd at gmail.com
Tue Nov 3 18:08:28 UTC 2009

Hello list,

I plan on rebuilding my home fileserver next month with FreeBSD 8.0
x64 and will be using 4x 2TB drives in an external eSATA hotswap
enclosure using RAIDZ.  I have played around with FreeBSD in
VirtualBox just to see how easy it is to deal with ZFS, but a few
questions have come up for this configuration.

1) In the event of a disk failure, how do I trace back the name such
as adX to a physical drive in the enclosure?  Is there a way to take
the drive offline then use atacontrol to spin it down or something so
it is easy to identify?

2) In the event that I do experience a failure and manage to replace a
working disk instead of the failed disk, am I now completely hosed or
can I put the working disk back in and try pulling another drive which
is hopefully the bad drive?

3) Finally, does the extra load of resilvering the replaced drive
'age' the good drives causing them to fail quicker?

Any tips would be greatly appreciated.


More information about the freebsd-questions mailing list