#
3b8f0845 |
| 28-Apr-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge head
|
#
a88393ce |
| 24-Apr-2014 |
Devin Teske <dteske@FreeBSD.org> |
Update zfsboot to coincide with r264840 to bsdconfig(8) adding GEOM support (thereby adding GEOM support to the disk selection menu of bsdinstall(8)'s `zfsboot' module updated herein).
MFC after: 1
Update zfsboot to coincide with r264840 to bsdconfig(8) adding GEOM support (thereby adding GEOM support to the disk selection menu of bsdinstall(8)'s `zfsboot' module updated herein).
MFC after: 1 week X-MFC-with: 264840
show more ...
|
#
84e51a1b |
| 23-Apr-2014 |
Alan Somers <asomers@FreeBSD.org> |
IFC @264767
|
#
751952ae |
| 15-Apr-2014 |
Devin Teske <dteske@FreeBSD.org> |
When merging docsinstall and zfsboot updates to stable/9 it was discovered that the slightly older dialog(1) requires --separate-output when using the --checklist widget to force response to produce
When merging docsinstall and zfsboot updates to stable/9 it was discovered that the slightly older dialog(1) requires --separate-output when using the --checklist widget to force response to produce unquoted values (whereas in stable/10 --checklist widget without --separate-output will only quote the checklist labels in the response if the label is multi-word (contains any whitespace).
Since these enhancements (see revisions 263956 and 264437) were developed originally on 10, the --separate-output option was omitted. When merged to stable/9, we (Allan Jude) and I found during testing that the "always- quoting" of the response was causing things like struct interpolation to fail (`f_struct device_$dev' would produce `f_struct device_\"da0\"' for example -- literal quotes inherited from dialog(1) --checklist response).
To see the behavior, execute the following on stable/9 versus stable/10:
dialog --checklist disks: 0 0 0 da0 "" off da1 "" off
Check both items and hit enter. On stable/10, the response is:
da0 da1
On stable/9 the response is:
"da0" "da1"
If you use the --separate-output option, the response is the same for both:
da0 da1
So applying --separate-output on every platform until either one of two things occurs 1) dialog(1,3) gets synchronized between stable/9, higher or 2) we drop support for stable/9.
MFC after: 3 days Reviewed by: Allan Jude
show more ...
|
#
7e30426f |
| 26-Mar-2014 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Revert r263638 (create /root dataset) for now as it breaks install and needs more work in cases such as single-user mode.
|
#
b116e44c |
| 22-Mar-2014 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Create a root dataset so that /root is outside of the boot environment.
Discussed with: dteske on sysinstall@ MFC after: 1 month
|
#
bf775ebb |
| 25-Feb-2014 |
Peter Grehan <grehan@FreeBSD.org> |
MFC @ r259635
This brings in the "-w" option from bhyve to ignore unknown MSRs. It will make debugging Linux guests a bit easier.
Suggested by: Willem Jan Withagen (wjw at digiware nl)
|
#
5748b897 |
| 19-Feb-2014 |
Martin Matuska <mm@FreeBSD.org> |
Merge head up to r262222 (last merge was incomplete).
|
#
485ac45a |
| 04-Feb-2014 |
Peter Grehan <grehan@FreeBSD.org> |
MFC @ r259205 in preparation for some SVM updates. (for real this time)
|
Revision tags: release/10.0.0 |
|
#
6311cc9e |
| 19-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
When using a bootpool, set the cachefile property so that it gets imported automatically upon reboot to the newly installed system.
MFC after: 1 day
|
#
4b4b90d5 |
| 19-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Fix a regression that occurred with SVN revisions 259474 and 259476 where installation to 3-4+ (depending on vdev type) vdevs would result in odd error messages where the zpool `create' command appea
Fix a regression that occurred with SVN revisions 259474 and 259476 where installation to 3-4+ (depending on vdev type) vdevs would result in odd error messages where the zpool `create' command appeared to repeat itself (an artifact of printf when you supply too many arguments -- caused by neglecting to properly quote the multi-word expansion of $*vdevs when creating the pool(s)). Example error below (taken from bsdinstall_log):
DEBUG: zfs_create_boot: Creating root pool... DEBUG: zfs_create_boot: zpool create -o altroot=/mnt -m none -f "zroot" \ ada0p3.nop ada1p3.nopzpool create ada2p3.nop "ada3p3.nop" DEBUG: zfs_create_boot: retval=1 <output below> cannot open 'ada1p3.nopzpool': no such GEOM provider
show more ...
|
#
926ec73f |
| 16-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Auto-enable 4k sector alignment when disk encryption is requested (it is required in such a case). But don't prevent the user from pointing the gun at his/her foot -- you can disable 4k alignment aft
Auto-enable 4k sector alignment when disk encryption is requested (it is required in such a case). But don't prevent the user from pointing the gun at his/her foot -- you can disable 4k alignment after enabling geli).
MFC after: 3 days
show more ...
|
#
cf9c3e56 |
| 16-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Fix a long-standing edge-case that would result in a ghosted `zroot' pool and subsequent headaches caused by multiple pools with the same name. Specifically, blast away any labels on the designated s
Fix a long-standing edge-case that would result in a ghosted `zroot' pool and subsequent headaches caused by multiple pools with the same name. Specifically, blast away any labels on the designated swap partition. Problem was when you install to a given layout *with* swap and then turn around and re-install the same layout *without* swap (we weren't doing a labelclear for the swap device, so would end up with an "UNAVAIL" status zroot pool that may only exist in the pool cache).
MFC after: 3 days
show more ...
|
#
ee482f2c |
| 16-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Add kern.geom.label.disk_ident.enable="0" to loader.conf(5).
Discussed on: -current, -stable MFC after: 3 days
|
#
7a434c5c |
| 16-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
De-uglify the geli(8)-setup infobox by adding a newline.
MFC after: 3 days
|
#
ca2d97c2 |
| 16-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
fletcher4 is currently the default.
Discussed on: -current MFC after: 3 days
|
#
7cae6aab |
| 16-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Improve default ZFS disk layout (tested): + For GPT, always provision zfs# partition after swap [for resizability] + For MBR, always use a boot pool to relialy place root vdevs at EOD NB: Fixes edge-
Improve default ZFS disk layout (tested): + For GPT, always provision zfs# partition after swap [for resizability] + For MBR, always use a boot pool to relialy place root vdevs at EOD NB: Fixes edge-cases where MBR combination failed boot (e.g. swap-less) + Generalize boot pool logic so it can be used for any scheme (namely MBR) + Update existing comments and some whitespace fixes + Change some variable names to make reading/debugging the code easier in zfs_create_boot() (namely prepend zroot_ or bootpool_ to property) + Because zroot vdevs are at EOD, no longer need to calculate partsize (vdev consumes remaining space after allocating swap) + Optimize processing of disks -- no reason to loop over the disks 3-4 separate times when we can logically use a single loop to do everything
Discussed on: -stable MFC after: 3 days
show more ...
|
#
a622223f |
| 16-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Bug-fixes and debugging improvments: + De-obfuscate debugging to show actual values + Change graid(8) syntax; s/destroy/delete/ [destroy is not invalid syntax] + Log commands that were previously qui
Bug-fixes and debugging improvments: + De-obfuscate debugging to show actual values + Change graid(8) syntax; s/destroy/delete/ [destroy is not invalid syntax] + Log commands that were previously quiet + Added some new comemnts and updated some existing ones + Add missing local for `disk' used in zfs_create_boot() + Use $disks instead of multiply-expanding $* in zfs_create_boot() + Pedantically unset variable holding geli(8) passphrase after use + Pedantically add double-quotes around zpool names and zfs datasets + Fix quotation expansion for zpool_cache entries of loader.conf(5) + Some limited whitespace changes
MFC after: 3 days
show more ...
|
#
30c8ebe9 |
| 16-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Accept NULL input as also meaning zero swap.
MFC after: 3 days
|
#
a6c8532c |
| 16-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
As per discussions on -current, re-add /var/mail (removed in r257842) but this time with atime=on in support of various software that requires it.
Discussed on: -current MFC after: 3 days
|
#
b75256cf |
| 10-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Fix a regression introduced by SVN r257842; resulting in mountroot prompt after attempting to install to encrypted ZFS root (caused by a typo in a variable name -- ZFSBOOT_BOOT_FSNAME -> ZFSBOOT_BOOT
Fix a regression introduced by SVN r257842; resulting in mountroot prompt after attempting to install to encrypted ZFS root (caused by a typo in a variable name -- ZFSBOOT_BOOT_FSNAME -> ZFSBOOT_BOOTFS_NAME).
MFC after: 3 days
show more ...
|
#
886be572 |
| 09-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Fix a regression introduced by SVN r257842. Result was that after successfully installing to encrypted ZFS root, the passphrase is not accepted and a message about "incorrect key" is displayed.
MFC
Fix a regression introduced by SVN r257842. Result was that after successfully installing to encrypted ZFS root, the passphrase is not accepted and a message about "incorrect key" is displayed.
MFC after: 3 days
show more ...
|
#
45df402e |
| 04-Dec-2013 |
Devin Teske <dteske@FreeBSD.org> |
Fix a regression introduced by SVN r257842 that prevents Encryption from being enabled.
MFC after: 3 days
|
#
654957c2 |
| 19-Nov-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head up to r258343.
|
#
2925848d |
| 11-Nov-2013 |
Devin Teske <dteske@FreeBSD.org> |
Switch default MBR bootcode from /boot/boot0 to /boot/mbr.
Reviewed by: Allan Jude, nwhitehorn Discussed on: -current
|