00:16:10 richlowe/copec/jclulow: see zfs(8)'s description of volsize. By default a zvol is created with a refreservation but does not have blocks assigned to it. If swap did the DKIOCFREE thing, it would free the blocks to the pool but it would still have a commitment from the pool that it could have equivalent blocks back in the future if it needed them. 00:16:34 sommerfeld: Yeah, I get it 00:16:59 I am in favour of it haha 00:17:27 At the moment our strategy is to delete and recreate the zvol (with a new, random encryption key) at boot 00:17:33 on Oxide systems 00:17:55 We don't persist the key anywhere 00:18:34 But for classical UNIX systems I expect trimming would be valuable 00:22:37 (sorry, was away from IRC for a bit and saw some misconceptions floating in..). ephemerally encrypted swap is a good add-on. 00:48:19 sommerfeld, yeah, even though the blocks don't get de-allocated it hasn't been an issue because I've been running smartos for so long and the swap zvol is tiny compared to everything I have on "zones" 00:50:53 I did have a lot of OI boxes with 40GB Intel SSDs that it would have been really helpful with like 2010 03:55:51 rmustacc: thanks for your help. will try investigate vmware 15:22:05 hrm.. 15:24:43 https://github.com/illumos/illumos-gate/blob/master/usr/src/lib/libsysevent/libsysevent.h#L52 -- is there any reason to not include the function signature in the definition? 15:37:10 granted, i'm guessing syseventd plugins aren't at the top of people's lists for things to write... 15:37:22 but as i hack on zfs_mod I noticed that 16:47:28 jbk: yes, that definitely should get the full function prototype there. 17:14:10 are there any examples offhand of a service that runs on initial boot and disables itself? 17:16:40 (mostly wondering if there's any gotchas with just doing a `svcadm disable $SMF_FMRI` at the end of such a service 17:16:49 There is indeed a gotcha 17:16:59 I'll dig up a reference. 17:17:04 that's why I asked :) 17:17:25 and also why I want to get illumos 15320 (fenix) done some day. 17:17:26 FEATURE 15320: Add support for SMF_EXIT_TEMP_DISABLE (In Progress) 17:17:26 ↳ https://www.illumos.org/issues/15320 17:17:31 it seemed like there could be, but I couldn't find anything that decribed it 17:18:03 https://github.com/oxidecomputer/illumos-gate/blob/stlouis/usr/src/cmd/ipcc/svc-ipcc#L46-L56 17:18:24 I know some of this comment exists in gate, I just knew where to find this 17:18:41 yeah, the trick is always knowing where to look 17:19:33 Here's an example in gate, but without the comment.. https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/hotplugd/svc-hotplug#L40 17:20:23 ahh ok 17:20:48 5 seems to be favourite :) 18:38:55 tsoome: what is the eeprom syntax to set the default os console? I thought I had it, but can't find it.. ISTR that the key/type parameters you have to specify weren't immediately obvious 18:39:00 (at least to me) 19:15:58 [illumos-gate] 16348 e1000g I219 V17 does not attach -- Robert Mustacchi 20:39:01 jbk with eeprom the simplest variant is eeprom console=value -- that one will be stored in /boot/solaris/bootenv.rc 20:42:41 jbk the -b bits really is an attempt to make it possible to create non-volatile store, saved in bootenv area of zfs label and making it possible to have "persistent" variables one can change from loader (bootenv.rc can only be changed from OS). Probably not the best UI;) 20:57:34 yeah.. this was to default the os_console value for a specific system 21:21:43 you can override bootenvv.rc with -B (see boot(8)), but that's even worse UI usually. 21:22:02 if you're stuck with the console in the OS image, and need to whack it 21:23:56 -B or set variable=value but thats not permanent:) 21:28:13 right, yeah, I just meant if jbk was needing to whack it temporarily, and the image on the OS was disagreeing with him :) 21:29:02 i mean, you set 'set os_console=foo' from the loader prompt 21:29:06 which works fine 21:29:22 but for an unattended boot 21:29:36 system X might need ttya, system Y might need ttyb, systemz might be text 21:29:59 and there's a way you can change the default, i didn't think it was just 'eeprom os_console=XXXX' 21:30:17 but something with the nvstore 21:30:55 but ISTR the the values you actually provide had some non-obvious bit about them that i can't recall anymore 21:31:16 and I can't find my notes on it now since this was like 2 years ago or so 21:32:02 it isn't ringing any bells here 21:34:58 it needs nvlist with name illumos:nvstore and pool name (if pool is not rpool) 21:35:57 probably should document it but perhaps need to improve it a bit first... 22:08:29 [illumos-gate] 16368 pkg:/driver/network/platform should just be pkg:/driver/network/dnet -- Richard Lowe