From owner-freebsd-stable@freebsd.org Sat Mar 3 00:41:29 2018 Return-Path: Delivered-To: freebsd-stable@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 BD1EBF31C73; Sat, 3 Mar 2018 00:41:28 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64A4E8270B; Sat, 3 Mar 2018 00:41:28 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 9578520ABC; Fri, 2 Mar 2018 19:41:27 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Fri, 02 Mar 2018 19:41:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=Vuq1OQMMLTNSc9PC7CaXX4v5ag6Jw 3vv2JMmkGfY23Q=; b=SmKM0m+evu1JTOJEo86Qe39N9rU+eYb09Y8ZDsJpF9YR2 2G/jmX1LvWTiwXWpg1wclB3Gcdza9hK/FgSC1Vl6MECwsloLpank7K/cSavcrLJt p6ooMV93nRnMypedymH5VWdbAYyMZRSbeozb9fNKPb3bRYqMXMKVnBGChlxe/cw5 YnOVa4xI4pUwYLpgmf13Ui+avV2TUcjH6/h3wcMDFhdMCQ8OcKtrhrYgnirw0Aso ByB+B/px8Mjp78l1E83N+tvvxjdKbBmFqV1LIYO5FkfiHzxpMHR09UzM6ljP9Ejb JC+Zd3QCVMXnjek89/oC0cyNLmmj+Z64lFf0IwbaQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Vuq1OQ MMLTNSc9PC7CaXX4v5ag6Jw3vv2JMmkGfY23Q=; b=aovEVcdDlHf8MxMjtLWhyL OO0bHr3kHUf7o2YdPedA80kn7Pbdhi7AqxHMMp7t4zdt3isJ8zBGCHuiOKbU36IO bzXuZEOJsMTSVOUo6oYCPUReMZN1lFnvCDuWvSrhMBPUsmZ6p7/QsRb7BOOmSFMb Rnhk/ZO4+QmVPVhjzv9ePNoB28swxN50jH1R0bDbhDGhC8FzdSyYpL/bAFcN9qxt 5LkGlf5iMyBvnwnhPjcjowrbKIM9+1g3aXycf+z/DkLxBytx/ANCOFjbWEhm8Dpw 5t0fTonO/sejASnf2PK1s/xziJquZJ/G3VI0tIQXf1yt/fs/Hemqe03KQrz9jHTw == X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id F38D82482D; Fri, 2 Mar 2018 19:41:26 -0500 (EST) Subject: Re: zfs problems after rebuilding system To: Freddie Cash Cc: FreeBSD Filesystems , FreeBSD Stable References: <21c64a2d-b9f9-24c8-88ec-ff1210891f60@zyxst.net> <1dc2b8ef-2914-8182-e2b0-ac637e6b2095@zyxst.net> <65372449-53f1-8002-981a-e20f4a592e26@zyxst.net> From: tech-lists Message-ID: <44037e05-f860-8a99-cbb7-abca6971b302@zyxst.net> Date: Sat, 3 Mar 2018 00:41:26 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2018 00:41:29 -0000 On 03/03/2018 00:09, Freddie Cash wrote: > You said it's an external USB drive, correct? Could it be a race condition > during the boot process where the USB mass storage driver hasn't detected > the drive yet when /etc/rc.d/zfs is run? > > As a test, add a "sleep 30" in that script before the "zfs mount -a" call > and reboot. Yes it's an external usb3 drive. That's interesting and I'll test that tomorrow. I recently commented out a GENERIC kernel the USB debug line because the console was filling up with usb attach messages on boot. They were appearing after the login prompt. I have a couple of usb3 hubs attached and the disk is attached through one such hub. (although it was done this way because sometimes it'd be seen as /dev/da0 and others as /dev/da4. And possibly linked to this, when it came up as /dev/da0 it was always with a usb2 speed rather than usb3). thanks everyone for your input. -- J.