From owner-freebsd-fs@freebsd.org Mon Aug 22 16:31:33 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 527F0BC2D8F for ; Mon, 22 Aug 2016 16:31:33 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF717116E for ; Mon, 22 Aug 2016 16:31:32 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id q128so14254875wma.1 for ; Mon, 22 Aug 2016 09:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=95xYU+/KKGl1zoTz6Vv2lAw4iCm3M1i5dL3BYzd8OLA=; b=Va5UHdlp0b4fuDYo6Qwqpfeb3VwqXcYos26Z1khBbGrbZgffZaD6zDG8+W+DjCTKYi dQs8sUvnqW1V6ouLRqIDmGpgjjPvE8ibKOJWlmnyH8fZgoPj2k3R4e+ceD8+3SzJ1LTZ GKBVuywqsDTDLDF5WJhIgyoto867OEFxAHODZwt9IBc3OgkcUTxNPRNgG31vxPwfRODf gTgrPwYs1VJ8wlPv60Vy3KUho6XRuZyzUVQnIqrO5XMH8Xn7sHD3Hoy1s2Z9T7Xpq+lY oiGhPozgE2H9QbPuMEbC9DjPF8I1l/o41ASZyx9Xpxofxh8OIddeVMnUgqkJn+1mfItf IRIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=95xYU+/KKGl1zoTz6Vv2lAw4iCm3M1i5dL3BYzd8OLA=; b=Niqlr/lDM2dpDj0yNbNKSIdVgaNBAG6AH8xG8q5Pf4Jxa++Z1udJSW3ZtZLbJxHqNy Wb+F8kuhovKpV49BRaIVRM5/SPrFXYv8Bnzh9QVTgU+bY93oMSu+pUELJ3BU90qJfH8x pXowTCozZ56GBD3V+rhZyZrfwXoZydPzEl7dS9LtOKyv2hbr5tjB12fWrrBLAfei0r0k g1dCae5XrEZRbitCljQNgCUOiYHJ6a3J+7MfbJlhLsClqQXDYli11Ug8emNHQSLGQ5xM cUbPDVUnh+csy9117UaCBwbHRaFwh8bRtKIDxNGy3NtuIkVzrs3ufZ9iXBdVEReE4j2u hCww== X-Gm-Message-State: AEkooutx0ZQRvRG8heF73A8eSwLgaa0IJ2ywedgXBLx9HrosMaEDwJWj5DAmK5TPfCy4dg== X-Received: by 10.194.175.106 with SMTP id bz10mr21047044wjc.42.1471883491293; Mon, 22 Aug 2016 09:31:31 -0700 (PDT) Received: from macbook-air-de-benjamin-2.home (ANice-651-1-185-161.w83-197.abo.wanadoo.fr. [83.197.121.161]) by smtp.gmail.com with ESMTPSA id hy3sm24987045wjb.8.2016.08.22.09.31.30 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Aug 2016 09:31:30 -0700 (PDT) From: Ben RUBSON Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: [ZFS] "online" spares ? Message-Id: Date: Mon, 22 Aug 2016 18:31:29 +0200 To: FreeBSD FS Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 16:31:33 -0000 Hello, Let's assume the following status : pool: zroot state: ONLINE config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 (...) spares 15751675431801904320 REMOVED was = /dev/label/X92020TYEEGHT For some reason one of the spares is in removed state but is now = available again to the system. "online" command does not work for spares. Is there any way to bring spares back to available state without having = to "remove" and "add" them again ? Many thanks ! Best regards, Ben