On 7/14/15 9:02 , Dirk Steinberg wrote: > Am 14.07.2015 um 17:38 schrieb Robert Mustacchi <[email protected]>: >> >> On 7/13/15 23:53 , Dirk Steinberg wrote: >>> Thanks for the pointer - I might try this. >>> But I would actually like to run full SDC/Triton. >>> >>> I suspect that the SDC installer does just I want to do: >>> unpack a bunch of zone images (zfs send/recv format) >>> and do some minor config tweaks to the base SmartOS. >>> >>> Maybe someone knows how this works and how I can reproduce >>> this without actually running the installer from the USB/ISO boot >>> image. Or — maybe I can actually extract the installer script >>> from the boot image and run it on an existing SmartOS. >>> But I would still need some pointers. >> >> The SDC headnode is designed around having that USB key there to boot >> from. It's not sufficient to just try and replicate it, there are other >> things which are stored persistently back to that USB key. I would not >> recommend trying to manually work around this, as you'll quickly end up >> having to fight against quite a lot of SDC. > > Robert, > > on SmartOS the „USB key“ is not really the USB key, but > a ZFS filesystem. > > [root@ivy ~]# df -h /usbkey/ > Filesystem Size Used Available Capacity Mounted on > zones/usbkey 5.5T 12M 1.7T 1% /usbkey > > Is that different in SDC?
Yes, it's different. /usbkey in SmartOS comes from the name of the zfs dataset in SDC which is a copy of several of the contents of the physical USB key. > Or, said another way, is „4gb.img“ in CoaL R/W instead of R/O? > (Don’t have CoaL in front of me ATM) Yes, it's read/write. Robert >> There are a few options here. Given that you don't have a console, what >> you can do is go and fill out answers.json entirely on the USB key and >> then wipe and reboot. Test the answers.json in coal first, but if filled >> out completely, there will be no manual prompting and the installation >> will be automated. >> >> If you don't have a usbkey available, the other thing that you can do is >> to sacrifice a physical disk to be a giant USB key. It's not great, but >> it may work for you. > > I only have one physical disk, I may try to partition it. > >> Robert > > ------------------------------------------- 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
