Date: Tue, 11 Jan 2011 13:46:26 +0200 From: Zeus V Panchenko <zeus@ibs.dn.ua> To: "Luchesar V. ILIEV" <luchesar.iliev@gmail.com> Cc: freebsd-geom@freebsd.org Subject: Re: "secondary GPT table is corrupt or invalid" issue again Message-ID: <20110111114626.GB34930@relay.ibs.dn.ua> In-Reply-To: <4D29B7BF.3070706@gmail.com> References: <20110104170611.GA67159@relay.ibs.dn.ua> <4D28509D.607@yandex.ru> <20110108223747.GA66627@relay.ibs.dn.ua> <4D28FB15.9090907@gmail.com> <20110109112027.GD66627@relay.ibs.dn.ua> <4D29B7BF.3070706@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank much everybody for help!
now i'm happy with my healthy GPT gmirror! :)
here the story (to be honest, Luchesar, it is the scheme offered by
you, and i say thank to you for it. i wonder why it is not put in
man pages, handbook or some tutorial for gpart/gmirror):
1. gmirror stop gm0
and checked if i can mount the FS on /dev/ada1p1 w/o problems
2. gmirror clear -v ada1p1 ada2p1
3. gpart delete -i 1 ada2
4. gpart destroy ada2
i wasn't able to destroy a GPT scheme untill first deleted
all existing partitions (gpart in 8.1-RELEASE has no option -F)
5. gpart create -s gpt ada2
6. gpart add -b 2048 -s 1953521664 -t freebsd-ufs -i 1 \
-l labeldisk2 ada2
7. gmirror label -v -h -b load gm0 gpt/labeldisk2
8. rsync -avH /src/ /dst/
but i have to admit thet rsync was much slower than tar ... it was
about 8-9 hours for 750G of data to copy
9. gpart delete -i 1 ada1
10. gpart destroy ada1
i wasn't able to destroy a GPT scheme untill first deleted
all existing partitions (gpart in 8.1-RELEASE has no option -F)
11. gpart create -s gpt ada1
12. gpart add -b 2048 -s 1953521664 -t freebsd-ufs -i 1 \
-l labeldisk1 ada1
13. gmirror insert -v -h -p 1 gm0 gpt/labeldisk1
14. gmirror configure -p 2 gm0 gpt/labeldisk2
for me it was possible only after reboot (do not know why)
--
Zeus V. Panchenko
IT Dpt., IBS ltd GMT+2 (EET)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110111114626.GB34930>
