HDD partitioning question...
Jerry McAllister
jerrymc at msu.edu
Mon Apr 14 23:35:21 UTC 2008
On Mon, Apr 14, 2008 at 04:08:11PM -0700, Dharma Wolford wrote:
> 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!
I would have gone on then and used bsdlabel to create one partition
in the single slice before doing the newfs again.
That would have given you /dev/da1s1a .
////jerry
>
> ############################
> [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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list