Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2012 21:49:02 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Doug Rabson <dfr@FreeBSD.org>, Moolenaar <marcel@FreeBSD.org>, Pawel Jakub Dawidek <pjd@FreeBSD.org>, Christian Laursen <xi@borderworlds.dk>, freebsd-hackers <freebsd-hackers@FreeBSD.org>, Marcel, Stefan Esser <se@FreeBSD.org>, Andriy Gapon <avg@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:  <20120628214902.00004e34@unknown>
In-Reply-To: <8D85513D-CDFC-4D62-AA5A-F82F46E28CE5@xcllnt.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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? 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)?

> Whether or not people agree with this is besides the point. All I'm
> saying is that unique disk identifiers such as the
> "UniqueMBRSignature" (a 4 byte ID written at offset 440 in the MBR)
> or the "DiskGUID" (an UUID written to offset 56 in the GPT header)
> cannot, in general, be mirrored across disks if OSes can see the
> mirrored disks as independent entities. One violates the spec on
> grounds of making the *unique* disk identifier non-unique by
> presenting OSes with multiple disks that have identical IDs.

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?

Bye,
Alexander.

-- 
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120628214902.00004e34>