Re: Problem with ZFS version 15

2010-07-22 Thread Michael Gusek
- Von: Andrey V. Elsukov bu7c...@yandex.ru Gesendet: 20.07.2010 12:47:49 An: Michael Gusek michael.gu...@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

Re: Problem with ZFS version 15

2010-07-22 Thread Alexander Best
On Mon, Jul 19, 2010 at 08:31:11PM -0500, Sam Fourman Jr. wrote: On Mon, Jul 19, 2010 at 7:37 PM, Alexander Best arun...@freebsd.org wrote: how about adding a periodic script to /etc/periodic/daily to backup the information? the idea was raised a long time ago already, but was abandoned

Re: Problem with ZFS version 15

2010-07-20 Thread Michael Gusek
-Ursprüngliche Nachricht- Von: Xin LI delp...@delphij.net Gesendet: 19.07.2010 23:20:28 An: Michael Gusek michael.gu...@web.de Betreff: Re: Problem with ZFS version 15 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 2010/07/17 06:40, Michael Gusek wrote: Hi, i updated my 8.1

Re: Problem with ZFS version 15

2010-07-20 Thread Andrey V. Elsukov
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

Re: Problem with ZFS version 15

2010-07-20 Thread Michael Gusek
-Urspr?ngliche Nachricht- Von: Andrey V. Elsukov bu7c...@yandex.ru Gesendet: 20.07.2010 12:47:49 An: Michael Gusek michael.gu...@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

Re: Problem with ZFS version 15

2010-07-20 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Michael, On 2010/07/20 02:51, Michael Gusek wrote: 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 ? No it won't

Re: Problem with ZFS version 15

2010-07-19 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 2010/07/17 06:40, Michael Gusek wrote: Hi, i updated my 8.1-PRERELEASE to ZFS version 15. The patch http://people.freebsd.org/~mm/patches/zfs/v15/head-v15-v3.patch applies fine and after reboot i upgrade my pool successfully to

Re: Problem with ZFS version 15

2010-07-19 Thread Sam Fourman Jr.
If you have previous saved gpart information (e.g. start/end) then you can safely destroy and re-create the GPT partitions without destroying the data. Note that you may need to backup and dd the first and last sector of your hard drive before proceeding. Could someone post a example of

Re: Problem with ZFS version 15

2010-07-19 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/07/19 14:37, Sam Fourman Jr. wrote: If you have previous saved gpart information (e.g. start/end) then you can safely destroy and re-create the GPT partitions without destroying the data. Note that you may need to backup and dd the

Re: Problem with ZFS version 15

2010-07-19 Thread Alexander Best
how about adding a periodic script to /etc/periodic/daily to backup the information? the idea was raised a long time ago already, but was abandoned [1]. cheers. alex [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/86388 On Mon, Jul 19, 2010 at 03:24:58PM -0700, Xin LI wrote: -BEGIN

Re: Problem with ZFS version 15

2010-07-19 Thread Sam Fourman Jr.
On Mon, Jul 19, 2010 at 7:37 PM, Alexander Best arun...@freebsd.org wrote: how about adding a periodic script to /etc/periodic/daily to backup the information? the idea was raised a long time ago already, but was abandoned [1]. cheers. alex I think that is a good idea, if you have a

Re: Problem with ZFS version 15

2010-07-19 Thread Alexander Best
On Mon, Jul 19, 2010 at 08:31:11PM -0500, Sam Fourman Jr. wrote: On Mon, Jul 19, 2010 at 7:37 PM, Alexander Best arun...@freebsd.org wrote: how about adding a periodic script to /etc/periodic/daily to backup the information? the idea was raised a long time ago already, but was abandoned

Problem with ZFS version 15

2010-07-17 Thread Michael Gusek
Hi, i updated my 8.1-PRERELEASE to ZFS version 15. The patch http://people.freebsd.org/~mm/patches/zfs/v15/head-v15-v3.patch applies fine and after reboot i upgrade my pool successfully to version 15. Now, after a new reboot the bootloader can't boot from version 15, it supports only 13. Well,