Re: grub on ZRaid2 - SOLUTION

2013-10-22 Thread Klaus Melchior
Hi, found probable cause why grub-installer fails with ZRAID. Bug #653929, I think the patch isn't applied yet. I wrote my own grub.cfg for the "4 drive boot-mirror root-zraid2" as update-grub failed: insmod part_msdos insmod zfs set boot=(hd0,msdos1)/boot set root=(hd0,msdos2) kfreebsd $boot/@/

Re: grub on ZRaid2

2013-10-21 Thread Klaus Melchior
Hi, On Mon, 21 Oct 2013 22:05:52 -0500, Jeff Epler wrote: > You might consider doing what I did: Make two zfs partitions per disk. > Create a mirrored zpool from the first, smaller partitions; place files > needed for booting there. Create a raidz(2) pool from the bigger > partitions and use it

Re: grub on ZRaid2

2013-10-21 Thread Jeff Epler
You might consider doing what I did: Make two zfs partitions per disk. Create a mirrored zpool from the first, smaller partitions; place files needed for booting there. Create a raidz(2) pool from the bigger partitions and use it for bulk storage. In fact, I've convinced myself that the additiona

Re: grub on ZRaid2

2013-10-21 Thread Klaus Melchior
Hi, on Mon, 21 Oct 2013 00:18:13 +0200, Robert Millan wrote: > Did you create this pool yourself? Yes, I'm using "Automated install, FreeDSB kernel 9" with manual partioning. > Debian installer always creates zpools within MSDOS partitions, in order > to leave room for embedding. If you created

Re: grub on ZRaid2

2013-10-21 Thread Klaus Melchior
Hi, On Mon, 21 Oct 2013 12:12:47 +0100, Steven Chamberlain wrote: > If using MSDOS, partman will automatically leave space before the first > partition for the bootloader embedding area. And to avoid Bug #651624: > you should also try to leave 1MiB or more free space at the end of the > disk - if

Re: grub on ZRaid2

2013-10-21 Thread Steven Chamberlain
Hi, On 21/10/13 02:25, Klaus Melchior wrote: > On Mon, 21 Oct 2013 00:18:13 +0200, Robert Millan wrote: >> Debian installer always creates zpools within MSDOS partitions, in order >> to leave room for embedding. If you created a full-disk pool, GRUB >> doesn't support this setup AFAIK. > > What i

Re: Re: grub on ZRaid2

2013-10-20 Thread Klaus Melchior
In continuation to my previous post: On Mon, 21 Oct 2013 00:18:13 +0200, Robert Millan wrote: > Debian installer always creates zpools within MSDOS partitions, in order > to leave room for embedding. If you created a full-disk pool, GRUB > doesn't support this setup AFAIK. What is a MSDOS partit

Re: Re: grub on ZRaid2

2013-10-20 Thread Klaus Melchior
Hi, on Mon, 21 Oct 2013 00:18:13 +0200, Robert Millan wrote: > Did you create this pool yourself? No, partman-base did while expert installation. But I did a ZFS stripe installation prior, so the partitions were "physical volume for ZFS". /dev/ada0 - 2.0 TB Generic IDE #1 primary 2.0 TB

Re: grub on ZRaid2

2013-10-20 Thread Robert Millan
Hi, On 20/10/2013 22:54, Klaus Melchior wrote: > Hi, > > using "Debian GNU/kFreeBSD 7.2.0 _Wheezy_ DVD-1 20131012-20:22" on 4x 2TB > drive amd64 system. I'm using the expert install with kernel 9 and > installing kernel 9.0.2 on the target. > > The Installation of GRUB on /dev/ada0 works on 4x

grub on ZRaid2

2013-10-20 Thread Klaus Melchior
Hi, using "Debian GNU/kFreeBSD 7.2.0 _Wheezy_ DVD-1 20131012-20:22" on 4x 2TB drive amd64 system. I'm using the expert install with kernel 9 and installing kernel 9.0.2 on the target. The Installation of GRUB on /dev/ada0 works on 4x 2TB ZFS stripe. But GRUB installation failes on ZRAID2 with 1