Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2018 15:15:02 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        FreeBSD-STABLE Mailing List <freebsd-stable@FreeBSD.org>
Subject:   gpart strangeness
Message-ID:  <4e5b6d81-7fc5-c538-2bd2-8cd5dd040a1d@sentex.net>

next in thread | raw e-mail | index | archive | help
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@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e5b6d81-7fc5-c538-2bd2-8cd5dd040a1d>