From owner-freebsd-fs@freebsd.org Thu Jun 27 08:45:27 2019 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C75215DE6A3 for ; Thu, 27 Jun 2019 08:45:27 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50081.outbound.protection.outlook.com [40.107.5.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84E78744CA for ; Thu, 27 Jun 2019 08:45:24 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RISEcloud.onmicrosoft.com; s=selector2-RISEcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4tuK44r5lefNmSFgCcDCRfuW9tQqOEpISxAo7FCvGlU=; b=nH2UvMUJ1S7u97dUQxYRgkwR3j18mcQVIQLRzT6CLaFtZ0d+HACuF10TXb0BFVRJpUIr8/NpQzb9V+ybn+TltPASADDK4njFOdCqQgd6RnIFFMhpbGF/f+3PNFdsBsFoceoHdz6OBOGg7+5Mlx3aLTaR0+EVZj4qN1pV0uXrS6w= Received: from HE1P18901CA0005.EURP189.PROD.OUTLOOK.COM (2603:10a6:3:8b::15) by VI1P189MB0384.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:35::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.17; Thu, 27 Jun 2019 08:45:22 +0000 Received: from HE1EUR02FT046.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e05::202) by HE1P18901CA0005.outlook.office365.com (2603:10a6:3:8b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2008.16 via Frontend Transport; Thu, 27 Jun 2019 08:45:22 +0000 Received-SPF: Pass (protection.outlook.com: domain of ri.se designates 194.218.146.197 as permitted sender) receiver=protection.outlook.com; client-ip=194.218.146.197; helo=mail.ri.se; Received: from mail.ri.se (194.218.146.197) by HE1EUR02FT046.mail.protection.outlook.com (10.152.11.249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2032.15 via Frontend Transport; Thu, 27 Jun 2019 08:45:22 +0000 Received: from P142.sics.se (10.116.0.226) by sp-mail-3.sp.se (10.100.0.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 27 Jun 2019 10:45:21 +0200 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.15.2/8.15.2) with ESMTPS id x5R8jSJ9001967 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 27 Jun 2019 10:45:28 +0200 (CEST) (envelope-from bengt.ahlgren@ri.se) Received: (from bengta@localhost) by P142.sics.se (8.15.2/8.15.2/Submit) id x5R8jSwH001966; Thu, 27 Jun 2019 10:45:28 +0200 (CEST) (envelope-from bengt.ahlgren@ri.se) X-Authentication-Warning: P142.sics.se: bengta set sender to bengt.ahlgren@ri.se using -f From: Bengt Ahlgren To: Subject: zpool offline after replace? User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) Date: Thu, 27 Jun 2019 10:45:28 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.116.0.226] X-ClientProxiedBy: sp-mail-1.sp.se (10.100.0.161) To sp-mail-3.sp.se (10.100.0.163) X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:194.218.146.197; IPV:NLI; CTRY:SE; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(376002)(346002)(136003)(396003)(2980300002)(199004)(189003)(81166006)(5660300002)(3480700005)(50466002)(74482002)(81156014)(48376002)(4744005)(8936002)(87636003)(478600001)(9686003)(356004)(26005)(70586007)(70206006)(53936002)(8676002)(69596002)(7736002)(6916009)(305945005)(2351001)(44832011)(126002)(22756006)(6116002)(2906002)(336012)(106002)(486006)(51416003)(40036005)(3846002)(386003)(86362001)(68736007)(42186006)(16586007)(316002)(47776003)(58126008)(186003)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1P189MB0384; H:mail.ri.se; FPR:; SPF:Pass; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 539d30f0-ebed-4b12-dffa-08d6fadbca7a X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(4709080)(1401327)(2017052603328)(7193020); SRVR:VI1P189MB0384; X-MS-TrafficTypeDiagnostic: VI1P189MB0384: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-Forefront-PRVS: 008184426E X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: pnOrP7ewi2QGYmEaIdbJb3WJSqfb1DZvexCBPAaB+DgNciKd/cTwX+7ql5yR+87NcWMYdVi+Y8tZF3R76Q6jsPvLa/if8W0XYdKVnRFSVa9sp0jZV/Hy4ayZYV1NjlLoMdu1RN/jNI8/NzT4KEQEYoF4ub5jvgv/HQ/OQS7jd/L/oP7aJvbpCjRZtyz/ipgL3+jI6TRJ8T8qRkeH6yWWhgSf86GVZmwS6GOAd1Oo2y+9b0N9reJ5Cr1Vx3HeK8XIpFRgvEMBmDgEbEWzghgFTFI7o5qpdIQTzAgjn91H0cMDTV2PB9TnZQCshGAHOmKBqX0EKkEs+ZORe+bVOMarvYmOTKgmpP2MlJCKsDlrcJRwzQ7Uz87//c0o246sjat1rQigYgBEA2Oq3UUY9acFgHkIHU0O2Yl9zFMYTSsJmXE= X-OriginatorOrg: ri.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2019 08:45:22.0615 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 539d30f0-ebed-4b12-dffa-08d6fadbca7a X-MS-Exchange-CrossTenant-Id: 5a9809cf-0bcb-413a-838a-09ecc40cc9e8 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5a9809cf-0bcb-413a-838a-09ecc40cc9e8; Ip=[194.218.146.197]; Helo=[mail.ri.se] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1P189MB0384 X-Rspamd-Queue-Id: 84E78744CA X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=RISEcloud.onmicrosoft.com header.s=selector2-RISEcloud-onmicrosoft-com header.b=nH2UvMUJ; spf=pass (mx1.freebsd.org: domain of bengt.ahlgren@ri.se designates 40.107.5.81 as permitted sender) smtp.mailfrom=bengt.ahlgren@ri.se X-Spamd-Result: default: False [-1.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.951,0]; R_DKIM_ALLOW(-0.20)[RISEcloud.onmicrosoft.com:s=selector2-RISEcloud-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.992,0]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.45)[0.452,0]; DKIM_TRACE(0.00)[RISEcloud.onmicrosoft.com:+]; MX_GOOD(-0.01)[ri-se.mail.protection.outlook.com,ri-se.mail.protection.outlook.com]; RCVD_IN_DNSWL_NONE(0.00)[81.5.107.40.list.dnswl.org : 127.0.3.0]; DMARC_NA(0.00)[ri.se]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_SEVEN(0.00)[7] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 08:45:27 -0000 I have a dual vdev raidz2 pool with 2x6 disks. One disk is failing so I did a zpool replace with a more or less identical disk without first offline:ing the failing disk, as I have done a couple of times before without issues: # zpool replace pool diskA diskB The resilvering started, but is very slow - the failing disk is simply in a worse state than I thought, so I want to offline it: # zpool offline pool diskA So, to the question: Is this safe to offline the failing disk that is in the process of being replaced? The server runs 11.2-REL, if that matters. Regards, Bengt