Date: Tue, 28 Oct 2008 17:53:20 +0100 From: "Stefan Moro" <stefan.moro@gmail.com> To: freebsd-questions@freebsd.org Subject: A gmirror question. Message-ID: <2961fef0810280953g48b5ea28y8aebf58bd8e8afb7@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi! I've got a question regarding the way that gmirror identifies what "components" (if that is the right term) are included in a mirror. I recently created a mirror over two disks, ad2 and ad4. After some bios changes (activating PATA) these devices were changed to ad6 and ad10 respectively. The "magic" thing (which probably isn't so magic =) ) here is that after reboot, gmirror still managed to identify the mirror, now using ad6 and ad10. If I have understood things correctly, gmirror stores all relevant information about the mirror in the last sector on the provider. So I guess one possible solution is that gmirror ,during startup, scans all disks/slices for this magic sector and then "starts" the mirror. But if this is the case, how does gmirror know that it should use (in my example above) ad10 and not ad4 as the additional disk in the mirror. Or does gmirror use something else than the /dev entries to address disks?? I'm just curious how gmirror does this. BR Stefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2961fef0810280953g48b5ea28y8aebf58bd8e8afb7>