Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2012 14:54:43 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        Doug Rabson <dfr@FreeBSD.org>, Marcel Moolenaar <marcel@FreeBSD.org>, Pawel Jakub Dawidek <pjd@FreeBSD.org>, Christian Laursen <xi@borderworlds.dk>, freebsd-hackers <freebsd-hackers@FreeBSD.org>, Andriy Gapon <avg@FreeBSD.org>, Stefan Esser <se@FreeBSD.org>, "Andrey V. Elsukov" <bu7cher@yandex.ru>, freebsd-current <freebsd-current@FreeBSD.org>
Subject:   Re: [CFC/CFT] large changes in the loader(8) code
Message-ID:  <146B8DC1-4B66-4E78-BBB3-3954DC305424@xcllnt.net>
In-Reply-To: <20120628214902.00004e34@unknown>
References:  <4FE9B01C.30306@yandex.ru> <201206270807.23347.jhb@freebsd.org> <4FEB0079.7050008@yandex.ru> <201206271028.54477.jhb@freebsd.org> <4FEB5A3C.5050900@borderworlds.dk> <1900D4C1-E5E5-446F-ABBF-976A2DFEB36B@xcllnt.net> <4FEC22A0.9000109@freebsd.org> <4FEC2D86.2040505@freebsd.org> <8D85513D-CDFC-4D62-AA5A-F82F46E28CE5@xcllnt.net> <20120628214902.00004e34@unknown>

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

On Jun 28, 2012, at 12:49 PM, Alexander Leidinger wrote:

> On Thu, 28 Jun 2012 08:33:17 -0700 Marcel Moolenaar <marcel@xcllnt.net>
> wrote:
> 
>> My advise is to leave disk mirroring to H/W or firmware solutions and
>> use FreeBSD mirroring for FreeBSD partitions only. If you want to
>> mirror the whole disk, don't partition the disk with non-FreeBSD
>> partitioning schemes and partition only with FreeBSD-specific schemes
>> or put a FreeBSD file system on the whole disk. In other words: make
>> the whole disk private to FreeBSD.
> 
> If I gmirror the entire disk, I already expressed my interest to make
> the whole disk private to FreeBSD, haven't I?

No. All you've done is type some commands. There's no inherent value
in it that relays that you know what you're doing. I have no problem
accepting that you do in fact know what you're doing, but that doesn't
mean that anyone who types the same sequence of commands is as skilled
as you are -- that would be a silly inference. What you need to do is
not have it be about you, but about some random user.

> Or are you suggesting to
> convince all BIOS vendors to include the ability to boot from some kind
> of FreeBSD private partitioning scheme (not MBR as it is not
> suitable, not GPT as you are not OK to use it on a gmirror)?

I would be having less problems if the mirroring didn't force the backup
GPT header in anything but the last sector. If the metadata was somewhere
else, then we wouldn't need to kluge various places to deal with the
ambiguity and visible interoperability problems of the various tools and
OSes. Thus, it's not that I object to the mirroring per se, just to the
mirroring as it is currently implemented with gmirror.

> What about multipathing? In case the disk is attached via two paths but
> multipath is not enabled, the OS sees the same disk (and the same
> identical unique disk identifier) multiple times. Is this a violation
> of the spec too?

It's the same disk, isn't it? The OS can actually use the property
of the ID to infer that it has already seen this disk and not create
multiple device nodes.

-- 
Marcel Moolenaar
marcel@xcllnt.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?146B8DC1-4B66-4E78-BBB3-3954DC305424>