Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 07:18:20 -0600 (MDT)
From:      Warren Block <>
To:        Johan Hendriks <>
Cc:        Adam Vande More <>, "" <>
Subject:   RE: glabel, gmirror, and gpart
Message-ID:  <>
In-Reply-To: <6C3F8332272B7D4DA26909F15F1C90E1E5B722@SRV01.double-l.local>
References:  <> <> <>, <> <6C3F8332272B7D4DA26909F15F1C90E1E5B722@SRV01.double-l.local>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 27 Aug 2011, Johan Hendriks wrote:

>> On Fri, Aug 26, 2011 at 11:04 PM, Warren Block <> wrote:
>> So it's cosmetic, but not really the kind of message that instills
>> confidence.  gptboot needs to be able to tell if it's reading from a
>> gmirror.  Or gmirror should provide one block less than it does, so it
>> doesn't overwrite the GPT backup.
> I use the whole disk to gmirror setup on all my servers.
> And one day i thought i could try the gpart stuff.
> I also saw the message at startup, and disgarded it.
> This was on 8.1
> But when i did an upgrade to 8.2 later on, the system could not boot.
> So i had to find another way.
> So i would not do it like you do now, it could turn against you in the long run.
> The thing i did was to mirror each partition.
> Like so
> that way it worked.
> Do not forget to make your second disk bootable also

That was the idea I had last night trying to go back to sleep.  Use 
gpart to partition the disks, and use gmirror to mirror the partitions. 
A little more setup, because you have to create multiple mirrors instead 
of one with partitions inside it.

It also addresses Adam's question.  For two dissimilar disks, create 
partitions of the same size and mirror them instead of the whole disk.

gmirror apparently doesn't keep a list of outstanding writes, so smaller 
mirrors should be faster to sync.

Want to link to this message? Use this URL: <>