From owner-freebsd-current@FreeBSD.ORG Tue Jul 20 10:48:15 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA65106568E for ; Tue, 20 Jul 2010 10:48:15 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [95.108.130.94]) by mx1.freebsd.org (Postfix) with ESMTP id 14BD18FC14 for ; Tue, 20 Jul 2010 10:48:14 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward12.mail.yandex.net (Yandex) with ESMTP id 5355022104E1; Tue, 20 Jul 2010 14:48:13 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1279622893; bh=/y7ag79rPAj8AW1fNRFD+kaUhHjyNJ+q5K3eclFKDlc=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=D114TI7/oIV7ljGn1lR9owrztmLWLiIJBMDywWaDq/LLqzVKUkJfll8CNLxWkrE6b NpBqrNb0nIAZgvvEwVyUNXbGve0objjtwfBu32TM6KhS7Ev+bDlhv/SYp3esKBXjFF E7+39HSxH9z0uxM3fHrxfbCUgqFEqszg44VhGLf0= Received: from [10.43.163.197] (static-76-197.kirovnet.ru [92.39.76.197]) by smtp11.mail.yandex.net (Yandex) with ESMTPSA id 12FEA44D8086; Tue, 20 Jul 2010 14:48:13 +0400 (MSD) Message-ID: <4C457ED5.1010907@yandex.ru> Date: Tue, 20 Jul 2010 14:47:49 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100611 Thunderbird/3.0.4 MIME-Version: 1.0 To: Michael Gusek References: <242312022.4636340.1279374040721.JavaMail.fmail@mwmweb017>, <4C44C19C.4080302@delphij.net> <1830885268.6104807.1279619519340.JavaMail.fmail@mwmweb017> In-Reply-To: <1830885268.6104807.1279619519340.JavaMail.fmail@mwmweb017> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig541C5CB28FD0F4031075D6C1" X-Yandex-TimeMark: 1279622893 X-Yandex-Spam: 1 X-Yandex-Front: smtp11.mail.yandex.net Cc: freebsd-current@freebsd.org, d@delphij.net Subject: Re: Problem with ZFS version 15 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 10:48:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig541C5CB28FD0F4031075D6C1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 20.07.2010 13:51, Michael Gusek wrote: >>>> and apply a new bootloader: gpart bootcode -b /boot/pmbr -p >>>> /boot/gptzfsboot -i 1 ad0|ad1. After this, i've lost my gpt >>>> scheme ! gpart show ad0 says "gpart: No such geom: ad0". How >>>> can i recover my gpt on ad0 and ad1 ? I'm running a zfs mirror >>>> on ad0 and ad1. It is very strange why this command broke your GPT. Actually incorrect PMBR can prevent probes for GEOM_PART_GPT. >> I don't have such a backup, only the whole disk for now. Everything >> else what can i do ? What if i initialize the gpt header: "gpart >> create -s GPT ad0" ? Do i lost my data ? GPT headers and tables will be initialized. After that you should add all partitions with exactly same offsets and sizes. In this case your data will not be touched. --=20 WBR, Andrey V. Elsukov --------------enig541C5CB28FD0F4031075D6C1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJMRX7ZAAoJEAHF6gQQyKF6gqYIALFIeCK9NSo8SNgA5K1PJKPv afxItfBpSYGHu6RJH6bzX9QzzaEK90WgwYtlseikKU9l6HCyoCHbT44CT8NjXprW 6g5tsr3upbnWfzu4BrUw42iR0KYD1qJJPZtLr7IfEmQiF6mthJoKbI0FuS/xKQdC 9xfKk3N4OH/lhm2f27B54+HDPlNVDKAMlGCEkURrV09B1x9pGR8bq847VGE4nTwP LUM0mncVbWTRIqeSgxCUXEcmXg5EvgWbo2DlU03wqKsBrkfgQ/svf/mnFagvekY3 c6G57rlMB8jdqfsoUKHZGAbD/MlPLhQB9KGfxgw3SsPVvvuwcN97qNxAkhFdSz0= =CR9S -----END PGP SIGNATURE----- --------------enig541C5CB28FD0F4031075D6C1--