Date: Tue, 21 Aug 2018 10:34:15 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Mike Tancsa <mike@sentex.net>, FreeBSD-STABLE Mailing List <freebsd-stable@FreeBSD.org> Subject: Re: gpart strangeness Message-ID: <6be4ee74-c09d-b88f-e4ed-cadb1537e478@grosbein.net> In-Reply-To: <4e5b6d81-7fc5-c538-2bd2-8cd5dd040a1d@sentex.net> References: <4e5b6d81-7fc5-c538-2bd2-8cd5dd040a1d@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
21.08.2018 2:15, Mike Tancsa wrote: > 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# Did you look to "dmesg -a" output for additional hints? What is system version?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6be4ee74-c09d-b88f-e4ed-cadb1537e478>