Summary: | Install to zfs should have copies= option to provide some anti-bitrot protection | ||
---|---|---|---|
Product: | Base System | Reporter: | MMacD <scratch65535> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | rb, shawn.webb |
Priority: | --- | ||
Version: | 10.2-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
MMacD
2016-04-14 14:01:55 UTC
Instead of prompting for the copies attribute, zfsinstall could have generic "set these zpool options" and "set these zfs options for the top-level dataset" prompts. You'd specify your own options that would get added as -oname=value arguments to `zpool create [Pool]` in the case of the former prompt and `zfs set [TopLevelDatasetOfPool]` in the case of the latter. But I'm not too sure I like that idea, either. Either way, it's just an idea to throw around. (In reply to Shawn Webb from comment #1) That'd be okay with me, probably even better than my idea if the installer sanity-checked the options chosen and complained if there was some craziness. Affects installer. A quick hack to work around this is: Start the installer, select Shell (not Install). Fire up csh and start bsdinstall from that. Proceed with the installation as normal, but... ...when the installer starts checking the distfiles, hit ^Z Now you can run `zfs set copies=2 zroot' or whatever. Then `fg' to resume bsdinstall and complete the installation. |