/r/illumos

Photograph via snooOG

The new opensolaris community

/r/illumos

862 Subscribers

2

Check NVMe SMART values with smartctl?

Hi,

I wanted to check SMART values of a NVMe SSD, but it seems this is not supported on OmniOS and OpenIndiana:

root in /
# smartctl -a /dev/rdsk/c7t00A0750122490B9Dd0
smartctl 7.4 2023-08-01 r5530 [x86_64-pc-solaris2.11] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/rdsk/c7t00A0750122490B9Dd0: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary


root in /
1 # smartctl -a -d nvme /dev/rdsk/c7t00A0750122490B9Dd0
smartctl 7.4 2023-08-01 r5530 [x86_64-pc-solaris2.11] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/rdsk/c7t00A0750122490B9Dd0: NVMe devices are not supported in this version of smartmontools
=======> VALID ARGUMENTS ARE: ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYPE], usbasm1352r,N, usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, sntasmedia, sntjmicron[,NSID], sntrealtek, jmb39x[-q],N[,sLBA][,force][+TYPE], jms56x,N[,sLBA][,force][+TYPE], auto, test <=======

Use smartctl -h to get a usage summary

Any infos about this? Or am I doing it wrong?

3 Comments
2024/05/03
09:38 UTC

9

Upgrading computer, want opinions for illumos compatible hardware

Hello, my desktop computer is very outdated and the hardware is beginning to fail. I am running Ubuntu 22.04 now, and I'd like to keep the same setup except switch the operating system to OpenIndiana. Dual monitor support is essential, I prefer to keep with 32GB of RAM, and the hardware does not need to be recent -- I care more about affordability. The system I have now uses DDR3 RAM, but I welcome moving to DDR4. It seems like most of the entries on the HCL support DDR3 RAM. I'm not partial to any particular brand or component (aside from its compability with illumos), and I have read through the illumos hardware compatibility list https://docs.openindiana.org/community-hcl/components/ and I would like to know what others are using.

Can you recommend the hardware you are using for your desktop?

Thank you

4 Comments
2024/04/08
01:29 UTC

17

My experience of OpenIndiana/illumos on Haswell Laptop

Firstly, I would like to thank the developers for their hard work maintaining the Solaris bloodline. I've already been aware of illumos distros and tested in VM since a couple years ago and yesterday, I finally decided to try it on the actual hardware.

My laptop has 4th gen intel CPU (Haswell) with Intel HD Graphics 4400 (iGPU) and AMD Radeon GPU. It booted fine with UEFI secure boot disabled although I couldn't see the blue OI ascii logo art on bootloader screen.

And here are my findings:

  • From driver utility, I can see my audio card and Intel wireless card are not working due to driver problem.

  • I'm OK with these but the real deal breaker is that I was thrown straight to the console login, without any eye candy GUI. I guessed that it's Xorg problem, checked the /var/log/xorg.0.log and made several attempts to configure X by creating /etc/X11/xorg.conf.d/10-xorg.conf and changing Driver in Section "Device" to intel, modesetting, vesa and all unfortunately lead to failure. And according to this mail : https://www.mail-archive.com/oi-dev@openindiana.org/msg06187.html , I tried booting with Legacy Bios and got the GUI due to vesa's working under Bios. There's problem with intel gpu driver or kms and only if it's fixed, the Xorg could possibly run with UEFI on my machine.

  • Additionally, somehow, it couldn't detect the external monitor connected via HDMI and the system keyboard is not working properly, like if I press "7", I got "7777..." (15 "7"s), and 15 or 14 backspaces if I press a Backspace. For that, I had to connect external keyboard to type commands. These are what I couldn't figure why.

So, if someone's using Bios, I think OpenIndiana won't disappoint you. But for me, I guess it's not the right time to install on my laptop. I will try again at another time when the OS gets even better driver support. Well, that is, if my laptop could survive and see that day though.

0 Comments
2024/03/20
16:32 UTC

7

Neiracs blog has illumos content like:

IPXE Booting in Omniosce

https://neirac.srht.site/posts/ipxe_boot.html

Found it in Vermadens [Valuable News])https://vermaden.wordpress.com/news/).

0 Comments
2024/03/12
13:55 UTC

8

486

