From owner-freebsd-geom@FreeBSD.ORG Thu Sep 9 12:01:44 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3578C10656C1 for ; Thu, 9 Sep 2010 12:01:44 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id DC9A48FC12 for ; Thu, 9 Sep 2010 12:01:43 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Otfp0-0003hw-7n for freebsd-geom@freebsd.org; Thu, 09 Sep 2010 14:01:42 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Sep 2010 14:01:42 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Sep 2010 14:01:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Thu, 09 Sep 2010 14:01:33 +0200 Lines: 28 Message-ID: References: <20100909085007.00001b09@unknown> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100518 Thunderbird/3.0.4 In-Reply-To: X-Enigmail-Version: 1.0.1 Subject: Re: gpart cannot find ada0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 12:01:44 -0000 On 09/09/10 11:23, dave jones wrote: > Hi Bruce, > > Thanks for the reply. I tried to run gpart create -s mbr ada0, I got: > gpart: geom 'ada0': Operation not permitted hmmm.... > Then I umount some partitions which are mounted on ada0, gpart shows partitions: HMMMMMM..... You did just try to erase your existing partitions on ada0 with "gpart create", did you? :) > # gpart show ada0 > => 63 126189504 ada0 MBR (60G) > 63 81919089 1 freebsd [active] (39G) > 81919152 44255358 2 !12 (21G) > 126174510 15057 - free - (7.4M) > > > I don't know why? Did I miss something? Would you tell me, thanks. I think you should first send a list of changes to the kernel and loaded kernel modules, as it looks like you changed something. Then, send the output of "mount" command with the partitions mounted.