Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2012 14:44:35 -0400
From:      Rick Miller <vmiller@hostileadmin.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        Bas Smeelen <b.smeelen@ose.nl>, freebsd-questions@freebsd.org
Subject:   Re: Does FreeBSD start slices at head boundaries?
Message-ID:  <CAHzLAVH8hZ%2B=EXgUgihrAJ1EwtXvVZ1fgQcV6moDDitPYz2bRg@mail.gmail.com>
In-Reply-To: <20120706202558.2a6d7e42.freebsd@edvax.de>
References:  <CAHzLAVE0CahZhkKzU5=bLy5AvKsq_qgmqwAiO9BhWD3k1_uFvQ@mail.gmail.com> <alpine.BSF.2.00.1207061842370.5024@wojtek.tensor.gdynia.pl> <4FF71637.9030206@d3photography.com> <20471.8240.321332.987229@jerusalem.litteratus.org> <4FF724AF.9090602@ose.nl> <20120706202558.2a6d7e42.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
[snip]

>> I think Ryan means partition and not slice?
>> I would not recommend no slices at all, It's deprecated to use
>> "dangerously dedicated disks"
>
> First of all, it's "dedicated disks", there's nothing dangerous
> related. :-)
>
> If you are using the MBR approach ("old way"), you can do
> either creating a "DOS primary partition", a slice, which
> then will contain your partitions: a swap partition and
> one or more UFS partitions. So you have ad0s1a, ad0s1b
> and so on.
>
> When you omit the slice and create the partitions on the "bare
> disk", you have a dedicated layout. FreeBSD will run with
> it without any problem. It _may_ be possible that some
> systems like "Windows" have trouble with this approach,
> but if you're going to use FreeBSD only on that disk, there
> is no danger, no problem. You have ad0a, ad0b and so on.
>
> If you are using the GPT approach ("new way"), you create
> partitions using a different tool set, setting them to be
> a file system or a swap partition. You end up in ad0p1,
> ad0p2 and so on. Note that those aren't "DOS primary
> partitions" anymore, outdated systems may not properly
> recognize them.
>
> If you label your partitions (you can do that with both
> approaches), you don't need to deal with device names at
> all.

Thanks for this explanation.

Is there any performance advantage to using a "dedicated disk" layout
over the old way of creating a slice and having your partitions within
it?

[snip]

> To OP:
>
> If you omit the slice and just create two partitions (one for
> FS and one for swap), FreeBSD will use this fine. Just make
> sure to set the boot parameters properly. Or simply use the
> GPT-related tools, so you don't have to deal with the question
> at all.

Thanks again for the concise explanation.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHzLAVH8hZ%2B=EXgUgihrAJ1EwtXvVZ1fgQcV6moDDitPYz2bRg>