On Thu, Dec 31, 2015 at 3:17 AM, Eric <[email protected]> wrote: > If you didn't replace #331 > <https://github.com/joyent/sdc-headnode/blob/master/scripts/joysetup.sh#L331> > with a zpool create command, and tried to just create a zpool at the > beginning, like what I just tried, you'll hit a checkpoint in #231 > <https://github.com/joyent/sdc-headnode/blob/master/scripts/headnode.sh#L231> > headnode.sh, that checks if there are no imported pools: > > if [[ ${POOLS} == "no pools available" ]]; then > cr_once > > Don't do that. >
Turns out all you have to modify is #331 <https://github.com/joyent/sdc-headnode/blob/master/scripts/joysetup.sh#L331>, everything else is irrelevant to it still working. If all goes well you should see the normal startup phase of SDC copying and creating zones and services: And you'll be running SDC with a mirror pool: This seems to be the easiest way of getting SDC on to a mirror pool, unfortunately. I began looking into this because I wanted to test out SDC on physical hardware, however I only have one server, and it's already running vanilla SmartOS. Along with data that already exists, I didn't want to have to migrate the data off, and back on after SDC installed. One thing I can still try is just zfs sending everything over. to be continued... ------------------------------------------- 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
