-
Guest57
sorry to bother you all, I'm thinking about what to install as the main os for my home server, and there's practically no information on ilumos online. and I don't know if it is right for me. I don't know much about virtualization, between esxi or other hypervisors, compared to zones or jails, as well as other stuff like what linux does.
-
Guest57
I recently got my hands on a server with two cpus and nearly 200gb of memory, and plenty of linux knowledge, but I also want to try something new, can anyone say if ilumos is a good idea?
-
sommerfeld
Guest57: hard to say. Are you going to get mad when things are subtly different from what you're used to on linux? It may help to spell the OS correctly ("illumos") or search for information about some of the distributions (including omnios, smartos, openindiana)
-
jclulow
If you're looking for a server-focused distribution I would start by looking at the OmniOS documentation probably, or perhaps SmartOS as well depending on how you want your system to work
-
jclulow
illumos is the core of the operating system (kernel and libc, etc); distributions are what you would actually install
-
jclulow
Guest57: e.g., you might start at
omnios.org/setup/freshinstall.html
-
jclulow
As to whether it's a good idea: only you can answer that! We're all pretty fond of it here, and if you're willing to put effort into exploring we're definitely here to help when you get stuck.
-
Guest57
honestly, I was mostly worried about dual cpu support, and just wondering if anyone thought I would hit any roadblocks there. I'm definitely willing to learn, in my opinion trying to get everything to work just how you want to is the most fun part of a home server.
-
hpqoeu
i have a question, i used to have a pfsense vm in esxi, and through vswitch etc i had the outbound connection on a seperate vnic for the vm. right now im using an actual hardware opnsense firewall but im curious how i would replicate this setup if i wanted to move it to my omnios server to a zone, how would you pass through say igb0 completely to the zone? and is ipfw the only firewall?
-
hpqoeu
actually on that note is there pci passthrough in bhvye? thinking about it i could just pass through the whole controller to a vm of choice
-
Guest57
sommerfeld I wouldn't say I'd be very mad, that's like someone biting into an orange and being frustrated about the peel.
-
Guest57
someone who enjoys apples might wonder what another fruit may taste like, but if they were expecting every other fruit to taste like apple, they would be better off just enjoying another kind of apple
-
sommerfeld
Guest57: good attitude. Illumos multiprocessor support is generally very good.
-
Guest57
well that's great to hear, It appears that my builtin NIC is also supported, so it looks like I am ready to move forward.
-
despair86
oh hey i'm back, turns out BTX crashes even on a USB boot key
-
despair86
i just made a bootable oi USB (2022.10), same problem
-
despair86
this was after updating a 2021.10 to 2022.10
-
despair86
platform is a dell poweredge c6145 with the AMD opteron 6386SE
-
despair86
testing the previous boot image (2021.10)
-
despair86
that works
-
despair86
the new loader works if i can chainload from a previously working loader
-
despair86
i have no idea why that is
-
tsoome_
despair86 does UEFI boot work and can you mail me BTX dump?
-
janosch
how do i enable output for trace points TRACE_0, TRACE_1 etc? i am specifically interested in those present in strdoioctl. i found the comment in vtrace.h where these macros are defined:
-
janosch
vtrace is a legacy tracing framework that has been subsumed by the DTrace framework. To allow tracing of legacy vtrace points, the points themselves have been retained, and are provided to DTrace via the "vtrace" DTrace provider
-
janosch
however my dtrace -l only lists fbt entry/return probes for strdoioctl and i don't see anything about a vtrace provider either
-
jclulow
janosch: Note that the definitions for the TRACE_*() family of macros are under an #if defined(DEBUG) guard.
-
jclulow
So you'll need to be running DEBUG bits to be able to use them.
-
jclulow
If you're on OmniOS (and possibly other distributions that use IPS) you may be able to do that with "pkg change-variant".
-
jclulow
If you're on SmartOS you would need a special DEBUG platform image.
-
janosch
aww, missed the ifdef ... too bad, thanks for pointing out
-
jclulow
You're welcome!
-
despair_
tsoome_: this server has no EFI ROM
-
danmcd
janosch: DEBUG SmartOS PIs are available for every release.
-
danmcd
They are just a bit out of the way. Let me know if you need one for a specific SmartOS release.
-
danmcd
And jclulow is right that OmniOS lets you create a BE of your same release bits using `pkg change-variant`... specifically `pkg change-variant {--be-name $NEWBE} debug.illumos=true`
-
andyf
OI too, for completeness.
-
janosch
danmcd: thanks for your offer, but that's not necessary. i do have a debug image at hand as needed.
-
danmcd
Thanks andyf -- couldn't remember if OI had done that or not. (Should've assumed they had.)
-
sommerfeld
regarding my work in progress:
code.illumos.org/c/illumos-gate/+/2631 . Is is safe for a test to assume that /var/tmp is in ZFS (or at least supports ZFS acls?). That's going to be true on both Openindiana and Omnios but I'm not sure about the environment where someone might run illumos tests on SmartOS...
-
fenix
→ CODE REVIEW 2631: 15353 find -useracl/-groupacl ignores type of acl entry resulting in false positive matches (NEW) |
illumos.org/issues/15353
-
bahamat
sommerfeld: That will be true on SmartOS if there's a system zpool at all. And I think (danmcd can confirm) that it needs a zpool to run the tests.
-
jbk
it can create a zpool ontop of files, but usually you give it 3 10+gb disks to use for it's tests
-
sommerfeld
ok. so it sounds like a safe-ish assumption to make, then.
-
bahamat
Yeah, I think so.
-
danmcd
Yeah, /var/tmp is zfs, and when I run tests I always set DISKS to be three small (10G) disks.
-
sommerfeld
DISKS is used by the zfs tests but doesn't seem to be used by util-tests (usr/src/test/util-tests, installs to /opt/util-tests)
-
rmustacc
Yeah, I don't think we should be using DISKS in util-tests.
-
sommerfeld
(usr/src/test/util-tests/tests/find/findtest.ksh looked the like right home for the regression test at first glance)
-
rmustacc
That's what I would have done sommerfeld.
-
rmustacc
So I think you're in the right spot.
-
sommerfeld
ok, thanks.
-
danmcd
Sorry I saw jbk earlier mention it.
-
jbk
yeah that's the zfs tests, i should have clarified
-
gwr
@sommerfeld you should probably have the test check whether the FS supports ACLs, and if not, report SKIP (unsupported on this FS)
-
gwr
eg. pathconf _PC_ACL_ENABLED
-
gwr
_ACL_ACE_ENABLED
-
richlowe
on what filesystem could we test where that would be a problem?
-
gwr
tmpfs
-
richlowe
doesn't the test suite control that, though?
-
gwr
It can control what path it uses. I'm just saying it would be good to check the assumption that the path you chose supports ACLs.
-
richlowe
I guess there's no good way to find one that's definitely ok in the test
-
gwr
Right, depends on the system.
-
gwr
I mean, it's a fair guess it's ZFS, but it's still a guess.
-
gwr
I don't remember if there's a way to get that pathconf info from a script though.
-
richlowe
gwr: see PM for a little bit of trying to make work for y'all :)
-
gwr
thx :)
-
sommerfeld
gwr: looks like python can see it.
-
gwr
Ooh, see "getconf(1)"
-
sommerfeld
% /usr/bin/getconf ACL_ENABLED /tmp
-
sommerfeld
0
-
sommerfeld
% /usr/bin/getconf ACL_ENABLED /var/tmp
-
sommerfeld
2
-
sommerfeld
good deal.
-
sommerfeld
when I get a chance (not right this moment) I'll add that check.
-
gwr
thanks for taking on some bugs
-
sommerfeld
I'm selfishly starting with the ones I've filed.
-
richlowe
that's not selfish
-
jclulow
Yeah I think that is the opposite of selfish haha
-
tsoome_
and then you can create new bugs yourself, so you'll never be out of work:D