-
sommerfeld
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.
-
jclulow
sommerfeld: Yeah, I get it
-
jclulow
I am in favour of it haha
-
jclulow
At the moment our strategy is to delete and recreate the zvol (with a new, random encryption key) at boot
-
jclulow
on Oxide systems
-
jclulow
We don't persist the key anywhere
-
jclulow
But for classical UNIX systems I expect trimming would be valuable
-
sommerfeld
(sorry, was away from IRC for a bit and saw some misconceptions floating in..). ephemerally encrypted swap is a good add-on.
-
copec
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"
-
copec
I did have a lot of OI boxes with 40GB Intel SSDs that it would have been really helpful with like 2010
-
igork
rmustacc: thanks for your help. will try investigate vmware
-
jbk
hrm..
-
jbk
github.com/illumos/illumos-gate/blo…c/lib/libsysevent/libsysevent.h#L52 -- is there any reason to not include the function signature in the definition?
-
jbk
granted, i'm guessing syseventd plugins aren't at the top of people's lists for things to write...
-
jbk
but as i hack on zfs_mod I noticed that
-
sommerfeld
jbk: yes, that definitely should get the full function prototype there.
-
jbk
are there any examples offhand of a service that runs on initial boot and disables itself?
-
jbk
(mostly wondering if there's any gotchas with just doing a `svcadm disable $SMF_FMRI` at the end of such a service
-
andyf
There is indeed a gotcha
-
andyf
I'll dig up a reference.
-
jbk
that's why I asked :)
-
andyf
and also why I want to get illumos 15320 (fenix) done some day.
-
fenix
FEATURE 15320: Add support for SMF_EXIT_TEMP_DISABLE (In Progress)
-
fenix
-
jbk
it seemed like there could be, but I couldn't find anything that decribed it
-
andyf
-
andyf
I know some of this comment exists in gate, I just knew where to find this
-
jbk
yeah, the trick is always knowing where to look
-
andyf
-
jbk
ahh ok
-
andyf
5 seems to be favourite :)
-
jbk
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
-
jbk
(at least to me)
-
gitomat
[illumos-gate] 16348 e1000g I219 V17 does not attach -- Robert Mustacchi <rm⊙fo>
-
tsoome_
jbk with eeprom the simplest variant is eeprom console=value -- that one will be stored in /boot/solaris/bootenv.rc
-
tsoome_
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;)
-
jbk
yeah.. this was to default the os_console value for a specific system
-
richlowe
you can override bootenvv.rc with -B (see boot(8)), but that's even worse UI usually.
-
richlowe
if you're stuck with the console in the OS image, and need to whack it
-
tsoome_
-B or set variable=value but thats not permanent:)
-
richlowe
right, yeah, I just meant if jbk was needing to whack it temporarily, and the image on the OS was disagreeing with him :)
-
jbk
i mean, you set 'set os_console=foo' from the loader prompt
-
jbk
which works fine
-
jbk
but for an unattended boot
-
jbk
system X might need ttya, system Y might need ttyb, systemz might be text
-
jbk
and there's a way you can change the default, i didn't think it was just 'eeprom os_console=XXXX'
-
jbk
but something with the nvstore
-
jbk
but ISTR the the values you actually provide had some non-obvious bit about them that i can't recall anymore
-
jbk
and I can't find my notes on it now since this was like 2 years ago or so
-
richlowe
it isn't ringing any bells here
-
tsoome_
it needs nvlist with name illumos:nvstore and pool name (if pool is not rpool)
-
tsoome_
probably should document it but perhaps need to improve it a bit first...
-
gitomat
[illumos-gate] 16368 pkg:/driver/network/platform should just be pkg:/driver/network/dnet -- Richard Lowe <richlowe⊙rn>