Hello, longtime linux/Unix user first time illumos user. I was just looking into illumos as I was trying to find a newer unix base for a 486 machine I have, it looks like around 2017 seems to be the date tribblix/openindiana list leaving 32-bit support, I'm currently downloading both though I am thinking tribblix seems like it might be a better fit, I'll probably test it out before I get an answer but curious if anyone knows it just says 32-bit support does the illumos kernel support the 486 architecture? and if not is it a opensource kernel in the sense I could compile the source myself, I am just poking around the website myself right now just figured I'd post while I wait on downloads.

5 Comments
2024/01/29
22:49 UTC

10

Where is my disk space going? (OpenIndiana)

Warning: I'm an OpenIndiana newbie that has just been experimenting with it in a virtual machine.

I recently tried to update my VM which has been working great for months, but this time it told me I didn't have enough free space. I'm trying to sort through this but can't make sense of it. It's a 60GB virtual disk, I'm only using 13.7GB but I only have 4.63G free?

$ sudo df -h 
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/ROOT/openindiana-2023:10:15-1
                     57.64G 13.70G      4.63G    75%    /
/devices                  0      0          0     0%    /devices
/dev                      0      0          0     0%    /dev
ctfs                      0      0          0     0%    /system/contract
proc                      0      0          0     0%    /proc
mnttab                    0      0          0     0%    /etc/mnttab
swap                  3.24G   416K      3.24G     1%    /etc/svc/volatile
objfs                     0      0          0     0%    /system/object
bootfs                    0      0          0     0%    /system/boot
sharefs                   0      0          0     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                     18.33G 13.70G      4.63G    75%    /lib/libc.so.1
fd                        0      0          0     0%    /dev/fd
swap                  3.42G 192.02M      3.24G     6%    /tmp
swap                  3.24G    76K      3.24G     1%    /var/run
rpool                57.64G    34K      4.63G     1%    /rpool
rpool/export         57.64G    24K      4.63G     1%    /export
rpool/export/home    57.64G    24K      4.63G     1%    /export/home
rpool/export/home/scott
                     57.64G 269.66M      4.63G     6%    /export/home/scott

4 Comments
2023/12/24
19:19 UTC

5

Does the recent ZoL bug affect illumos base?

I read about a recent zfs bug, apparently affecting even FreeBSD. Does it affect illumos too?

This comment kind of resonate with me,

My conclusion is that ZoL != Solaris ZFS. Once it left enterprise with controlled hardware and dedicated engineering & support teams, it regressed and devolved. Beware of fanboys where passion and tribalism exceeds evidence and reliability.

3 Comments
2023/12/07
07:39 UTC

6

Request for your assistance in debugging an illumos only issue

I have an app with some ZFS specific functionality that I'd love to work on illumos.

My app seems to fail only when attempting to run via ssh. It works fine when I run it via a VM's console, but hard hangs the terminal (you can kill the app via another terminal, but the app's terminal never recovers) whenever I attempt to run it via ssh. I've tried changing the TERM env var to sun-color, and what seemed like other relevant TERM and sshd_config settings, and others, but to no avail.

Would any of you happen have other thoughts as to how to proceed?

If you'd like to take a shot at debugging yourself you can install the illumos feature branch with: cargo install --git https://github.com/kimono-koans/httm.git --branch "illumos_support"

Thanks!

0 Comments
2023/11/30
22:18 UTC

6

Understanding the relationship between User Thread, LWP, and Kernel Thread

Hello, I'm trying to better understand the relationship between a user thread, a lightweight process, and a kernel thread in the illumos kernel.

I think that I understand the fundamentals of each; a user thread is a thread within a running process, and a kernel thread resides in the kernel to execute the user thread by using the LWP as an intermediate between itself [the kernel thread] and the user thread. It seems like the LWP was important when pre-Solaris 10 kernels used the M:N thread model. As I understand it, the M:N thread model was designed to allow multiple user threads to use a single LWP.

It seems like using the LWP as an intermediate between the user thread and the kernel thread had an important aspect under the M:N thread model. Seeing that the illumos kernel now uses a 1:1 thread model, what functionality does the LWP provide to the user thread and the kernel thread?

0 Comments
2023/10/12
19:30 UTC

4

OpenIndiana assumes hardware RTC is set to local time.

I'm trying out Openindiana in a VM on Proxmox. Ever time I boot it assumes the hardware real time clock is set to local time instead off UTC. How do I fix it?

2 Comments
2023/09/02
08:11 UTC

6

firefox package for tribblix?

is there a firefox package available for tribblix somewhere? i tried zap install-overlay pkgsrc, but no firefox among those smartos packages..

5 Comments
2023/08/03
09:29 UTC

3

OmniOS, Zone A has internet while Zone B doesn't. Both have same configs

