ZFS: can't read MOS of pool

Łukasz Wąsikowski lukasz at wasikowski.net
Fri Aug 2 14:40:36 UTC 2013


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


More information about the freebsd-fs mailing list