<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On May 12, 2013, at 7:44 AM, Christian PERRIER wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I can't really test myself but I'd be happy if someone cared eough<br>about partman-zfs to keep it maintained.</div></blockquote><div><br></div>I've been a Debian GNU/Linux maintainer since '98, but I haven't</div><div>been active for a long time. I 'lost' my keys on a backup tape</div><div>I can't access (might be a broken drive, might also be the tape).</div><div><br></div><div>I'm not sure I want to be it's maintainer (I kind'a lost interest</div><div>in being responsible for things I barely use :).</div><div><br><blockquote type="cite"><div>I you have an Alioth accound, how about validating it for D-I and<br>pushing your patch there, then uploading?<br></div></blockquote><div><br></div>How do you mean? I'm mostly worried I break something for someone</div><div>else, even though I try my best to be as vigilant to such things</div><div>as possible in everything i do, but...</div><div><br></div><div><br></div><div>These first patch(es) really could need a few extra eyes to iron</div><div>out the most obvious problems. I already have at least two that</div><div>I can't seem to fix.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>1. It will create /, /home, /var, /boot Z file systems</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> automatically, without asking where to mount them.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> Might not be a problem, as long as it's documented :)</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span> Also see point three.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>2. If you boot up the installer, create partitions, pool(s)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> and a root fs and then reboots and select</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> 'Configure ZFS->Create root file system', there is no</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> real change in the partition table and D-I will complain</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> that it doesn't see any changes and ask you if you really</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> want to continue without a root/destination file system.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span> I can't find a way to tell D-I that the user HAVE specified</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> a destination. I've done some tries at the end of zfs-base.sh,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> but neither seems to work...</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>3. In the 'device list', no ZFS is shown. This is because</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> partman (or most likely the parted_server) only works with</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> block devices - which a ZFS isn't...</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span> This is the main reason I create all the filesystems</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> automatically - there is no list where I can create filesystems.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span> It would be nice if 'someone' could identify exactly where</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> this would be done and possibly also modify that to identify</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> ZFS so that one could there select 'Use as root fs', 'use as</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> /boot' etc...</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span> This is tricky, because it will need to work even if ZFS isn't</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> available (which it isn't on any arch but kfreebsd and linux-amd64).</div><div><br></div><div>Point three is of course the most notable one. It doesn't give the user</div><div>any real feedback that D-I knows what the user knows - install into</div><div>the root file system selected under 'Configure ZFS'.</div><div><br></div><div>It would be nice if the list would look something like this (taken from</div><div>my current test system):</div><div><br></div><div><br></div><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space: pre; "> </span>SCSI3 (0,0,0) (sda) - 16.1 GB ATA VBOX HARDDISK</font></div><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span> #1 primary 16.1 GB K zfs system</font></div><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span>SCSI3 (0,0,0) (sda) - 16.1 GB ATA VBOX HARDDISK</font></div><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span> #1 primary 16.1 GB K zfs system</font></div><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span>SCSI3 (0,0,0) (sda) - 16.1 GB ATA VBOX HARDDISK</font></div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span> #1 primary 16.1 GB K zfs share<br></font><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span>SCSI3 (0,0,0) (sda) - 16.1 GB ATA VBOX HARDDISK</font></div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span> #1 primary 16.1 GB K zfs share<br><span class="Apple-tab-span" style="white-space:pre"> </span>SCSI3 (0,0,0) (sda) - 16.1 GB ATA VBOX HARDDISK<br><span class="Apple-tab-span" style="white-space:pre"> </span> #1 primary 16.1 GB K zfs share<br><span class="Apple-tab-span" style="white-space:pre"> </span>/dev/zd0 - 2.1 GB Unknown</font><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span> #1 primary 2.1 GB K swap swap</font></div><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span>share</font><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; "> </span><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; "> 12.3 GB</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; "> #1 Movies K zfs /movies</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; "> #2 Programs K zfs /programs</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; "> #3 Documents K zfs /documents</span></div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span>system 12.3 GB<br></font><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span> #1 ROOT K none</font></div><div><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; "><span class="Apple-tab-span" style="white-space:pre"> </span> #2 </span><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; ">ROOT/debian K zfs /</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; "><span class="Apple-tab-span" style="white-space:pre"> </span> #3 </span><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; ">ROOT/debian/boot K zfs /boot</span></div><div><font class="Apple-style-span" face="'Courier New'" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre"> </span> #4 ROOT/debian/home K </font><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; ">zfs /home</span></div><div><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; "><span class="Apple-tab-span" style="white-space:pre"> </span> #5 </span><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; ">ROOT/debian/var K </span><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; ">zfs /var</span><span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 12px; "> </span></div><div><br></div><div>The first ten lines is about the devices and it's partition,</div><div>nothing strange there, except in my example here, it</div><div>will also find what zpool the partition is 'member' of.</div><div><br></div><div>Might be nice to indicate it's vdev type (mirror, zraid etc)..</div><div><br></div><div>The two lines about the ZVOL is also fine and not much to</div><div>discuss (they are as-is from my test system).</div><div><br></div><div><br></div><div>And the lines about the ZFS's is what I think it would/should</div><div>look like. The pool is at the very left (with it's size) - here I have</div><div>two - 'share' and 'system' (I really never liked 'rpool' :) - and the</div><div>actual file systems is numbered like partitions would.</div><div><br></div><div>If one stand on a pool line and press enter, one get's the choice to</div><div>create a new filesystem (which would be sorted alpha numerically</div><div>below it). If one stands on a ZFS, then one gets the option to</div><div>change it's mount point, any filesystem options that is only for</div><div>ZFS etc.</div><div><br></div><div>Much like would happen when one press enter on a device or</div><div>a partition today...</div><div><br></div><div><br></div><div>But as I said, I can't seem to find exactly where this is taken</div><div>place. I _think_ it's parted_server that spits out those things,</div><div>but I'm not sure...</div><div><br></div><div>D-I will in most part it seems, fetch information from /var/lib/partman/devices,</div><div>but that get's recreated by 'someone' (or should I say 'something' :).</div><div><br></div><div><br></div><div>PS. I default to creating the root fs with the output of 'hostname'</div><div> (my patch will automatically find any existing filesystems that</div><div> might be a root fs - if there's more than one pool, it will ask</div><div> you which one to create on and then find '<pool>/ROOT' in</div><div> a one level search), and after booting the installer for five</div><div> days straight, I now just press enter at the default hostname</div><div> option 'debian' :)</div><div><div>--</div><div>Build a man a fire, and he will be warm for the night.<br>Set a man on fire and he will be warm for the rest of his life.<br></div><br></div></body></html>