Skip to contentSkip to conversation

RAIDZ Support

DISCUSSION Richard Laager 2 participants 2 messages Feb 6, 2012 – Mar 3, 2012

lore
Share & tools
lore
#0 lore raw

I tried booting off a 3-disk raidz1 pool. By default, ZFS on Linux uses a GPT label even for whole-disk pools. I've also tried overriding that and putting the zpool directly on the 3 disks.

Either way, grub-probe / is happy. grub-install /dev/sda doesn't complain (though grub-install /dev/sd[bc] fails). But when I try to boot, GRUB says "error: no such device: 451dab4c40fdb4c1." (the GUID obviously changed when I recreated the pool).

One way, prefix and root use "hd0, gpt1". The other way, they use "hd0".

What should I do to start debugging this?

How can I enable the grub_dprintf() output?

Signature · 1 line
Richard
#1 lore raw
Quoted 4 lines · Richard Laager

I tried booting off a 3-disk raidz1 pool. By default, ZFS on Linux uses a GPT label even for whole-disk pools. I've also tried overriding that and putting the zpool directly on the 3 disks.

Quoted 8 lines

Either way, grub-probe / is happy. grub-install /dev/sda doesn't complain (though grub-install /dev/sd[bc] fails). But when I try to boot, GRUB says "error: no such device: 451dab4c40fdb4c1." (the GUID obviously changed when I recreated the pool).

One way, prefix and root use "hd0, gpt1". The other way, they use "hd0".

What should I do to start debugging this?

I'd try testing with grub-fstest and checking the output of ls with different arguments

Quoted 2 lines

How can I enable the grub_dprintf() output?

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko