Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 16:39:04 +0600
From:      Subash Khati <subash.khati@tashicell.com>
To:        freebsd-sparc64@freebsd.org
Subject:   ZFS: i/o error - all block copies unavailable
Message-ID:  <56A89E48.2010500@tashicell.com>

next in thread | raw e-mail | index | archive | help
Hello Sir,

I am trying to install FreeBSD Sparc64 on my machine, I followed the 
tutorials to Install FreeBSD Root on ZFS(tutorial link ) 
<https://wiki.freebsd.org/RootOnZFS/VTOC8ZFSBoot/9.x-RELEASE>. Only the 
changes I made is that instead of using mirror I tried configuring raidz 
with four internal disks and added bootloader in all the disks (da0 da1 
da2 da3). Everything was fine while installing but booting after 
installation shows the error below:-

|ZFS: i/o error - all block copies unavailable ZFS: can't read MOS object 
directory ZFS: can't find root filesystem FreeBSD/sparc64 ZFS enabled 
bootstrap loader, Revision 1.0 (root@releng1.nyi.freebsd.org, Wed Nov 12 
03:13:59 UTC 2014) bootpath="" can't load 'kernel' |

I created zpool like this:-
zpool create -f -o altroot=/mnt -O canmount=off zroot raidz da0a da1a 
da2a da3a

here is my bootloader installation:-

  # zpool export zroot
  # gpart bootcode -p /boot/zfsboot da0
  # gpart bootcode -p /boot/zfsboot da1
  # gpart bootcode -p /boot/zfsboot da2
  # gpart bootcode -p /boot/zfsboot da3
  # sysctl kern.geom.debugflags=0x10
  kern.geom.debugflags: 0 -> 16
  # dd if=/boot/zfsloader of=/dev/da0a bs=512 oseek=1024 conv=notrunc,sync
  # dd if=/boot/zfsloader of=/dev/da1a bs=512 oseek=1024 conv=notrunc,sync
  # dd if=/boot/zfsloader of=/dev/da2a bs=512 oseek=1024 conv=notrunc,sync
  # dd if=/boot/zfsloader of=/dev/da3a bs=512 oseek=1024 conv=notrunc,sync
    
  # zpool import -o altroot=/mnt zroot

Any ideas?

Thank You.
-- 
TashiCell <http://www.tashicell.com>; 	Subash Khati
Tashi InfoComm Ltd
Webmaster | Core Network & ISP | Thimphu
tel: 77889977 ext-8831 | mobile: +975 77156677

website <http://www.tashicell.com>; | facebook 
<https://www.facebook.com/subash20>; | vCard 
<http://tashicell.com/files/subash.khati.vcf>; | map 
<https://www.google.bt/maps/place/Tashicell/@27.467741,89.640981,17z/data=%213m1%214b1%214m2%213m1%211s0x39e194126fea8e83:0xd9a34e2e3d537830?hl=en>; 
| email <mailto:subash.khati@tashicell.com> 	




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56A89E48.2010500>