Date: Thu, 21 Sep 2017 16:31:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222425] GPT broken after "gpart backup ada0 | gpart restore -F ada1" Message-ID: <bug-222425-8-O2AzB02RXL@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-222425-8@https.bugs.freebsd.org/bugzilla/> References: <bug-222425-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222425 --- Comment #7 from chris@cretaforce.gr --- Yes after booting from ada0, "gpart show" shows all partitions without CORR= UPT word: =3D> 40 7814037088 ada0 GPT (3.6T) 40 1024 1 freebsd-boot (512K) 1064 8388608 2 freebsd-ufs (4.0G) 8389672 33554432 3 freebsd-swap (16G) 41944104 33554432 4 freebsd-ufs (16G) 75498536 134217728 5 freebsd-ufs (64G) 209716264 67108864 6 freebsd-ufs (32G) 276825128 1610612736 7 freebsd-ufs (768G) 1887437864 5926599256 8 freebsd-ufs (2.8T) 7814037120 8 - free - (4.0K) =3D> 40 7814037088 ada1 GPT (3.6T) 40 1024 1 freebsd-boot (512K) 1064 8388608 2 freebsd-ufs (4.0G) 8389672 33554432 3 freebsd-swap (16G) 41944104 33554432 4 freebsd-ufs (16G) 75498536 134217728 5 freebsd-ufs (64G) 209716264 67108864 6 freebsd-ufs (32G) 276825128 1610612736 7 freebsd-ufs (768G) 1887437864 5926599256 8 freebsd-ufs (2.8T) 7814037120 8 - free - (4.0K) I wrote bootcode from 10.3: root@server2:/home/10.3 # pwd /home/10.3 root@server2:/home/10.3 # restore -i -f /home2/dump/root.dump restore > add * restore > extract You have not read any tapes yet. If you are extracting just a few files, start with the last volume and work towards the first; restore can quickly skip tapes that have no further files to extract. Otherwise, begin with volume 1. Specify next volume #: 1 set owner/mode for '.'? [yn] y restore > root@server2:/home/10.3 # root@server2:/home/10.3 # gpart bootcode -b /home/10.3/boot/pmbr -p /home/10.3/boot/gptboot -i 1 ada1 partcode written to ada1p1 bootcode written to ada1 root@server2:/home/10.3 # The same problem. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222425-8-O2AzB02RXL>