Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2016 16:18:25 +0200 (CEST)
From:      Claus Andersen <clan@wheel.dk>
To:        freebsd-questions@freebsd.org
Subject:   Panic during boot when mounting ZFS root
Message-ID:  <alpine.BSF.2.20.1607151612200.47824@freesbee.wheel.dk>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1607151612200.47824>