atom feed42 messages in org.freebsd.freebsd-fsRe: [review request] zfsboot/zfsloade...
FromSent OnAttachments
Andriy GaponApr 14, 2012 8:37 am 
Andriy GaponApr 14, 2012 10:35 am 
Bob FriesenhahnApr 14, 2012 6:00 pm 
Garrett CooperApr 14, 2012 7:30 pm 
John BaldwinApr 16, 2012 6:55 am 
vermadenApr 16, 2012 10:34 pm 
Andriy GaponApr 17, 2012 1:21 pm 
John BaldwinApr 17, 2012 1:43 pm 
Andriy GaponApr 17, 2012 11:01 pm 
Andriy GaponApr 18, 2012 1:57 am 
Andriy GaponApr 18, 2012 2:18 am 
John BaldwinApr 18, 2012 6:41 am 
Ian LeporeApr 18, 2012 7:22 am 
Andriy GaponApr 18, 2012 7:36 am 
Ian LeporeApr 18, 2012 7:39 am 
Andriy GaponApr 18, 2012 7:59 am 
John BaldwinApr 18, 2012 10:47 am 
Marius StroblApr 22, 2012 2:20 pm 
Andrey V. ElsukovApr 22, 2012 11:23 pm 
Andriy GaponApr 27, 2012 2:05 am 
Andriy GaponApr 27, 2012 2:13 am 
Andrey V. ElsukovApr 27, 2012 3:37 am 
Andriy GaponApr 27, 2012 7:06 am 
Marius StroblApr 29, 2012 9:46 am 
Andriy GaponApr 30, 2012 12:03 am 
Marius StroblMay 1, 2012 1:20 pm 
Andriy GaponMay 3, 2012 8:02 am 
Andriy GaponMay 3, 2012 8:23 am 
John BaldwinMay 4, 2012 8:24 am 
Andriy GaponMay 5, 2012 2:30 am 
Andriy GaponMay 5, 2012 2:52 am 
Bruce EvansMay 5, 2012 3:49 am 
John BaldwinMay 7, 2012 6:52 am 
Andriy GaponMay 7, 2012 7:34 am 
Andriy GaponMay 7, 2012 7:46 am 
Andriy GaponMay 7, 2012 8:15 am 
John BaldwinMay 7, 2012 10:37 am 
John BaldwinMay 7, 2012 10:43 am 
Andriy GaponMay 8, 2012 12:14 am 
John BaldwinMay 8, 2012 7:15 am 
Andriy GaponMay 8, 2012 11:34 am 
Andriy GaponMay 11, 2012 3:31 pm 
Subject:Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool
From:Andriy Gapon (av@FreeBSD.org)
Date:Apr 14, 2012 10:35:12 am
List:org.freebsd.freebsd-fs

I would like to ask for a review and/or testing of the following three patches: http://people.freebsd.org/~avg/zfsboot.patches.diff

These patches add support for booting from an arbitrary filesystem of any detected ZFS pool. A filesystem could be selected in zfsboot and thus will affectfrom where zfsloader would be loaded. zfsboot passes information about the boot pool and filesystem to zfsloader, which uses those for loaddev and default value of currdev. A different pool+filesystem could be selected in zfsloader for booting kernel. Also if vfs.root.mountfrom is not explicitly set and is not derived from fstab, then it gets set to the selected boot filesystem.

A note for prospective testers: the patched loader expect to be started by the patched zfs boot as it passes an additional parameter for a filesystem guid. I should probably add some way to distinguish between the older and newer zfs boot blocks. Maybe an extra bit in bootflags? What do you think?

This should could be used as a foundation for the support of Solaris-like boot environment selection. I believe that other people have already developed scripts utilizing ZFS capabilities to provide other aspects of management of boot environments.

I am particularly interested in reviews of my attempt to make ZFS boot support arch-independent. The arches, of course, would have to add some code to make use of that support. Currently I only enabled it for x86.

Thank you very much!