ZFS: i/o error - all block copies unavailable

Subash Khati subash.khati at tashicell.com
Wed Jan 27 10:39:13 UTC 2016


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 at 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 at tashicell.com> 	



More information about the freebsd-sparc64 mailing list