HDD partitioning question...

Dharma Wolford bsd.talk at gmail.com
Mon Apr 14 23:08:24 UTC 2008


On Mon, Apr 14, 2008 at 3:38 PM, Mario Lobo <mlobo at digiart.art.br> wrote:

>
> If you issue the command:
>
> fdisk -I /dev/da1
>
>     -I      Initialize sector 0 slice table for one FreeBSD slice covering
>             the entire disk.
>
> and then:  ls /dev/da1*
>
> you'll get:
>
> /dev/da1
> /dev/da1s1
>
> which I believe is what you want.
>
> then you can:   newfs -O 2  (-U) /dev/da1s1
>
> then you can:     mount /dev/da1s1  /whatever
>
> --
> Mario Lobo



Thanks Mario,  and Jerry and Derek!

Jerry, Introducing the idea of 'dangerously dedicated' disks helped a lot...
it lead me to this page:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formatting-media/index.html

...which gave some additional info on 'dedicated mode' and 'compatability
mode' and walked me through the steps to create either.  I managed to do
that and then tried to mount the /dev/da1s1 device but it complained about
'incorrect super block'  until I executed "newfs -O 2 /dev/da1s1"  after
which I was able to mount it!

############################
[root at mybox /usr]# mount
/dev/da0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/da0s1d on /tmp (ufs, local, soft-updates)
/dev/da0s1f on /usr (ufs, local, soft-updates)
/dev/da0s1e on /var (ufs, local, soft-updates)
/dev/da1s1 on /usr/home (ufs, local, soft-updates)
[root at mybox /usr]#
############################

I did all that just before I saw Mario's response (thanks again!) so...
anyway, looks like I've got it going in a better way now and it agrees with
what Mario suggested I should be expecting so I'm happy.

Thanks to all!

dharma


More information about the freebsd-questions mailing list