NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/45179: NetBSD disklabel does not support devices larger 2 TByte



Hi again,

now I've a look at gpt(8).

the manual say:

By default, one cannot create a GPT when the device contains a
MBR, however this can be overridden with the -f option.  If the
-f option is specified, an existing MBR is destroyed and any par-
titions described by the MBR are lost.

This means, gpt(8) is not usable on (at least) i386 and amd64 architectures for root disks!
So gpt is no sollution for theese architectures!

I know that Sun supports something called EFI-disklabels (as far as I remember - perhaps the name was different ...).
I've got lots of problems with them on a X86-Sun some time ago.
But perhaps I simply does something wrong.

Is there support for such a thing in NetBSD?

best regaurds

W. Stukenbrock




Wolfgang Stukenbrock wrote:

The following reply was made to PR kern/45179; it has been noted by GNATS.

From: Wolfgang Stukenbrock <Wolfgang.Stukenbrock%nagler-company.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
netbsd-bugs%NetBSD.org@localhost,
        Wolfgang.Stukenbrock%nagler-company.com@localhost
Subject: Re: kern/45179: NetBSD disklabel does not support devices larger 2 
TByte
Date: Wed, 27 Jul 2011 11:35:59 +0200

 Hi,
if it is "just copy some code", then that should be done in order to be able to boot from large devices. The time when the first 4 TByte discs will be available may be soon ... The current hack in the bootloader code just try to get a valid disklabel 64 block's later for booting from a raid1 device. That is a very simple sollution. I will have look at gtp(8). Perhaps this will solve my problem. If disklabel is supposed to retire, than the sysinst should "always" install systems useing gtp as soon as possible. On the other hand, the extensions to the disklabel structure does not sound very expensive to me - I only have no time to do it (and test on "all" architectures). best regards W. Stukenbrock Christos Zoulas wrote: > The following reply was made to PR kern/45179; it has been noted by GNATS. > > From: christos%zoulas.com@localhost (Christos Zoulas)
 > To: Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
 > Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%NetBSD.org@localhost
 > Subject: Re: kern/45179: NetBSD disklabel does not support devices larger 2 
TByte
 > Date: Mon, 25 Jul 2011 20:47:14 -0400
> > On Jul 25, 9:02pm, hauke%Espresso.Rhein-Neckar.DE@localhost (Hauke Fath) wrote: > -- Subject: Re: kern/45179: NetBSD disklabel does not support devices larger > > | At 12:27 Uhr -0400 25.7.2011, Christos Zoulas wrote:
 >  | >Can't you use wedges and gpt?
> | > | Since Wolfgang mentioned raidframe: RAID level 1 wedges on gpt disks are
 >  | not bootable.
> > It is not that difficult to make gpt booting work, we just need to write
 >  or copy some code.
> > christos > > > > -- Dr. Nagler & Company GmbH
 Hauptstraße 9
 92253 Schnaittenbach
Tel. +49 9622/71 97-42
 Fax +49 9622/71 97-50
Wolfgang.Stukenbrock%nagler-company.com@localhost
 http://www.nagler-company.com
Hauptsitz: Schnaittenbach
 Handelregister: Amberg HRB
 Gerichtsstand: Amberg
 Steuernummer: 201/118/51825
 USt.-ID-Nummer: DE 273143997
 Geschäftsführer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze




--


Dr. Nagler & Company GmbH
Hauptstraße 9
92253 Schnaittenbach

Tel. +49 9622/71 97-42
Fax +49 9622/71 97-50

Wolfgang.Stukenbrock%nagler-company.com@localhost
http://www.nagler-company.com


Hauptsitz: Schnaittenbach
Handelregister: Amberg HRB
Gerichtsstand: Amberg
Steuernummer: 201/118/51825
USt.-ID-Nummer: DE 273143997
Geschäftsführer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze




Home | Main Index | Thread Index | Old Index