{"action":"closed","issue":{"url":"https://api.github.com/repos/joyent/smartos-live/issues/711","repository_url":"https://api.github.com/repos/joyent/smartos-live","labels_url":"https://api.github.com/repos/joyent/smartos-live/issues/711/labels{/name}","comments_url":"https://api.github.com/repos/joyent/smartos-live/issues/711/comments","events_url":"https://api.github.com/repos/joyent/smartos-live/issues/711/events","html_url":"https://github.com/joyent/smartos-live/issues/711","id":217041015,"number":711,"title":"Setup without disks is poorly handled, infinite loop in smartos_prompt_config.sh","user":{"login":"loli10K","id":4585738,"avatar_url":"https://avatars3.githubusercontent.com/u/4585738?v=3","gravatar_id":"","url":"https://api.github.com/users/loli10K","html_url":"https://github.com/loli10K","followers_url":"https://api.github.com/users/loli10K/followers","following_url":"https://api.github.com/users/loli10K/following{/other_user}","gists_url":"https://api.github.com/users/loli10K/gists{/gist_id}","starred_url":"https://api.github.com/users/loli10K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loli10K/subscriptions","organizations_url":"https://api.github.com/users/loli10K/orgs","repos_url":"https://api.github.com/users/loli10K/repos","events_url":"https://api.github.com/users/loli10K/events{/privacy}","received_events_url":"https://api.github.com/users/loli10K/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-26T10:03:03Z","updated_at":"2017-04-10T18:18:33Z","closed_at":"2017-04-10T18:18:33Z","body":"I've stumbled upon this by pure coincidence: i've been chasing a ZFS bug for quite some time now, and SmartOS is a very fast way for me to test Illumos ZFS without having to compile from source the whole thing: i'm just creating a bunch of virtual machines to find the version that introduced the change in ZFS i'm interested in.\r\n\r\nOn one of these machines i forgot to add a separate \"data\" disk, the result is an infinite loop in the configuration script:\r\n\r\n```\r\n SmartOS Setup                           \r\n Storage                                        http://wiki.smartos.org/install\r\n--------------------------------------------------------------------------------\r\nSmartOS will automatically determine what we think is\r\nthe best zpool layout from your current disks. You may use this\r\nsuggestion, change to another built in storage profile, or simply create\r\nyour own zpool.\r\njson: error: input is not JSON: Expected 'l' instead of 't' at line 1, column 3:\r\n        fatal error: no primary storage disks available\r\n        ..^\r\nfatal error: no primary storage disks available\r\njson: error: input is not JSON: Expected 'l' instead of 't' at line 1, column 3:\r\n        fatal error: no primary storage disks available\r\n        ..^\r\nfatal error: no primary storage disks available\r\njson: error: input is not JSON: Expected 'l' instead of 't' at line 1, column 3:\r\n        fatal error: no primary storage disks available\r\n        ..^\r\nfatal error: no primary storage disks available\r\n^C\r\n\r\nBringing up a shell.  When you are done in the shell hit ^D to\r\nreturn to the system configuration tool.\r\n\r\n[root@ /]# diskinfo -Hp\r\nATA     c2d0    -       -       1999872000      no      no\r\n[root@ /]# fstyp -v /dev/dsk/c2d0p1\r\npcfs\r\nBytes Per Sector  512           Sectors Per Cluster    1\r\nReserved Sectors  32            Number of FATs         2\r\nRoot Dir Entries  0             Number of Sectors      0\r\nSectors Per FAT   0             Sectors Per Track      600\r\nNumber of Heads   1             Number Hidden Sectors  600\r\nVolume ID: 0x0\r\nVolume Label: SMARTOSBOOT\r\nDrive Number: 0x80\r\nMedia Type: 0xf8   \"Fixed\" Disk\r\n[root@ /]# uname -a\r\nSunOS  5.11 joyent_20170315T210557Z i86pc i386 i86pc\r\n[root@ /]#\r\n```\r\n\r\nThis is just FYI, it's probably just a \"cosmetic\" issue."}}
{"actor":{"display_login":"rmustacc"}}