The OS is omnios-r151044-f18bff8d13, the zones are sparse zones.

Running OmniOS, using two zones with exclusive IP stacks using IPv4 only. Zone A connects to the internet, while Zone B cannot connect to the internet. Zone B can ping the physical router.

Zone A net config:

net:
    allowed-address: 192.168.122.69/24
    defrouter: 192.168.122.1
    physical: vnic10

Zone B net config:

net:
    allowed-address: 192.168.122.206/24
    defrouter: 192.168.122.1
    physical: vnic13

Zone A, netstat -rvn

IRE Table: IPv4
Destination    Mask            Gateway         Device    MTU  Ref  Flg  Out  In/Fwd
------------------------------------------------------------------------------------
default        0.0.0.0         192.168.122.1   -           0    2   UG    7       0
127.0.0.1      255.255.255.255 127.0.0.1       lo0      8232    2   UH    0       0
192.168.122.0  255.255.255.0   192.168.122.69  vnic10   1500    4   U     0       0

Zone B, netstat -rvn

IRE Table: IPv4
Destination    Mask            Gateway         Device    MTU  Ref  Flg  Out  In/Fwd
------------------------------------------------------------------------------------
default        0.0.0.0         192.168.122.1   -           0    1   UG    0       0
127.0.0.1      255.255.255.255 127.0.0.1       lo0      8232    2   UH    0       0
192.168.122.0  255.255.255.0   192.168.122.206 vnic13   1500    2   U     0       0 

I read through the OmniOS docs, as well as Oracle's docs and manual pages. I can't seem to figure out why Zone B won't connect to the internet. I would appreciate any help in finding a solution getting Zone B to have an internet connection. Thanks in advance

8 Comments
2023/06/20
22:31 UTC

9

steamcmd in linux zone..

Running Tribblix on my vps and wondering how performance would be if I were to run steamcmd to host servers under a linux zone. Would it be slow (limited to 1 core, no gpu perf, bad io) like it would be in virtualbox, or?

I really hate linux

7 Comments
2023/06/19
18:54 UTC

6

System hangs with no log messages in new boot environment after update

May 29 12:55:21 oi unix: [ID 201750 kern.warning] WARNING: Fast reboot is not supported on this platform due to presence of boot-time modules
May 29 12:55:21 oi genunix: [ID 672855 kern.notice] syncing file systems...
May 29 12:55:21 oi genunix: [ID 904073 kern.notice]  done
May 29 13:07:51 oi genunix: [ID 540533 kern.notice] ^MSunOS Release 5.11 Version illumos-45bf502ff9 64-bit
May 29 13:07:51 oi genunix: [ID 877030 kern.notice] Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.

The above is the content of /var/adm/messages when rebooting into a new boot environment. The gap between 12:55:21 and 13:07:51 elapses from shutdown of old boot environment, boot into new environment, hang during boot of new environment, reboot into old boot environment.

Last message on console at boot into new environment relates to nvidia kernel mode setting and there are a few devid mismatch warning messages prior to that, but no clear error message.

Any thought on what might be going wrong is appreciated. I have searched the few messages I see at boot but none of the results give me any clear direction.

Thanks in advance!

1 Comment
2023/05/29
04:47 UTC

7

editors for Openindiana?

Only GUI editor seems to be Pluma. Unfortunately it flickers everytime you move cursor, which drives me mad. Doesn't even have gedit or nedit, which are very common. So alternatives seem to something like vi which is rather crude.

Openindiana subbredit seems dead, so I posted here.

3 Comments
2023/05/26
13:14 UTC

7

OmniOS, Zones, Exclusive IP not connecting to internet - Beginner

SOLVED

I would like to give a big thanks to both u/IvanRichwalski and u/ptribble. Using their advice, the zone has connected to the internet. The issue I encountered was with routing. In order to connect the zone to the internet, I used route -p add default XXX.XXX.XXX.1 and set the zone itself to use the same network.

----------------------------------

Hello, I'm having trouble with a standard zone using an exclusive IP on OmniOS. The zone boots and runs fine with the exception of not connecting to the internet.

OS: omnios-r151044

output of zonecfg -z practicezone info:

user@omnios:$ zonecfg -z practicezone info
zonename: practicezone
zonepath: /zones/practicezone
brand: lipkg
autoboot: false
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
fs-allowed:
net:
    address not specified
    allowed-address: 10.0.0.1/24
    defrouter: 10.0.0.1
    global-nic not specified
    mac-addr not specified
    physical: practicevnic0
    vlan-id not specified

