Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Aug 2013 16:40:28 +0200
From:      =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= <lukasz@wasikowski.net>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-fs@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: ZFS: can't read MOS of pool
Message-ID:  <51FBC4DC.4090506@wasikowski.net>
In-Reply-To: <51FBC24B.5030609@gmail.com>
References:  <51ED5B69.8050200@wasikowski.net> <51FBC24B.5030609@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
W dniu 2013-08-02 16:29, Volodymyr Kostyrko pisze:

> 22.07.2013 19:18, Łukasz Wąsikowski wrote:
>> I've got a problem with booting zfs-on-root FreeBSD 9.2-PRERELEASE. I'm
>> getting:
>>
>> ZFS: i/o error - all block copies unavailable
>> ZFS: can't read MOS of pool klawisz
>> gptzfsboot: failed to mount default pool klawisz
>>
>> Machine is VM running under KVM on Proxmox 2.3-13. VM has 8 GB of RAM,
>> 400 GB of local storage with SCSI Controller type: Default (lsi).
>>
>> I'm not sure what I did to make this VM unbootable. I've installed
>> 9.2-PRERELEASE, did source based upgrade to r253470, mergemaster,
>> reinstalled bootcode and rebooted. To this point VM was bootable.
>>
>> Then I did installworld from /usr/src to ezjail's basejail (ezjail-admin
>> update -i), did mergemaster for jails, install some ports - none of this
>> should mess with booting. I rebooted VM and got unbootable system.
>>
>> When I boot from liveCD I can import this pool (scrub shows no errors),
>> mount it, chroot to it, and work with it. I just can't get it to boot.
>>
>> Some information about the system:
>> http://pastie.org/private/mtfhkx0wx0vve29xn0plw
>>
>> I've tried to downgrade to r252316 - no luck, system is still unbootable.
>>
>> Any hints how to go from here?
> 
> First, how did you update bootcode? `ls -la /boot` also wood help.
> 
> Second, what is your /etc/make.conf and /etc/src.conf?

I'm updating bootcode with:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0

/etc/src.conf doesn't exist (I'm using GENERIC kernel on this VM)
/etc/make.conf - http://pastebin.com/QapEWzfJ

-- 
best regards,
Lukasz Wasikowski



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51FBC4DC.4090506>