Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2011 22:25:13 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: problem formating disk with gpart
Message-ID:  <4ED69F39.90203@my.gd>
In-Reply-To: <20182.39340.354254.608836@jerusalem.litteratus.org>
References:  <20182.39340.354254.608836@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 11/30/11 10:01 PM, Robert Huff wrote:
> 
> 	One of my systems has a hot-swap eSATA device, which reports as
> "ad1".  I'm trying to use this to prepare a new disk using gpart and
> something (possibly my understanding) is broken.
> 	After removing another disk and inserting the new one, I do:
> 
>>> gpart show ad1
> =>       34  976773101  ad1  GPT  (465G)
>          34  976773101       - free -  (465G)
> 
> 	... which is the value for the disk just removed.
> 	If I do (to start clean):
> 
>>> gpart destroy ad1
> gpart destroy ad1
> gpart: Input/output error
> 
> 	Huh?
> 


Huh indeed.


Please toggle GEOM debug and try again:

sysctl kern.geom.debugflags=17




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED69F39.90203>