On Thu, Dec 31, 2015 at 12:49 AM, Eric <[email protected]> wrote: > I think it's in the joysetup.sh script > > > https://github.com/joyent/sdc-headnode/blob/022a17a0507aa18bc24ceb8cc2dba70aa7c33cea/scripts/joysetup.sh#L315 >
I've narrowed it down to one line in joysetup.sh. https://github.com/joyent/sdc-headnode/blob/022a17a0507aa18bc24ceb8cc2dba70aa7c33cea/scripts/joysetup.sh#L624 /usr/bin/disklayout "${arg_disklayout}" > ${POOL_FILE} It's when the JSON for POOL_FILE is created. It looks like there's an option to set the layout (arg_disklayout), but it's not referenced anywhere else <https://github.com/search?q=arg_disklayout&type=Code&utf8=%E2%9C%93> on github. Perhaps, a possible future option? From the manpage of /usr/bin/disklayout, anything more than 5 primary storage devices will allocate at least one spare. I'd like to manage the spare usage myself. The only solution seems to just create a custom JSON for my pool that will pass the checks in joysetup.sh, so that I won't break anything else down the line that I don't know about instead of just ripping out that entire section. ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
