gpart strangeness
Mike Tancsa
mike at sentex.net
Mon Aug 20 19:15:07 UTC 2018
I was trying to create a single partition on a 16G mSata drive and
whenever I add a partition, all of a sudden the secondary GPT partion is
borked. Any idea whats going on here ?
0# gpart destroy -F ada0
ada0 destroyed
0# gpart create -s GPT ada0
ada0 created
0# gpart add -t freebsd-ufs ada0
GEOM: diskid/DISK-DEF30753136101678326: the secondary GPT table is
corrupt or invalid.
GEOM: diskid/DISK-DEF30753136101678326: using the primary only --
recovery suggested.
ada0p1 added
0# gpart list ada0
Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 31277191
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada0p1
Mediasize: 16013901824 (15G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 20480
Mode: r0w0e0
efimedia: HD(1,GPT,2256d7c5-a4ad-11e8-aa7c-000db94b5a84,0x28,0x1dd4060)
rawuuid: 2256d7c5-a4ad-11e8-aa7c-000db94b5a84
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: (null)
length: 16013901824
offset: 20480
type: freebsd-ufs
index: 1
end: 31277191
start: 40
Consumers:
1. Name: ada0
Mediasize: 16013942784 (15G)
Sectorsize: 512
Mode: r0w0e0
0#
--
-------------------
Mike Tancsa, tel +1 519 651 3400 x203
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada
More information about the freebsd-stable
mailing list