The following reply was made to PR bin/180861; it has been noted by GNATS.
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
To: Garrett Cooper <yaneurabeya@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/180861: gpart backup/restore doesn't restore labels
Date: Fri, 26 Jul 2013 14:03:09 +0400
On 26.07.2013 06:21, Garrett Cooper wrote:
>> Description:
> I'm rebuilding a GPT table from scratch which was previously mirrored, attempting using...
>
> gpart backup ada0 > /tmp/bk
> gpart restore ada1 < /tmp/bk
>
> And noticed that it didn't restore the labels for the device when I ran `gpart list ada1`.
You forgot to specify -l flag when restoring. But anyway it can't
restore scheme specific labels, like gptids.
--
WBR, Andrey V. Elsukov
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"