From owner-freebsd-hackers@freebsd.org Sun Apr 29 14:40:52 2018 Return-Path: Delivered-To: freebsd-hackers@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 7A505FAEB72; Sun, 29 Apr 2018 14:40:52 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (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 00FE380D3B; Sun, 29 Apr 2018 14:40:51 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x22a.google.com with SMTP id m18-v6so8962889lfb.0; Sun, 29 Apr 2018 07:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=+E4MjoDmPCpiOuF8DaCb5DcLt+yjN5KizG0ElaN+qAI=; b=g+FL8ihMfx9S4BuSv0zwuQO7ouHkfzxpz9b0U+CnxEjOC5k0E/KdhAnVYR4fQBTRcE hG2/RXzX5cxCfZqmkEGxzPI6Ku4r43owd9hdrM0lOeHwukk95dVwZYaerujDZ4xbwWN5 ku2dWEMpd93/jz59i9T6tPeHXxm7hRDiZ4SB3Jn/PfwG4QyusM+xGsVaGyVkLM1pFZ7J wWOza5/LGCe7v3gVW91AWejlWffnEgClM04hCOFEPafJZbLd+gfcZlWvTSe8W0qTGZcM d+HzSPMgR6XPjtpp0W4HjJGasVa0hONBZlPN1PBjTC8QVBEHlY6IEnZLfVu76rUfsg6k ovyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=+E4MjoDmPCpiOuF8DaCb5DcLt+yjN5KizG0ElaN+qAI=; b=EceIGJwJENZj5DYoH3pvGQkmdcoaEXaj1JukabtRmaacm6tDgJRKhj12kLahg9oPPd im+avPp9JvW6ShGtZZQMCeWDMSJH0cIsSxyS7//ygG4tRSms4/KqLda84uBmq+C5bnpp I3D9AnCl3ofhbTahdLJWhJL4Q4Q+YVni7kFeMN5wYQ6Rk9yxSwAPE1XABG27yCquXgKt oUheOaJv+8Fk6zYx1SyOxrhp05ZdTC5LDbGIfVLTPFbSufg5I1GItQXFsowLAWvGd6pB qGTJ5tAQOUBfKURB3LSG7HSCkpspwg8qT8Bit8TQzCq8ZH78c662iYm2vdL6yGnfyNm3 OhZA== X-Gm-Message-State: ALQs6tAoyvVjndNvQENm7fg1JlgOX4uvf1mi7UI0BND4YLy/J0l3wEf/ mnB7iCSjeT7XxAO21o2sQbFMmcIsAKmgFBM6E+c= X-Google-Smtp-Source: AB8JxZp5T+/Et2dtDU41VT5tF5YHE4XH8AXEVbQf4Or57w8h7azY6cbxmJmVo53tBPs8bFducNZajrh11B2LmNST0j4= X-Received: by 2002:a2e:9f03:: with SMTP id u3-v6mr5866932ljk.53.1525012850386; Sun, 29 Apr 2018 07:40:50 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.114.79 with HTTP; Sun, 29 Apr 2018 07:40:49 -0700 (PDT) In-Reply-To: References: <5f836c79-b379-f066-689b-1645e393c5e9@digiware.nl> From: Alan Somers Date: Sun, 29 Apr 2018 08:40:49 -0600 X-Google-Sender-Auth: yBDCKqGUP-1u390c2CtLNYMiSE4 Message-ID: Subject: Re: Getting ZFS pools back. To: Willem Jan Withagen Cc: Richard Yao , FreeBSD Filesystems , FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2018 14:40:52 -0000 So your kernel couldn't find the pool. That might be due to a GEOM module that wasn't loaded but should've been (were you using gmirror or geli or something?). Or you might've accidentally destroyed the pool. It would still show up in "zdb -l", albeit in the destroyed state. Or you might've accidentally destroyed the partition. If the pool had resided on the disk's last partition, then "zdb -l /dev/ada0" still would've seen the label, since there's a copy of the label at the end of the device. But if you've reused the disk, then there's no way to know for sure. -Alan On Sun, Apr 29, 2018 at 8:29 AM, Willem Jan Withagen wrote: > On 28/04/2018 20:43, Richard Yao wrote: > >> What is the output of =E2=80=98zpool import=E2=80=98 with no arguments? >> > > If I boot thru aa mem-stick.... > # zpool import > # > > So, empty line > In the mean time I rebuild the system. > > Was able to retreive the data by a convoluted incantation of > 'zpool import -fmNF' or something like that. > Made a full backup, and started fresh. > > --WjW > > > > On Apr 28, 2018, at 11:42 AM, Willem Jan Withagen wrote= : >>> >>> >>> Hi, >>> >>> I had this server crash on me, and first it just complained about not >>> being able to boot because it could not find the guid. >>> >>> Now I cannot even import the pools any longer. >>> Althoug zdb -l /dev/ada0 still gives me data that indicates that there >>> should be a ZFS pool on that partition. >>> >>> Any suggestions on how to get the pools/data back online? >>> >>> Help would be highly appreciated, since restoring it from backups is >>> going to quite some work. >>> >>> Thanx, >>> --WjW >>> _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@f >>> reebsd.org" >>> >> >> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " >