From owner-freebsd-current@freebsd.org Mon Feb 8 18:19:56 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D54D553C150 for ; Mon, 8 Feb 2021 18:19:56 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DZDp45Z1Zz4c5w for ; Mon, 8 Feb 2021 18:19:56 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-qk1-x729.google.com with SMTP id b14so1818961qkk.0 for ; Mon, 08 Feb 2021 10:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0arhqxPErJHiIZnV0+u2wOAgiWG6Vk5QUgHZ6ZCM42E=; b=KqGAKKKV4RAdCVx/2veGsmrqq/ld0KWKEyuNxwcshyg6cZ4p2vPszRZ0J1BL2+uCRw dpN4HEr7NRtGGZSSa4nBU+UknIWNGFqSmukooal4S9I/Tg6aawsn8PiwAQsfqWw1hwFU 69zE1m/ztNUL6U6U3xHNCP/ttsQQJtpYy8fk0ZMuqJ2OBlnQRbMnO8ezEebaP/y67clo UB8x1HFPNoXcZcyAZCVzcaDS0lQxJXp5BPfHk8JIGIM6yahJ9+hV6D0ohbRzhCj1daw6 ughL/0C0MMrqRXDP+0JOmEnMSWt0sF3EC61ddCAzBSZG0gihXdO9fNThCgH7JPEhEwbG l8aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0arhqxPErJHiIZnV0+u2wOAgiWG6Vk5QUgHZ6ZCM42E=; b=bZ5mRrH15O+hJtbRZR8ZFLJ+A36FKpHpnvNU1XZOs6KrtW1MUivmDQUyMBMBPBCrf/ CLdQVpJNffZ29i7LL2nQVbXKKmO48gf6ZUBY6DI6duDnTYNHLUuBS9Ems8/3Yf4MlZIW Jl7OVG0yDziT0UgFun2yu46oMFCNvEwDATcj5MSgiJxS890L6NnULDjfxA+PHu+ds5Xf kcK+Jd1TOZjU8qG9J8RdQfO3HPMuGxCA5yc0j+KjIIZkHho0oQoP4PZirUx6CbmPwzZ3 yY89Dulki09TQwlZ0tCtI1izVP3PwohRbcPAX2zZY/DV+VYKo2bjlfTJMxaWcc/aGpmY ImWw== X-Gm-Message-State: AOAM531OWQF4GgmNCAkijzJYvdQcSWGIMMgmPk17C/KSIRUt5kiS/uer u+6DwtNPIG5tMJW4RPjuBF21q55mHqUXQDbUvrQiflpGZNE= X-Google-Smtp-Source: ABdhPJyshYmQi6A2s3wR3uybgqK2eD2H33C6smgK5rCO+oC1D6FLH2EjPli7ieAqZTFjAFEfSUdSXsTYADODuwnHPSg= X-Received: by 2002:a37:9cc7:: with SMTP id f190mr17964193qke.336.1612808395672; Mon, 08 Feb 2021 10:19:55 -0800 (PST) MIME-Version: 1.0 References: <0ABC40B6-BB2E-43B3-B0B6-7BEA12D3F5F0@via.net> In-Reply-To: <0ABC40B6-BB2E-43B3-B0B6-7BEA12D3F5F0@via.net> From: Freddie Cash Date: Mon, 8 Feb 2021 10:19:44 -0800 Message-ID: Subject: Re: When is 'zpool offline' required? To: joe mcguckin Cc: FreeBSD-Current X-Rspamd-Queue-Id: 4DZDp45Z1Zz4c5w X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2021 18:19:56 -0000 On Mon, Feb 8, 2021 at 10:10 AM joe mcguckin 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