gpart cannot find ada0

Ivan Voras ivoras at freebsd.org
Thu Sep 9 12:01:44 UTC 2010


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.




More information about the freebsd-geom mailing list