gpart cannot find ada0

dave jones s.dave.jones at gmail.com
Thu Sep 9 09:23:27 UTC 2010


Hi Bruce,

Thanks for the reply. I tried to run gpart create -s mbr ada0, I got:
gpart: geom 'ada0': Operation not permitted

Then I umount some partitions which are mounted on ada0, gpart shows partitions:
# 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.

Regards,
Dave.

On Thu, Sep 9, 2010 at 3:50 PM, Bruce Cran <bruce at cran.org.uk> wrote:
> On Thu, 9 Sep 2010 14:49:37 +0800
> dave jones <s.dave.jones at gmail.com> wrote:
>
>> However, when I run "gpart show ada0", I got:
>> gpart: No such geom: ada0.
>
> You'll need to create an MBR or GPT scheme on ada0 using gpart before
> it'll show up.
>
> --
> Bruce Cran
>


More information about the freebsd-geom mailing list