13:28:27 Hi, Im looking for some idea/help regarding OmniOS. I tried to boot it on a machine which I like to use as VM host yesterday but it halted after CPU/USB initialization. 13:29:04 I tried an older image I had somewhere, this one worked immediadly, the one which doesn't work was "omniosce-r151036.iso" - the older image is "omniosce-r151036.iso" 13:30:12 I googled and found an older thread regarding a hanging boot on an Intel machine from 9 years ago. But the flags being proposed to add to boot command didnt really help. 13:30:51 err, correction the image which worked to me was "omnios-r151052b.iso" 13:35:13 151052b is the latest release so if that's the one that worked then that shouldnt be a problem 13:36:54 I see, yes you're right indeed. Maybe I was confused with the 'ce' because the community edition was mentioned explicitly named in the docs. But nowadays its just "OmniOS" or are there two seperate releases? 13:37:42 if you're trying to boot on physical hardware I wonder if it's also worth trying to use the usb-dd image rather than the iso 13:38:22 ah ok there are two seperate images as well? I usually use something called 'balenaEtcher' and simply use those images to flash (it works very well usually) 13:39:25 and another thing I would be interested in is bhyve, how on par is it with the current FreeBSD implementation? Because from what I understood kvm is deprecated and will never be updated again right? 13:39:26 i think the ce was there historically to distinguish from the older omniti images 13:40:23 I've not made use of bhyve so don't know much about it and what it supports 13:41:27 ls -l 13:41:29 oops 13:41:44 ok then I'll just have to test if bhyve on OmniOS works like on FreeBSD 16:55:36 megaTherion - bhyve is pretty much on par with current FreeBSD. It's synced periodically. 16:55:47 andyf: cool, thanks for the confirmation 16:56:10 as I understood there was no way to get KVM more current due the ongoing changes which are very heavily relying on Linux (kernel) ecosystem 16:56:11 Our kernel implementation is a bit different these days, but then we're a different OS so it's not entirely surprising. The userland pieces are fairly similar still. 16:56:46 Right, there are no plans to update KVM now. 19:42:53 ok now Im trying to install OmniOS and I've two NVMe's I want to use, creating a pool fails. I guess its disturbed that there is still a gpt disklabel and all on those 19:45:21 you can try to clear them with the "zpool labelclear" command 19:48:02 no dice 19:48:29 fails how? 19:48:54 "failed to clear label for /dev/rdsk/....." 19:49:12 but I get warnings that the label is corrupt, they had GPT and some btrfs on them I think 19:49:32 and zpool create is failing how? 19:51:40 its too fast gone... cant read it - what's OmniOS tool for GPT labeling disks? 19:52:14 you can use format command for that 19:52:49 format -e, then select the disk and then enter verify to see what is there 19:56:25 ok, cleared the label with parted on Linux... now Im back on OmniOS shell, format -e / verify gives me "Cant read label" 19:56:31 installer still fails with the same issue 20:00:05 I tried labeling with format -e / label (select EFI label) this worked. Now I still need an ESP I guess 20:15:53 if format agrees you have correct label, you can use zpool create -B to create whole disk pool and ESP for you. 20:16:51 or use installer:) 20:17:44 the installer fails, I'd really like to use it :D 20:18:07 and since Im (yet) unfamiliar with OmniOS commands (my OpenSolaris knowledge is like 10+ years ago) 20:18:13 does it fail even with fixed gpt label? 20:18:22 yes 20:18:45 I want to try from shell, but I need to figure out which device/partition it is 20:18:53 ou, ok, thats interesting. 20:19:47 well, for whole disk setup you only need disk name without /dev/rdsk, and use zpool create rpool -B c...d0 -- thats d0 at the end of the name. 20:19:59 so the disks get detected as c3t001B448B4AF180B4d0 and c6t6479A789800000CDd0 20:20:24 format is displaying them and also the correct names (one is a WD 550 blue something and the other is a Crucial nvme) 20:20:36 that should create GPT with 256MB ESP on s0 and then most of the space in s1 for rpool and 8MB slice at the end. 20:20:59 ah ok so zpool will also create the ESP, didnt know that 20:21:26 thats -B 20:21:57 without -B, you will just get s0 and s8 (8MB) 20:22:59 oh now I get an error, "Boot pool can not have more than one vdev" 20:23:28 yes, if you want to present both disk to it, you probably want to use mirror 20:23:32 (because I wanted to have those in a striped configuration) 20:23:40 nah mirror I didnt want (I've backups elsewhere) 20:23:43 so its zpool create -B rpool mirror disk0 disk1 20:24:34 yea, boot pool is special there, it can not have multiple vdevs 20:24:47 it can be single disk, mirror or raidz 20:26:00 there was some work to fix this, but afaik it is still not completed. 20:28:29 ok I cheated, maybe it works - I just added the other disk afterwards to the pool 20:29:19 it will not. you can install it, you can boot from it, but kernel will panic. 20:30:34 botloader can read stripe, but kernel rootfs mount will fail because it has no idea where that second disk is. 20:30:52 thats sad :( 20:31:03 but I've a bigger problem now, it hasn't detected my NIC :D 20:31:26 eh... 20:36:12 well RTL8125 2.5gbps 20:36:18 indeed not an Intel chip, so it sucks 20:41:24 ok I've some other Intel I225-V 2.5gbps card around, I'll just drop this one in it 20:47:40 tsoome_: btw. booting the striped rpool works, would be suprised if not - if it works in a sane way then the kernel shouldnt bother where to find that damn vdevs 20:47:49 works on FreeBSD too 20:58:09 well, your blocks will be spread on both vdevs, yes loader can walk through the disk list (which also has limits), but kernel needs to get boot pool "imported" and root dataset mounted, and for that it needs to find out and build in memory pool config. from disk label it can collect vdev config, but to find next vdev, it needs to browse the disks (as loader also does). 21:00:17 however..... I just did realize we could pass device names from loader to kernel, so the kernel can have a bit easier work, but even that does not work for 100%, because if device names are changed, the kernel still needs to scan disks to find out the new reality. 21:16:08 rpool ONLINE 0 0 0 21:16:09 c1t001B448B4AF180B4d0 ONLINE 0 0 0 21:16:09 c4t6479A789800000CDd0 ONLINE 0 0 0 21:16:18 well it seems to work, maybe I get crashes later who knows :D 21:16:57 ou, 21:17:03 thats ok boot? 21:17:06 yes it boots 21:17:48 let me check if we have any notes around... 21:18:11 thats why I couldn't progress with the installer, because I chose both disks and striped configuration (which was a valid choice) but I got the zpool error 21:23:06 um, jclulow was some corner case left with disk device scan or did we just forgot to lift the multi vdev restriction on boot pool? 21:24:26 tsoome_: It would be more accurate to describe the thing that now works as a corner case 21:24:33 i.e., single vdev pools 21:24:45 see also the notes in https://www.illumos.org/issues/7119 21:24:46 → BUG 7119: boot should handle change in physical path to ZFS root devices (Closed) 21:25:17 ok, so we can drop this restriction. 21:25:34 Which restriction exactly 21:25:55 multi-vdev boot pool is not allowed atm 21:26:58 oh, booting from a _stripe_? 21:27:13 yes. 21:27:40 I just did pfexec pkg update & reboot, still works 21:27:44 I don't think I would ever recommend doing it, but I can't immediately think of a reason it should be banned per se 21:38:37 /dev/rdsk/c4t6479A789800000CDd0: NVMe devices are not supported in this version of smartmontools :( 21:39:47 cd .. 21:39:51 oops:D 21:45:41 https://code.illumos.org/c/illumos-gate/+/3874 21:45:42 → CODE REVIEW 3874: 16983 zpool: we actually do support multi-vdev boot pool (NEW) | https://www.illumos.org/issues/16983 21:48:55 btw. are there pkg mirrors in europe? 21:59:51 I think the primary pkg server is, itself, in Europe 21:59:57 It's why we need a us-west mirror haha 22:01:03 ah I see 22:06:09 well now I'll tinker with zones a bit and have to do a lot of reading 22:23:52 I created a lipkg branded zone with zadm and added allowed-address / defrouter to the config... it installed but I've no route. So the defrouter config is somehow not effective