Re: GEOM: gpt partitions on a gmirror array possible?

From: Marcel Moolenaar (marcel_at_xcllnt.net)
Date: 11/30/04

  • Next message: Brooks Davis: "Re: GEOM: gpt partitions on a gmirror array possible?"
    Date: Tue, 30 Nov 2004 12:15:22 -0800
    To: Chris Hedley <cbh-freebsd-current@groups.chrishedley.com>
    
    

    On Tue, Nov 30, 2004 at 03:37:52PM +0000, Chris Hedley wrote:
    > >
    > >I guess a change like geom_mbr.c:1.57 is in order, or a more to-the-
    > >point test for rejecting GPT on MBR or GPT on GPT.
    >
    > Any suggestions before I start butchering the file in question?

    Removal of the following should do it without causing problems:

                    if (gp->rank != 2 && insist == 0)
                            break;

    In fact, this is the fix I'm considering. The strength of GEOM is
    that you can create arbitrary layering and nesting and imposing
    limitations seems counter productive. There may be an advantage to
    allow GPT on MBR or GPT on GPT even if it's disallowed under EFI.
    We already allow the use of GPT outside the context of EFI...

    BTW: I will then probably also enforce that if there's a MBR sector
         front of the GPT table, it must be a PMBR. Use of GPT on a
         boot disk is possible by putting a GPT table inside an MBR
         slice. In a sense, I trade width for depth :-)

    -- 
     Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Brooks Davis: "Re: GEOM: gpt partitions on a gmirror array possible?"

    Relevant Pages

    • Re: Default support for GPT
      ... The MBR on a disk with GPT is expected to be a protective ... >>not like MBR partitions with GPT, but it could be made less picky. ...
      (freebsd-current)
    • Re: 2.4TB disk - MBR and GPT coexist?
      ... 2TB is a cheap disk drive at, is anyone considering doing the work to make GPT co-exist with an MBR block? ... but only for the boot partition. ...
      (freebsd-stable)
    • Re: GPT - (last) call for action
      ... start at sector 1, the compatible MBR in sector 0 ... presumably must have a slice which covers the entire disk. ... and thus be able to put boot1 in the GPT's first partition? ... This is to protect the GPT ...
      (freebsd-current)
    • Re: GPT - (last) call for action
      ... start at sector 1, the compatible MBR in sector 0 ... presumably must have a slice which covers the entire disk. ... and thus be able to put boot1 in the GPT's first partition? ... This is to protect the GPT ...
      (freebsd-hackers)
    • Re: 2.4TB disk - MBR and GPT coexist?
      ... 2TB is a cheap disk drive at, is anyone considering doing the work to make GPT co-exist with an MBR block? ... but only for the boot partition. ...
      (freebsd-stable)