Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2016 16:48:57 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        "Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" <uthra.r.rao@nasa.gov>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: unable to boot to FreeBSD 10.1-RELEASE-p31 
Message-ID:  <alpine.BSF.2.20.1603181642490.18361@mail.fig.ol.no>
In-Reply-To: <B8DFB8650EABA347A6A9036FE8936CA81CD9C2C9@NDMSMBX403.ndc.nasa.gov>
References:  <B8DFB8650EABA347A6A9036FE8936CA81CD9C2C9@NDMSMBX403.ndc.nasa.gov>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 18 Mar 2016 15:38-0000, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS...:

> I updated my FreeBSD 10 system to 10.1-RELEASE-p31 and rebooted. The system is not booting. I see the following message on the screen:
> 
> ZFS: i/o error - all block copies unavailable
> ZFS: can't read MOS of pool tank
> gptzfsboot: failed to mount default pool
> 
> Please let me know how I can fix this issue.

Here's a quick laundry list:

Ensure all disks are available and visible to the firmware. Someone 
else on one of the lists made a change to the disk controller, thus 
limiting the number of visible disks. Once that was rectified 
everything was back to normal.

A description of your zpools layout would be nice. Any changes done to 
your zpools during operation prior to reboot, like adding disks only 
visible to the kernel, and not the firmware nor the boot loaders.

Try booting one of the 10.3 snapshots to see if the pools are healthy.

I hope others might chime in with far better suggestions than mine.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Fri Mar 18 16:25:18 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
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 8A46FAD4907
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Fri, 18 Mar 2016 16:25:18 +0000 (UTC)
 (envelope-from pathiaki2@yahoo.com)
