Re: gpart

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Tue, 19 May 2009 11:32:19 -0700
On May 19, 2009, at 10:33 AM, Randy Bush wrote:

>> If you have done a chroot then you need to make sure devfs is also
>> mounted within it
>>
>> mount -t devfs devfs /dist/dev
>
> <doh>  thanks.
>
> Fixit# gpart create -s gpt /dev/ad4
> gpart: geom 'ad4': File exists
>
> Fixit# gpart create -s gpt ad4
> gpart: geom 'ad4': File exists
>
> sorry to be such a pita

Try and read the feedback (i.e. error) you get and
interpret it. Close your email program for a second
and stop typing alrady. Use your brain!

Ok, so you get an error and the error tells you that
something exists already. It says "geom 'ad4'" and
not "device 'ad4'", so let's not take "File exists"
literally and wonder if it's /dev/ad4. A simple ls(1)
should eliminate any doubts there.

So, maybe there's already some partitioning on the
disk?  Hmmm, how to find that out. Tough one...

Hang on, let's do:
	gpart show ad4

What does that say?

-- 
Marcel Moolenaar
xcllnt_at_mac.com
Received on Tue May 19 2009 - 17:00:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC