bin/180861: gpart backup/restore doesn't restore labels

Garrett Cooper yaneurabeya at gmail.com
Fri Jul 26 02:30:01 UTC 2013


>Number:         180861
>Category:       bin
>Synopsis:       gpart backup/restore doesn't restore labels
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 26 02:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
10-CURRENT at 02/16/2013
>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`.

All of the other data was in synch.

These devices were previously being synched via a single gmirror.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list