output of dladm from within practicezone:

root@practicezone:# dladm
LINK            CLASS    MTU    STATE    BRIDGE    OVER
practicevnic0   vnic     1500   up       --        ?

Initially, I realized that the zone did not have internet by attempting to update the zone with the command pkg update.

How would I correct this issue so that the zone could have access to the internet?

I've read through the Illumos doc pages regarding the creation of zones, and the OpenSolaris/OpenIndiana/OmniOS/SmartOS doc pages as well. I've also googled both Illumos Exclusive IP Zones and Solaris Exclusive IP Zones, but it would appear that none of the posts or forum responses answer this question specifically.

I'm guessing that I've overlooked something simple, but can't put my finger on it. Bear in mind that I'm a beginner, so please be patient. Thanks in advance.

---EDIT 1--- #removing defrouter

Since creating this post, I haven't shown what I've tried to fix the issue of the zones not connecting to the internet, but in this update I will show what I've tried and what results have come of it.

Initially, I had tried following the official OmniOS guide on how to create a zone ( https://omnios.org/setup/firstzone ). I deviated slightly from the general configuration of the zone shown in this tutorial without affecting the networking section of said tutorial.

I realized that I had accidentally created the allowed-address with the same IP as the defrouter. In an effort to preserve this original zone, I created a second zone, this time omitting the defrouter field (as a default router would logically not be needed if the vnic the zone is connected to is directly attached to the NIC?).

This second zone, named zone1, received the configuration as follows:

user@omnios:$ pfexec zonecfg -z zone1 info
zonename: zone1
zonepath: /zones/zone1
brand:sparse
autoboot: true
ip-type: exclusive
#all other config blank

net:
    allowed-address: 10.0.10.2/24
    physical: vnic1 #configured and up
    #defrouter HAS NOT been set in this zone
    #all other configs blank

Again, I attempted to ping outside of the local network, and ping: unknown host X was returned. Following the comment section here, I used ipadm show-addr which returned:

ADDROBJ    TYPE    STATE    ADDR
lo0/v4     static  ok       127.0.0.1/8
vnic1/_a   from-gz ok       10.0.10.2/24
lo0/v6     static  ok       ::1/128

The command netstat -r | grep 10.0.10.2 returns:

Destination    Gateway    Flags    Ref    Use    Interface
10.0.10.0      10.0.10.2  U        2      0      vnic1

Still, no internet connection. I'll review the OmniOS docs page where I found what I believe to be a recommendation to not configure a default route in the way this zone is set up.

---EDIT 2--- #setting defrouter to physical router IP

I created a third zone, this time again trying to follow the comments from this post. This time, I set defrouter to the local IP address of the physical router. The zone brand was left as default and autoboot was left as default -- I doubt this makes a difference but I feel it's worth mentioning. The config is as follows:

user@omnios:$ pfexec zonecfg -z zone2 info
zonename: zone2
zonepath: /zones/zone2
autoboot: true
ip-type: exclusive
net:
    allowed-address: 10.11.11.3/24
    defrouter: XXX.XXX.X.1
    physical: vnic2

Upon trying to ping outside of the network, the output unknown host X is returned

From within zone2, ipadm show-addr | grep vnic2 returns:

ADDROBJ    TYPE    STATE    ADDR
vnic2/_a   from-gz ok       10.11.11.3/24

Also from within zone2, netstat -r returns :

Destination    Gateway    Flags    Ref    Use    Interface
10.11.11.0      10.11.11.3 U        2      0      vnic2

*Shouldn't defrouter XXX.XXX.X.1 appear in the output of netstat -r?*

Upon attempting to ping the physical router at IP address XXX.XXX.X.1, the following output is returned:

root@zone2:# ping XXX.XXX.X.1
ping: sendto No route to host

I began at the OmniOS documentation and also read the OpenIndiana docs regarding networking and zones. I've followed the illumos manual pages and Solaris 11 doc pages. It seems that most to all resources available don't cover the specific topic of using an exclusive IP within a zone, with static network configuration.

8 Comments
2023/05/24
15:40 UTC

4

Providing some basic automation

So I have been getting into automating some regular tasks that I do on a regular basis and thought I would share with communities. I know my code isn't the best but these are things that I have been using to help myself be a little more productive.

License: copyfree-just don't claim it is yours and don't sue me over it. Otherwise I don't care what you do with the code.

SRC: https://github.com/mdc6534/automator

0 Comments
2023/05/19
13:14 UTC

4

Crossbow for simulation of office setup vs other alternatives

I'd like to study ways to setup a lab simulation for office configurations, using vpn tunnels to other offices, carp for high-availability, bgpd (without having a ip subnet, just simulation) and other tools, using a BSD system.

Crossbow is not included in the Bible of Solaris and I don't find much information online, specially a similar howto that could guide me.

Is it possible to use Crossbow to simulate such a setup? It seems I would need to use Bhyve for each virtual machine.

How is it different from what one can get from Linux or BSDs? How is it more complete?

8 Comments
2023/04/22
21:44 UTC

5

Quick Question About OpenIndiana

Reference URL: Using distribution constructor - OpenIndiana Docs

I was poking around on this and was wondering if there was a way to include a few shell scripts instead of packages within the environment before the image got built (mainly automation stuff for myself).

3 Comments
2023/04/10
22:32 UTC

7

Why the move to gnu utils?

So I am curious about the move to gnu utils for the userland over the historic studio compiler. I know on another thread in one of the BSD subreddits that gnu stuff kinda sucks in one of the developers opinions. I don't care either way, just curious to see opinions and thoughts.

10 Comments
2023/03/01
23:32 UTC

7

Oracle Solaris 11 to illumos Packages

How easy is it to convert Oracle Solaris 11 packages to illumos packages? I am looking to build a few things for Oracle Solaris but also want them to be available for the illumos community to benefit from.

4 Comments
2023/02/23
15:25 UTC

1

Open Indiana 2022.10 as a Linux KVM Guest

I am trying to check out the newest OpenIndiana iso by booting it with KVM using Ubuntu 22.10

With the liveDVD ISO I keep getting an error:

nvidia_modeset: Unloading

while trying to boot. I do not have any Nvidia hardware, this computer is using an AMD 6850U

I have not had issues running any other virtual machine but this is the first time trying OI on this machine. If I login to the console I can try to run startx but it fails with "no screens found"

Any help would be appreciated.

3 Comments
2023/01/30
14:12 UTC

16

Oxide Computer Hypervisor?

Does anyone know if Oxide has made public what base OS they’re running on their hypervisors? I’m guessing Illumos kernel + bhyve?

Anyone know if it’s an existing Illumos distribution or something in house?

I really want to run SmartOS for my home(lab|prod), but I’m a little dissuaded by the difficulty getting arbitrary iso based linux distros to install (this probably isn’t a typical use case…) I want to run what I can in native zones, but I don’t think I’m ready to 100% cut the linux HVM cord.

Really hoping Oxide will drive community excitement for Illumos.

7 Comments
2023/01/10
16:36 UTC

7

Illumos/SmartOS/OmniOS installation woes

I'm interested in Illumos (and siblings)'s ability to manage containers and VMs together in a lightweight environment (ie not vSphere/Tanzu or Harvester). However, whenever I try booting it on one of my lab servers - Lenovo P340 Tiny machines (64GB RAM and an i5-11500) I get the boot menu, then a prompt, I press install, I get "Booting ..." on a blue background and then it just hangs forever.

I get the same whether I use a USB stick or attach the ISO image over the network via PiKVM. Which I agree is technically the same end result as far as the server is concerned.

I turned on the extra logging but get no additional information at all.

Yes, the box only has USB3 ports, although I'm using USB2 sticks and PiKVM is connected on USB2. I've tried several USB sticks, checked the checksums, tried SmartOS, Triton DC, OmniOS, and OpenIndiana - all fail the same way.

Any suggestions? Many thanks in advance.

8 Comments
2023/01/01
21:00 UTC

5

Openindiana / Tribblix pkgsrc?

Hello. I installed OpenIndiana on one of my computers, and Tribblix on one other. On openindiana I followed the instructions from Joyent's website to bootstrap pkgsrc on my system, and on Tribblix I used zap to install the pkgsrc overlay. After installing pkgsrc I installed xmms via pkgsrc install xmms. It installed xmms to /opt/local. However, the problem happens when I'm trying to run it. Simply running /opt/local/bin/xmms gives me a segfault and running it with LD_LIBRARY_PATH=/opt/local/lib /opt/local/bin/xmms solves it. It's pretty inconvenient to run programs installed using pkgsrc with the LD_LIBRARY_PATH variable all the time, and packages from Openindiana, like firefox doesn't run with that variable set to /opt/local/lib so I can't have it on bashrc either. Is there a fix for this?

5 Comments
2023/01/01
16:29 UTC

Back To Top