Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 10:43:47 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        "O. Hartmann" <ohartmann@walstatt.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: SMART: disk problems on RAIDZ1 pool: (ada6:ahcich6:0:0:0): CAM status: ATA Status Error
Message-ID:  <CAOjFWZ6c7NGsahG2s76-WR6MtjwCXarhiFt7ymb13Ke=s_u3jg@mail.gmail.com>
In-Reply-To: <20171212192220.119ca2d3@thor.intern.walstatt.dynvpn.de>
References:  <20171212192220.119ca2d3@thor.intern.walstatt.dynvpn.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 12, 2017 at 10:21 AM, O. Hartmann <ohartmann@walstatt.org>
wrote:

>
> Question: is it possible to simply pull the faulty disk (implies I know
> exactly which one
> to pull!) and then prepare and add the replacement HDD and let the system
> do its job
> resilvering the pool?
>

=E2=80=8Bzpool offline <poolname> <device name>

Do that first.  That will mark the drive as offline, put the pool into a
degraded mode, and generally be less harmful to the system.

Then figure out which disk to pull and remove it (doing it from a powered
off state if needed).

Install the new drive, configure it however it's needed, then use:

zpool replace <poolname> <old device> <new device>
=E2=80=8B

> Next question is: I'm about to replace the 3 TB HDD with a more recent an=
d
> modern 4 TB
> HDD (WD RED 4TB). I'm aware of the fact that I can only use 3 TB as the
> other disks are 3
> TB, but I'd like to know whether FreeBSD's ZFS is capable of handling it?
>

=E2=80=8BYes, it can handle it just fine.  And it will keep the extra space=
 as
"usable in the future", so if you replace all the drives with 4 TB ones,
the extra space will be added to the pool.

--=20
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6c7NGsahG2s76-WR6MtjwCXarhiFt7ymb13Ke=s_u3jg>