From owner-freebsd-fs@FreeBSD.ORG Tue May 4 22:51:04 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2071B106566C for ; Tue, 4 May 2010 22:51:04 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A434D8FC17 for ; Tue, 4 May 2010 22:51:03 +0000 (UTC) Received: by fxm15 with SMTP id 15so4177495fxm.13 for ; Tue, 04 May 2010 15:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=TKCVhPPVQf+j+hSj4EG7W3pF62L1wp5BWU5SgwH3zrk=; b=rzMInNqW+2WD7t4pFCKLXgp0hhmc6Nmi7xdiipQ895qEFoz1/gY3F7qOaOrjIKf/ic Kx45MR4fy5gr0dYjcdsvmVfm8JS3cvjjHt7+KUL3un4R7p4mNPRKrI2VuLi7mu/VWdw8 MkC8Ewq85Ji2F1IEc8MNXwWT+pk1eGPgC6ZOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=jLY78hJQCw7sHLAXiNwKGcoDTdLGYYGTokeYXL4VUdmybGB+mowndh46FVHTa538NI fJ3B2JSLFR4n/ZV0nGUwI8USOd6r73VXcCPJ/sAyj1WwJzG+NyyN1PtBRUYasA/vAkRI Z66W24Bw4gh3cvMMbkx1rlzltJgszq0EzwqjA= Received: by 10.102.206.23 with SMTP id d23mr10520070mug.54.1273012066522; Tue, 04 May 2010 15:27:46 -0700 (PDT) Received: from limbo.lan ([193.33.173.33]) by mx.google.com with ESMTPS id t10sm2127145muh.59.2010.05.04.15.27.44 (version=SSLv3 cipher=RC4-MD5); Tue, 04 May 2010 15:27:44 -0700 (PDT) Message-ID: <4BE09F5D.2080100@gmail.com> Date: Wed, 05 May 2010 01:27:41 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.1.9) Gecko/20100428 Thunderbird/3.0.4 MIME-Version: 1.0 To: Andriy Gapon References: <201004291220.o3TCK3Bo029643@freefall.freebsd.org> In-Reply-To: <201004291220.o3TCK3Bo029643@freefall.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org Subject: Re: bin/144214: zfsboot fails on gang block after upgrade to zfs v14 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 22:51:04 -0000 On 29.04.2010 15:20, Andriy Gapon wrote: > Just to be on the sure side: have you guys actually updated bootblocks on your system? > I.e. the code that runs before loader and that resides beyond filesystems. Yes, I do. Actually I was hit by the same bug recently one more time. After rebuild machine refuses to boot because of some gang blocks. I've tried to use i386 for the restoration purpose and set up a virtualbox in which I more then ten times tried to rewrite /boot and reboot from pool. Possible results were: * instant crash with colorful junk on the screen, just after the wiggling dash appear - seems like corrupted zfsloader; * refusing to load kernel showing the error; * lotsa gibberish about forth words unknown - seems like loader or some config files corrupted. Having played for 1 day with the disk I find that amount of luck for me to boot should be heavy, so I switched virtualbox to amd64 and just after the first rewrite of /boot system was up and running. 1. I used the same FreeBSD version to rewrite the data: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201004/FreeBSD-8.0-STABLE-201004-amd64-livefs.iso ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201004/FreeBSD-8.0-STABLE-201004-i386-livefs.iso 2. I used the same boot code and haven't changed it. So it looks like ZFS is writing data to the disks differently on i386. Just "the other way". -- Sphinx of black quartz judge my vow.