Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 10:19:44 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        joe mcguckin <joe@via.net>
Cc:        FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: When is 'zpool offline' required?
Message-ID:  <CAOjFWZ7oaYcNsA=V4t=Q-5_XChsAcp4pZJTGOgfWZr0Z%2Bsj%2BTQ@mail.gmail.com>
In-Reply-To: <0ABC40B6-BB2E-43B3-B0B6-7BEA12D3F5F0@via.net>
References:  <CF6CB87D-D1A4-4328-976D-31764C0BD1F2@via.net> <X/3r1SssReAPWRUF@home.opsec.eu> <0ABC40B6-BB2E-43B3-B0B6-7BEA12D3F5F0@via.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 8, 2021 at 10:10 AM joe mcguckin <joe@via.net> wrote:

> I was just playing around with a test ZFS system and was running through
> replacing a bad drive and I forgot to issue a =E2=80=98zpool offline=E2=
=80=99 command.
> Everything seemed to go ok anyway. The system started resilvering, etc.
> When is =E2=80=98zpool required=E2=80=99? Under what conditions can I omi=
t it?
>

If the drive is dying but still working, then using "zpool offline" is
recommended, to tell the pool to stop using the drive.  This is also handy
if there's going to be a delay between "noticed the drive is dying" and
"have a replacement drive available".

If the drive is completely dead, then most likely it will be dropped from
the pool automatically by ZFS, so "zpool offline" isn't needed.

While it's generally "better" to offline drives, ZFS is designed to
withstand drives dropping off without warning.


> Is there a dedicated mailing list for ZFS user questions?
>

There's a zfs-discuss mailing list run by the OpenZFS project.  There isn't
a FreeBSD ZFS-specific mailing list, but there is a freebsd-fs@ mailing
list for everything filesystem related (UFS, ZFS, mfs, NFS, etc).

Cheers,
Freddie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ7oaYcNsA=V4t=Q-5_XChsAcp4pZJTGOgfWZr0Z%2Bsj%2BTQ>