From owner-freebsd-questions@freebsd.org Fri Jul 15 14:18:35 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 59245B99CB0 for ; Fri, 15 Jul 2016 14:18:35 +0000 (UTC) (envelope-from clan@wheel.dk) Received: from freesbee.wheel.dk (freesbee.wheel.dk [IPv6:2001:6c8:130::97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freesbee.wheel.dk", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CBD31D74 for ; Fri, 15 Jul 2016 14:18:35 +0000 (UTC) (envelope-from clan@wheel.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1023) id 0635237280E; Fri, 15 Jul 2016 16:18:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wheel.dk; s=20131204; t=1468592305; bh=ds+Gq9gbmUSis3R04MFWfbVIQWn9KOsKI5+wv7qzFpk=; h=Date:From:To:Subject; b=SzYIp1OqYQ/m8cJLm7HI/Eje55SNbBUUPaH+6tJvo1LMdKErk3NFzzrK3r8Z69dL0 i/6VWAVOkfXHCWQEe5Uw0kvhoZUhfu88o1FfblVEKXU2LUPXvZZu1iuMcrKoBls5FS YiIB+dM7XNx8RL4jPjq0uCUlfHpV660K/rLFZ52qLrvHPEje/DpcEWes/gxYK8S1YI CqbgxAYfvcfyzCC2dZXGyjTiIw18+e87WeazFn8CP3U/FT+rjWTis5Me5bC50XVgZx mnWPBClHRmIoZqGs4wMc0X7IxMwJI5o4ZvfDzEnpv5cEmDuQSacZO0dvh+Gtr6s07G QGxF7XPg1DB7g== Received: from localhost (localhost [127.0.0.1]) by freesbee.wheel.dk (Postfix) with ESMTP id 05E5837280D for ; Fri, 15 Jul 2016 16:18:25 +0200 (CEST) Date: Fri, 15 Jul 2016 16:18:25 +0200 (CEST) From: Claus Andersen To: freebsd-questions@freebsd.org Subject: Panic during boot when mounting ZFS root Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2016 14:18:35 -0000 Hi, I would like to have some advice on continued troubleshooting of this. Facts: - System is running 10.1 (or maybe later) - ZFS on root - pool name is tank - Panics when mounting during boot - Same in single user mode - I can PXE boot server to memtest - and RAM should be OK (Only 30 min testing) - I can PXE boot server into "rescue" system which is mfsbsd 10.3 - The server is remote but I can get IP KVM In the rescue system I can see the pool - and at first glance it looks good. root@rescue:~ # zpool import pool: tank id: 17627562107603613001 state: ONLINE status: Some supported features are not enabled on the pool. action: The pool can be imported using its name or numeric identifier, though some features will not be available without an explicit 'zpool upgrade'. config: tank ONLINE raidz2-0 ONLINE ada0p3 ONLINE ada1p3 ONLINE ada2p3 ONLINE ada3p3 ONLINE ada4p3 ONLINE ada5p3 ONLINE ada6p3 ONLINE I try to import it - but it fails: root@rescue:~ # zpool import -o altroot=/mnt tank cannot import 'tank': pool may be in use from other system use '-f' to import anyway Then I add the -f switch - and the server panics! root@rescue:~ # zpool import -f -o altroot=/mnt tank I think it writes a line or two on the console but it reboots too quickly for me to see what it is. So no error messages to search on :-/ My intention was to try to run a "zpool scrub tank" but I need to do the import first. This is at the edge of my ZFS troubeshooting knowledge. Does anyone have any advice on how to proceed? Kind Regards, Claus Andersen