Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2013 19:20:01 GMT
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/180861: gpart backup/restore doesn't restore labels
Message-ID:  <201307261920.r6QJK1AX008997@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/180861; it has been noted by GNATS.

From: Garrett Cooper <yaneurabeya@gmail.com>
To: "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/180861: gpart backup/restore doesn't restore labels
Date: Fri, 26 Jul 2013 12:18:53 -0700

 On Fri, Jul 26, 2013 at 3:03 AM, Andrey V. Elsukov <bu7cher@yandex.ru> wrote:
 > 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.
 
 Ack, ok. From a usability perspective though I would hope that -l
 would default to on, not off. It caught me by surprise more than
 anything else when the labels weren't present.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307261920.r6QJK1AX008997>