Date: Tue, 20 Jul 2010 13:30:56 +0200 (CEST) From: Michael Gusek <michael.gusek@web.de> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: freebsd-current@freebsd.org Subject: Re: Problem with ZFS version 15 Message-ID: <212927891.6184084.1279625456256.JavaMail.fmail@mwmweb017> In-Reply-To: <4C457ED5.1010907@yandex.ru> References: <242312022.4636340.1279374040721.JavaMail.fmail@mwmweb017>, <4C44C19C.4080302@delphij.net> <1830885268.6104807.1279619519340.JavaMail.fmail@mwmweb017>, <4C457ED5.1010907@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig541C5CB28FD0F4031075D6C1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-UI-ATTACHMENT-ID-POSTFIX: 3c3ba4b7-59af-413c-a0a6-1075f8491b4d -----Urspr?ngliche Nachricht----- Von: "Andrey V. Elsukov" <bu7cher@yandex.ru> Gesendet: 20.07.2010 12:47:49 An: Michael Gusek <michael.gusek@web.de> Betreff: Re: Problem with ZFS version 15 >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. Yes, this is very strange. > >>> 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. > Ok, i will try it. I did a backup of the first 16GB of my disk, because i d= on't know the exact size of my swap partition, but this is my part. Thank you, Michael >--=20 >WBR, Andrey V. Elsukov > ___________________________________________________________ GRATIS f=C3=BCr alle WEB.DE Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de --------------enig541C5CB28FD0F4031075D6C1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" X-UI-ATTACHMENT-ID-POSTFIX: bbb8916b-b49e-4272-993c-037f577dfa30 Content-Transfer-Encoding: 7bit -----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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?212927891.6184084.1279625456256.JavaMail.fmail>