Skip to contentSkip to conversation

metadata 1.2 advantages?

DISCUSSION Stefan Priebe - Profihost AG 3 participants 5 messages Feb 8, 2012 – Feb 9, 2012 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi,

for now i'm still using grub 0.97 which can only understand metadata 0.9. Are there any advantages of the 1.2 metadata format?

Greets,
Stefan

#1 lore raw
Quoted 5 lines · Stefan Priebe - Profihost AG

Hi,

for now i'm still using grub 0.97 which can only understand metadata 0.9. Are there any advantages of the 1.2 metadata format?

There are a lot of advantages to the 1.x metadata format, but 1.0 is the easiest for bootloaders to deal with. 1.0, 1.1 and 1.2 is the same format, just with the superblock in different places.

-hpa

Signature · 2 lines
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.
#2 lore raw
Quoted 10 lines · On Wed, 08 Feb 2012 14:16:21 -0800 "H. Peter Anvin" <[email protected]> wrote:
Quoted 5 lines · Stefan Priebe - Profihost AG

Hi,

for now i'm still using grub 0.97 which can only understand metadata 0.9. Are there any advantages of the 1.2 metadata format?

There are a lot of advantages to the 1.x metadata format, but 1.0 is the easiest for bootloaders to deal with. 1.0, 1.1 and 1.2 is the same format, just with the superblock in different places.

Hi Peter,
wasn't it you who told be that 1.2 was best for boot loaders, as 1.0 uses
block 0 which the bootloader also wants, while 1.2 uses a later block. That is why 1.2 is the default.

??

NeilBrown

#3 lore raw
Quoted 11 lines · NeilBrown
Quoted 8 lines · On Wed, 08 Feb 2012 14:16:21 -0800 "H. Peter Anvin" <[email protected]> wrote:
Quoted 6 lines · Stefan Priebe - Profihost AG

Hi,

for now i'm still using grub 0.97 which can only understand metadata 0.9. Are there any advantages of the 1.2 metadata format?

Quoted 8 lines
Quoted 3 lines

There are a lot of advantages to the 1.x metadata format, but 1.0 is the easiest for bootloaders to deal with. 1.0, 1.1 and 1.2 is the same format, just with the superblock in different places.

Hi Peter, wasn't it you who told be that 1.2 was best for boot loaders, as 1.0 uses block 0 which the bootloader also wants, while 1.2 uses a later block. That is why 1.2 is the default.

No, 1.1 uses block 0 which the bootloader wants.

Bootloaders need no special enabling to support 0.9 or 1.0 RAID-1. 1.2 requires special enabling, but is workable.

-hpa

Signature · 2 lines
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.
#4 lore raw
Quoted 21 lines · On Wed, 08 Feb 2012 16:38:08 -0800 "H. Peter Anvin" <[email protected]> wrote:
Quoted 11 lines · NeilBrown
Quoted 8 lines · On Wed, 08 Feb 2012 14:16:21 -0800 "H. Peter Anvin" <[email protected]> wrote:
Quoted 6 lines · Stefan Priebe - Profihost AG

Hi,

for now i'm still using grub 0.97 which can only understand metadata 0.9. Are there any advantages of the 1.2 metadata format?

Quoted 8 lines
Quoted 3 lines

There are a lot of advantages to the 1.x metadata format, but 1.0 is the easiest for bootloaders to deal with. 1.0, 1.1 and 1.2 is the same format, just with the superblock in different places.

Hi Peter, wasn't it you who told be that 1.2 was best for boot loaders, as 1.0 uses block 0 which the bootloader also wants, while 1.2 uses a later block. That is why 1.2 is the default.

Quoted 4 lines

No, 1.1 uses block 0 which the bootloader wants.

Bootloaders need no special enabling to support 0.9 or 1.0 RAID-1. 1.2 requires special enabling, but is workable.

Doh - of course. Wasn't thinking straight.
So 1.0 is good for boot loaders
1.1 is bad for boot loaders
1.2 is OK for boot loaders and good for other reasons (resizeable devices).

Thanks,
NeilBrown