From owner-freebsd-fs@freebsd.org Fri Jan 29 09:51:35 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B06BA71F8D for ; Fri, 29 Jan 2016 09:51:35 +0000 (UTC) (envelope-from norman@khine.net) Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F1351232 for ; Fri, 29 Jan 2016 09:51:34 +0000 (UTC) (envelope-from norman@khine.net) Received: by mail-vk0-x22a.google.com with SMTP id e6so38914527vkh.2 for ; Fri, 29 Jan 2016 01:51:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=khine-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Ur9xRwZfMmNy5aitXaIfnMCC39GGBDfOahVeaFvCBhQ=; b=Xjim3nMbzawfNo10OOefYTOCTrfJ3z5l+0roirPPe4dfoz8hfSlU6IqacokQ7xjSYh NcfkUuu9/g0ecEie2+jkYref77M6jAvRFoI8bqhsGGppe72Q3YxRiYo4R8iUJsoTX+Vq 8fT52FGJYWS0IHDgAjNat06r2kGKxY9SKhXHucxRbnAbkvpPz7NYbXJyZMqUJxwlWjzs iAH4fv9Ov6oSQFgn2D2TxrHRF8+DtRdmluYfB275iys9FzFIVFl1YU+MDtbn1dM+w+iY 4p/H36tciBCdrJqxtk70/LWMHNvFtKiD/2APId439r+m5Ha2HtBNXGYzet5N3/MZn6yt Cx0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Ur9xRwZfMmNy5aitXaIfnMCC39GGBDfOahVeaFvCBhQ=; b=dFmJbwNTlialdEAya8Z9l75RKpIqUgIa9VGY46iYy7Q3xCOhjiKwF1zGGoYE/iTSwZ CLFdrNPOXVqBt5U4ZxzNIHCcWEh3JD5yN9aigU0kMZqPqfs7XKiyEIPAVsfgqNmovvDe bdhiO5pezy4EluvDu/9ES+acZmsnzd5Hf2ml2VnExoeDy9mhfXykD7mFhRqTaXVh3Yt5 mWILnbrkgpV1y721Fckg9AB73RexzMI7hRpCqhgHz2BGHmpTj+k3RLOnBbpdNHcYkWdt rzFGV2U2+zSuasTV7ICJ5iQhqplS/oK19ayV4P5qKbe7UMYerpoksZFvKSSMbqfmfBFX oZZw== X-Gm-Message-State: AG10YOTe0Rfi9g1V2IJMAoLqWtrW9aYdwvWvONonIkj1hKZlxDtrd+2axV1N0bRmWyxXpZPzr2oFiJAnmyND1w== MIME-Version: 1.0 X-Received: by 10.31.179.146 with SMTP id c140mr4666290vkf.50.1454061093919; Fri, 29 Jan 2016 01:51:33 -0800 (PST) Received: by 10.31.227.196 with HTTP; Fri, 29 Jan 2016 01:51:33 -0800 (PST) In-Reply-To: References: Date: Fri, 29 Jan 2016 09:51:33 +0000 Message-ID: Subject: Re: Installing FreeBSD 10.2 Root on ZFS using VTOC8 (sparc) From: Norman Khine To: subash , freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2016 09:51:35 -0000 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 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 ) > . 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" ] )