Is this a limitation of GPT + ZFS?<div><br></div><div>I was able to duplicate Johann's setup, I think. Basically, I specify the SWAP partitions first. For example, 2 GB and ad0 and then 2 GB on ad1. Then on ad0, I specify the rest of the free space to be a mirrored ZFS and selecting ad1 into the pool. It seems the installer cannot figure out the free space that is left on ad1 and would attempt to add the entire ad1 disk into the pool.<br>
<div><br></div><div>Although, if I remember correctly, I think even creating slices in advance it wouldn't work. I think the dialog would not let you select the slice to add into the pool, I'll try again tonight.</div>
<div><br><div>-Bill<br><div><br><div class="gmail_quote">On Tue, Jul 13, 2010 at 8:02 AM, Kris Moore <span dir="ltr"><<a href="mailto:firstname.lastname@example.org">email@example.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">
On 07/10/2010 07:51, Johann Hugo wrote:
<blockquote type="cite">Looking at the log, it appears to be doing<br>
<pre>something a bit weird, trying to format ada1 twice,
<pre>which makes me think
its a configuration problem, possibly something the GUI did wrong.
<pre>Or something weird that I did :-)
Ok, I looked at your config, and I see the problem now:<br>
<pre>disk0-part=ZFS 1412874 / (mirror: ad11)
This is telling the installer to use the entire disk "ad11" for the ZFS mirror, however later in the config file you have this:
# Disk Setup for ad11
# Partition Setup for ad11(ALL)
# All sizes are expressed in MB
# Avail FS Types, UFS, UFS+S, UFS+J, ZFS, SWAP
# UFS.eli, UFS+S.eli, UFS+J.eli, ZFS.eli, SWAP.eli
disk1-part=SWAP 17920 none
This is trying to setup another SWAP partition on ad11, which of course can't be there when you've already told the installer to use ad11 for the entire zfs mirror.
The solution would be to maybe create some MBR partitions on ad11 via the GUI, and select the first to be the ZFS mirror (ad11s1), and the second to be SWAP (ad11s2). You could do the same for ad8 as well, to keep them identical. So that ad8s1 and ad11s1 would mirror each other.
Testing mailing list<br>
<a href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br>