From owner-freebsd-questions@freebsd.org Sun Oct 16 13:43:15 2016 Return-Path: Delivered-To: freebsd-questions@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 30ACDC12A03 for ; Sun, 16 Oct 2016 13:43:15 +0000 (UTC) (envelope-from greg.marsh@gmail.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (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 09B3F1D61; Sun, 16 Oct 2016 13:43:14 +0000 (UTC) (envelope-from greg.marsh@gmail.com) Received: by mail-it0-x232.google.com with SMTP id m138so29316994itm.0; Sun, 16 Oct 2016 06:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=v8LZNSZEqgrbgR5GAmhLf2nL6Re9tAH0JZkOFJALeaM=; b=I1bT+RmTtPmiioI5Gp7muvzbQQGn0Widxby3Oz+nrqDP4DXOGPJVNzRFdeRZlwSuxT M5lJ72tYnzOqdU7Hz1Bl+ZQ6MzEjlvNb+wVY8p7m3i1sd9H++c21NA8vm5ZZbBPRyKXR UloQ7O/Q4wgJ+q18P2WOEyt5YIMtTYE6fViKqrLazBoYMDS5uf7YY4AjbVQWSkMDGdaj K1fUuxBBbD8tT++do/k3KxpQS0f8vZTOKPU/KqsJpHdb0O2deXk0kEjU/ZAKtzfgWU8X 8cQ/QCz1VGfJpWICoKhFOaw0uvFJjefIjgeOPtjriArl4e2JAVCuxOgkct50L4n8B1Qj QAfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=v8LZNSZEqgrbgR5GAmhLf2nL6Re9tAH0JZkOFJALeaM=; b=SlXa+RuhPAkmERVSTRa2uEjfYGquOVsnghZQF8hUb4Q1xeTOB5yzf3dcn2jPm5bg/m Egyge8rFzOp8mrfFWGyQF20Abmy7ZRAhl/7gs0A2ajXgaGLi8Rb3IEdPP2ZZ6Onv+fHg gn7ZdMEBStj2Rsl3FkAIb4zlPLeVCBhLGid2f2dhif+2wtV2bjC2wypiFyOO8MbcHQPt 4ynoiy410LfXY9zzpSgSi/gWbBEuuEk//27R1ld79tDiBTmplDTDsXPOTuWFRxjJfrUT XSNtycMCg/3FMHf36BCNDGVkH/FfGn2yDvNFCljs7taEbB0WOMGBpKicy475t42HgJEC pMLA== X-Gm-Message-State: AA6/9Rk/+ToQjZPdjOF0DeXB8BIctX8C32HrWs4Uiu2xjrVqQgzWoyV+5bUvC1ou5Ae5Tg== X-Received: by 10.36.48.74 with SMTP id q71mr4793794itq.116.1476625393887; Sun, 16 Oct 2016 06:43:13 -0700 (PDT) Received: from ?IPv6:2605:8d80:6a1:32b7:6159:b6df:3719:ea22? ([2605:8d80:6a1:32b7:6159:b6df:3719:ea22]) by smtp.gmail.com with ESMTPSA id j69sm11512097iod.8.2016.10.16.06.43.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Oct 2016 06:43:12 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Help finding out find why a ZFS pool vanished. From: Greg Marsh X-Mailer: iPhone Mail (14A456) In-Reply-To: <0b913867-fd96-521d-7981-da7485fd2230@FreeBSD.org> Date: Sun, 16 Oct 2016 09:43:10 -0400 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <059136B3-C4EE-43A9-A8BC-64CD2532EAC8@gmail.com> References: <0b913867-fd96-521d-7981-da7485fd2230@FreeBSD.org> To: Matthew Seaman X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2016 13:43:15 -0000 Thank you, Matthew.=20 I'm heading to replace some water damaged drywall and will browse through th= e zpool history output when I get home.=20 Cheers, Greg Sent from my iPhone > On Oct 16, 2016, at 08:45, Matthew Seaman wrote: >=20 >> On 16/10/2016 01:56, Greg Marsh wrote: >> A couple days ago, when trying to copy my desktop files to my backup >> system, I got NFS mount errors. I was quite sore & tired from work (after= >> 25 years of sysadmining, I'm now doing home renovations), so I went with >> the Windows admin response of 'reboot everything', on both my desktop and= >> server. Then when trying to remount the NFS shares from my FreeBSD system= >> didn't work, I df'd on my FreeBSD server to find the /storage pool was no= t >> there. >>=20 >> I was eventually able to get my storage pool back through 'zpool import >> -af' >=20 > Have you examined the log from the zpool that mysteriously vanished? >=20 > # zpool history -il poolname >=20 > This will record every zfs(8) or zpool(8) command affecting the pool. > You should also examine any command histories you have for actions > affecting /boot/zfs/zpool.cache -- while the system nowadays will > generally be able to find your boot pool without this, it may not be > able to find /other/ pools. Lots of recipes for manual intervention > with ZFS systems rely on manipulating this file, but they frequently do > not warn against /removing/ the working copy before rebooting, something > that tends to catch out the tidier amongst us. >=20 > Cheers, >=20 > Matthew >=20 >=20 >=20