Received: from nm42-vm4.bullet.mail.bf1.yahoo.com
 (nm42-vm4.bullet.mail.bf1.yahoo.com [216.109.114.191])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 43A00D00
 for <freebsd-questions@freebsd.org>; Fri, 18 Mar 2016 16:25:17 +0000 (UTC)
 (envelope-from pathiaki2@yahoo.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1458318119; bh=mxpG4kl5wAn3iVrJHElGbr7VNdTSIPTtrUtmqk0Zc8A=;
 h=Subject:To:References:From:Date:In-Reply-To:From:Subject;
 b=kSYIB9Us6S4z7hi1BDabOxnhLCjPf+tNTNnGnQ4ChdO10rWKwekBVtUMRQORApYpDDmEAdN6U7ewKwbDnU6dlocgXXkO+Vywv+hNl0gx1twJF2x3OxtQb1o8vP/ui8BAOpAgmYhKWKC7er+A9nO80MX/nJ+PnlJ9Mk4p/4cx2o4vvSEZtpCpbWVc4i568TqLhLCFZ1A/srrON679pjshUSSGr7cjWSGSe2w2YM9A37TtyckhZOPPBzbxOGZptGIhx1RmGs21Ud5WqgOUEtL3ILiVzQNw1jLnpJyCRQozL3iZq6scaQ8SI+6kj4ls+v0fL3WKycT39IXjipiqQ8s/NA==
Received: from [98.139.170.179] by nm42.bullet.mail.bf1.yahoo.com with NNFMP;
 18 Mar 2016 16:21:59 -0000
Received: from [98.139.211.192] by tm22.bullet.mail.bf1.yahoo.com with NNFMP;
 18 Mar 2016 16:21:59 -0000
Received: from [127.0.0.1] by smtp201.mail.bf1.yahoo.com with NNFMP;
 18 Mar 2016 16:21:59 -0000
X-Yahoo-Newman-Id: 702368.93731.bm@smtp201.mail.bf1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: UwFfpy0VM1nUXZVjrIcoUn9zDLBaZuVhSCmVAUfXeFBN0k1
 z0heXoCoz2ewCJi6_x7aCKMemOmP5wBjHWHuL7pw17r22EfcZZBUwcXD8Bk1
 I95LkOcwam5o6EfmhVy3VkpqVPc4m.UN1ZRoE1MHjRPBIODbD3O1QV_OnTkX
 pW5MIYMtOpwHaAugfMyBH5Lxb3uftUaIxUAeKZFry0pFf.NFJUbLfPReJEM.
 jcQUQ2pdEVr6lmr9AziVcp0JO0Ij9NAinWkIjUFyAonRz.go0OK0_GeeukYq
 s2pJ7z4rTy314weD9GZhw8xvANdMT0pkTdIRNsjf7HaxOC8gUWpjjsrkyLFV
 HxdmMUOxe4TTgCSp6ms_L_q6C9_FUZy5B90q1rpsrcvMTE9phVx9E2cD84av
 I5UcnLf5AhfmEQpmgbSsg0wdjw8Q8Ze7gGnPitdIac8qPSa00sDXVokW8yPk
 onK26rXsoBHTtvC8k3nVic5hXoawcKZe7zIZ2eBctVK6BU4T5qWY2W7whNBP
 uAcNREKDirxF1zuk6bmdbBlAyqXcnDdE-
X-Yahoo-SMTP: h3Xqg6.swBC0yI913RMMwp94grO_cg--
Subject: Re: unable to boot to FreeBSD 10.1-RELEASE-p31
To: freebsd-questions@freebsd.org
References: <B8DFB8650EABA347A6A9036FE8936CA81CD9C2C9@NDMSMBX403.ndc.nasa.gov>
 <alpine.BSF.2.20.1603181642490.18361@mail.fig.ol.no>
From: pathiaki2 <pathiaki2@yahoo.com>
Message-ID: <56EC2B25.3020601@yahoo.com>
Date: Fri, 18 Mar 2016 12:21:57 -0400
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101
 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <alpine.BSF.2.20.1603181642490.18361@mail.fig.ol.no>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Mar 2016 16:25:18 -0000

On 03/18/2016 11:48, Trond Endrestøl wrote:
> On Fri, 18 Mar 2016 15:38-0000, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS...:
>
>> I updated my FreeBSD 10 system to 10.1-RELEASE-p31 and rebooted. The system is not booting. I see the following message on the screen:
>>
>> ZFS: i/o error - all block copies unavailable
>> ZFS: can't read MOS of pool tank
>> gptzfsboot: failed to mount default pool
>>
>> Please let me know how I can fix this issue.
> Here's a quick laundry list:
>
> Ensure all disks are available and visible to the firmware. Someone
> else on one of the lists made a change to the disk controller, thus
> limiting the number of visible disks. Once that was rectified
> everything was back to normal.
>
> A description of your zpools layout would be nice. Any changes done to
> your zpools during operation prior to reboot, like adding disks only
> visible to the kernel, and not the firmware nor the boot loaders.
>
> Try booting one of the 10.3 snapshots to see if the pools are healthy.
>
> I hope others might chime in with far better suggestions than mine.
>
After you follow through on all the above, if it doesn't resolve it.

Do a man gptzfsboot and follow the examples.  You will probably want to 
stamp a new bootstrap on the boot drive partition.  (This is only if you 
used GPT and the BOOT disk is ZFS - seems to be)

Since you probably have the media on a USB or DVD, boot from it and get 
into a shell and re-stamp the bootstrap on the correct disk.

gpart show <RET>

will show you the partition table.  Chances are, partition 1 is the one 
you want to stamp and should say freebsd-boot:

  gpart show

=>        34  5860533101  ada0  GPT  (2.7T)
           34           6       - free -  (3.0K)
           40        1024    1  freebsd-boot  (512K)    <------SEE THIS?
         1064     4194304    2  freebsd-swap  (2.0G)
      4195368        3032       - free -  (1.5M)
      4198400  5856333824    3  freebsd-zfs  (2.7T)
   5860532224         911       - free -  (456K)






Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1603181642490.18361>