Date: Fri, 29 Jan 2016 09:51:33 +0000 From: Norman Khine <norman@khine.net> To: subash <subash.khati@gmail.com>, freebsd-fs@freebsd.org Subject: Re: Installing FreeBSD 10.2 Root on ZFS using VTOC8 (sparc) Message-ID: <CAKgQ7UJDbnLpsbKtyNYeMsr9cYTUV6xFDOjVRxEKKD1Aska6_Q@mail.gmail.com> In-Reply-To: <CAHz24p-AcBka6FbZCvoVgw8zOt3b94eyV4-xsfJkrg20YbTsSw@mail.gmail.com> References: <CAHz24p-AcBka6FbZCvoVgw8zOt3b94eyV4-xsfJkrg20YbTsSw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
hello subash, not sure but if you google your error, you get https://forums.freebsd.org/threads/zfs-i-o-error-all-block-copies-unavailable.30209/ and http://serverfault.com/questions/616991/freebsd-10-wont-boot-to-zfs-root-after-power-failure also, direct your questions to , which i have done for you freebsd-fs@freebsd.org as you may get better response On 28 January 2016 at 08:34, subash <subash.khati@gmail.com> wrote: > 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? > -- %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKgQ7UJDbnLpsbKtyNYeMsr9cYTUV6xFDOjVRxEKKD1Aska6_Q>