| From | Sent On | Attachments |
|---|---|---|
| Andriy Gapon | Apr 14, 2012 8:37 am | |
| Andriy Gapon | Apr 14, 2012 10:35 am | |
| Bob Friesenhahn | Apr 14, 2012 6:00 pm | |
| Garrett Cooper | Apr 14, 2012 7:30 pm | |
| John Baldwin | Apr 16, 2012 6:55 am | |
| vermaden | Apr 16, 2012 10:34 pm | |
| Andriy Gapon | Apr 17, 2012 1:21 pm | |
| John Baldwin | Apr 17, 2012 1:43 pm | |
| Andriy Gapon | Apr 17, 2012 11:01 pm | |
| Andriy Gapon | Apr 18, 2012 1:57 am | |
| Andriy Gapon | Apr 18, 2012 2:18 am | |
| John Baldwin | Apr 18, 2012 6:41 am | |
| Ian Lepore | Apr 18, 2012 7:22 am | |
| Andriy Gapon | Apr 18, 2012 7:36 am | |
| Ian Lepore | Apr 18, 2012 7:39 am | |
| Andriy Gapon | Apr 18, 2012 7:59 am | |
| John Baldwin | Apr 18, 2012 10:47 am | |
| Marius Strobl | Apr 22, 2012 2:20 pm | |
| Andrey V. Elsukov | Apr 22, 2012 11:23 pm | |
| Andriy Gapon | Apr 27, 2012 2:05 am | |
| Andriy Gapon | Apr 27, 2012 2:13 am | |
| Andrey V. Elsukov | Apr 27, 2012 3:37 am | |
| Andriy Gapon | Apr 27, 2012 7:06 am | |
| Marius Strobl | Apr 29, 2012 9:46 am | |
| Andriy Gapon | Apr 30, 2012 12:03 am | |
| Marius Strobl | May 1, 2012 1:20 pm | |
| Andriy Gapon | May 3, 2012 8:02 am | |
| Andriy Gapon | May 3, 2012 8:23 am | |
| John Baldwin | May 4, 2012 8:24 am | |
| Andriy Gapon | May 5, 2012 2:30 am | |
| Andriy Gapon | May 5, 2012 2:52 am | |
| Bruce Evans | May 5, 2012 3:49 am | |
| John Baldwin | May 7, 2012 6:52 am | |
| Andriy Gapon | May 7, 2012 7:34 am | |
| Andriy Gapon | May 7, 2012 7:46 am | |
| Andriy Gapon | May 7, 2012 8:15 am | |
| John Baldwin | May 7, 2012 10:37 am | |
| John Baldwin | May 7, 2012 10:43 am | |
| Andriy Gapon | May 8, 2012 12:14 am | |
| John Baldwin | May 8, 2012 7:15 am | |
| Andriy Gapon | May 8, 2012 11:34 am | |
| Andriy Gapon | May 11, 2012 3:31 pm |
| Subject: | Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool | |
|---|---|---|
| From: | Marius Strobl (mar...@alchemy.franken.de) | |
| Date: | Apr 22, 2012 2:20:39 pm | |
| List: | org.freebsd.freebsd-fs | |
On Sat, Apr 14, 2012 at 06:37:54PM +0300, Andriy Gapon wrote:
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.
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.
I can't say much about these patches as a whole as they are rather big and I'm not aware of all the details of ZFS. However, one bit that makes the current implementation x86-specific is zfs_dev_init(). If you could move it to the MD part in the course of these patches that would be great. If you could also take the second patch in PR 165025 into account, which I plan to commit once the issue with the current ofw_disk.c are properly solved, that would be great.
Marius
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to "free...@freebsd.org"





