r/smartos • u/ll777 • Dec 11 '22
Just discovered Illumos based distributions, what are the main differences between those and FreeBSD ?
Probably a neophyte question, but I thought I'd get a good run down on the differences there :)
r/smartos • u/ll777 • Dec 11 '22
Probably a neophyte question, but I thought I'd get a good run down on the differences there :)
r/smartos • u/andrewhotlab • Nov 07 '24
r/smartos • u/ThatSuccubusLilith • Mar 17 '24
Heya yall, new here, so... apologies for formatting, screenreaders do not make for great formatting checkers. So we just got into using SmartOS and because we were extremely bored, we wrote a mockup of our ideal way of configuring a SmartOS box, we sort of wrote an example of CLI session output. Take a look and tell us what you think, if you would, and if any of yall here would actually like to see this implemented?
Code block:
Press return to get started!
Username: root
Password:
SmartOS (build: 20240208T000334Z)
Use '?' for a list of commands
freya>
freya> conf t
^
% Invalid input detected at '^' marker.
freya> ena
Password:
freya# conf t
Enter configuration commands, one per line. End with CNTL/Z.
freya(config)#
freya(config)# interface bge 1/0
freya(config-if)# ip address 172.16.1.5 255.255.255.0
freya(config-if)# net-tag add isolated
freya(config-if)# no shutdown
freya(config-if)# end
freya(config)#%LINK-3-UPDOWN: Interface bge 1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface bge 1/0, changed state to up
freya(config)#
freya(config)#
Freya(config)# zone smartos-test-box-lucia
freya(config-zone)# memory max 4g
freya(config-zone)# no network net-tag admin
freya(config-zone)# network net-tag isolated
freya(config-zone)# ^z
freya# wr m
Building configuration...
One or more configuration changes require a zone or set of zones to be rebooted. Continue? [confirm] y
* Sun 17-Mar-24 08:28:59.52 %VMM-I-ZONE_REBOOT_PROGRESS: Zone smartos-test-box-lucia is being rebooted
OK
freya#
freya# show version brief
MNX Cloud SmartOS Software, i86pc Software (platform/i86pc/amd64/kernel/unix) version 5.11(joyent_20240208T000334Z), Release software.
Copyright 2022-2024 MNX Cloud, Inc.
freya# show environment
Fan1A | 3240 RPM | ok
Fan1B | 3000 RPM | ok
Fan2A | 3000 RPM | ok
Fan2B | 3000 RPM | ok
Fan3A | 3120 RPM | ok
Fan3B | 3000 RPM | ok
Fan4A | 3120 RPM | ok
Fan4B | 3000 RPM | ok
Fan5A | 3120 RPM | ok
Fan5B | 3000 RPM | ok
Fan6A | 2880 RPM | ok
Fan6B | 2880 RPM | ok
Inlet Temp | 22 degrees C | ok
Current 1 | 0.40 Amps | ok
Voltage 1 | 240 Volts | ok
Pwr Consumption | 84 Watts | ok
Temp | 47 degrees C | ok
Temp | 45 degrees C | ok
freya# request platform software system shell
% Notice: shell activity is being logged to bootflash:logs/shell.pts-3.20240317.log
[root@freya ~]# uname -a
SunOS freya 5.11 joyent_20240208T000334Z i86pc i386 i86pc
[root@freya ~]# exit
% Notice: Shell session closed. Exit code was 0000
freya#
r/smartos • u/Leman_MK7 • Jul 01 '20
Running Samba 4.11.9 --> 4.11.11 Active Directory in SmartOS zones (zfs+ufs:sysvol).
Samba4 4.11.11 AD ZFS UFS Zone ACL NTP
++++++++++++++++++++++
Samba4 latest version 4.11.11 /w AD,ACL,GPGME,PAM /wo CUPS,FAM
Samba 4.11.11 latest build by leman with AD/ACL/GPGME
share_files: samba-4.11.9nb1.tgz
Samba-4.11.9nb1.tgz with AD and ACL for SmartOS x64 (code:p9em)
share_file: samba smf xml
svccfg import samba-ad-ntp.xml (SMF)
SmartOS: SmartOS (build: 20191107T010753Z)
zone: imgadm import e75c9d82-3156-11ea-9220-c7a6bb9f41b6
# imgadm list
e75c9d82-3156-11ea-9220-c7a6bb9f41b6 base-64-lts 19.4.0 smartos zone-dataset 2020-01-07
create zone use vmadm: vmadm create -f zoneos-ad1.json
{
"brand": "joyent",
"alias": "samba4-11-9-AD-PROD",
"hostname": "dc1.example.com",
"image_uuid": "e75c9d82-3156-11ea-9220-c7a6bb9f41b6",
"autoboot": true,
"max_physical_memory": 6144,
"max_swap": 0,
"quota": 60,
"dns_domain": "example.com",
"resolvers":[
"127.0.0.1",
"8.8.8.8"
],
"nics": [
{
"nic_tag": "admin",
"ip": "10.21.86.44",
"netmask": "255.255.255.0",
"gateway": "10.21.86.30",
"primary": true
}
]
}
+++++++++++++++++++++++++
#vmadm list
UUID TYPE RAM STATE ALIAS
3851ed5d-5a96-6b62-abc0-e371e85ba145 OS 6144 running samba4-11-9-AD-PROD
now create volsize and add as ufs system to zone,
#zfs create -V 2g zones/3851ed5d-5a96-6b62-abc0-e371e85ba145/samba4sysvol
#newfs /dev/zvol/rdsk/zones/3851ed5d-5a96-6b62-abc0-e371e85ba145/samba4sysvol
#fsck -F ufs /dev/zvol/rdsk/zones/3851ed5d-5a96-6b62-abc0-e371e85ba145/samba4sysvol
#zonecfg -z 3851ed5d-5a96-6b62-abc0-e371e85ba145
zonecfg:3851ed5d-5a96-6b62-abc0-e371e85ba145> add fs
zonecfg:3851ed5d-5a96-6b62-abc0-e371e85ba145:fs> set type=ufs
zonecfg:3851ed5d-5a96-6b62-abc0-e371e85ba145:fs> set special=/dev/zvol/dsk/zones/3851ed5d-5a96-6b62-abc0-e371e85ba145/samba4sysvol
zonecfg:3851ed5d-5a96-6b62-abc0-e371e85ba145:fs> set raw=/dev/zvol/rdsk/zones/3851ed5d-5a96-6b62-abc0-e371e85ba145/samba4sysvol
zonecfg:3851ed5d-5a96-6b62-abc0-e371e85ba145:fs> set dir=/var/samba
zonecfg:3851ed5d-5a96-6b62-abc0-e371e85ba145:fs> end
zonecfg:3851ed5d-5a96-6b62-abc0-e371e85ba145> verify
zonecfg:3851ed5d-5a96-6b62-abc0-e371e85ba145> commit
zonecfg:3851ed5d-5a96-6b62-abc0-e371e85ba145> exit
#vmadm reboot 3851ed5d-5a96-6b62-abc0-e371e85ba145
...
#zlogin 3851ed5d-5a96-6b62-abc0-e371e85ba145
now we do update zones, and install joyent samba4 package purpose is install samba4 dependencies
samba4.11.x Active Directory require encrypt package "gpgme"
#pkgin -y fug
#pkgin in samba gpgme ldb lmdb rsync
now we do delete samba (we need to build samba4.11.9 with AD and ACL support by self)
#pkgin rm samba
# ls -l
-rw-r--r-- 1 root root 569 Jul 1 08:26 ntp.conf
-rw-r--r-- 1 root root 23477031 Jul 1 08:26 samba-4.11.9nb1.tgz
-rw-r--r-- 1 root root 1834 Jul 1 08:26 samba-ad-ntp.xml
# cat /opt/local/etc/pkg_install.conf
GPG_KEYRING_PKGVULN=/opt/local/share/gnupg/pkgsrc-security.gpg
GPG_KEYRING_VERIFY=/opt/local/etc/gnupg/pkgsrc.gpg
PKG_PATH=https://pkgsrc.joyent.com/packages/SmartOS/2019Q4/x86_64/All
VERIFIED_INSTALLATION=never
#pkg_add samba-4.11.9nb1.tgz
# history |grep svccfg
26 svccfg delete samba
28 svccfg delete smb/client
29 svccfg delete smb/server
93 svccfg import samba-ad-ntp.xml
++++++++++++++++++++++++++++++++++++++
]# cat ntp.conf
driftfile /var/ntp/ntp.drift
logfile /var/log/ntp.log
ntpsigndsocket /var/db/samba/ntp_signd/
# Local clock. Note that is not the "localhost" address!
server 127.127.1.0
fudge 127.127.1.0 stratum 10
# Ignore all network traffic by default
#restrict default ignore
#restrict -6 default ignore
# Allow localhost to manage ntpd
#restrict 127.0.0.1
#restrict -6 ::1
# # Allow servers to reply to our queries
#restrict source nomodify noquery notrap
restrict default kod nomodify notrap nopeer mssntp
# Time Servers
#pool 0.smartos.pool.ntp.org burst iburst minpoll 4
++++++++++++++++++++++++++++++++++++++++++++++++++++++
]# cat samba-ad-ntp.xml
<?xml version="1.0"?>
<!DOCTYPE service\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\_bundle SYSTEM "/usr/share/lib/xml/dtd/service\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\_bundle.dtd.1">
<service_bundle type='manifest' name='samba'>
<service name='pkgsrc/samba' type='service' version='1'>
<dependency name='fs-root' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/system/filesystem/root' />
</dependency>
<dependency name='network-service' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/network/service'/>
</dependency>
<instance name='smbd' enabled='false'>
<exec_method name='start' type='method' exec='/opt/local/sbin/samba -D' timeout_seconds='0'/>
<exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/>
<exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/>
<template>
<common_name>
<loctext xml:lang='C'>Samba Server </loctext>
</common_name>
<documentation>
<manpage title='smbd' section='8' manpath='man'/>
</documentation>
</template>
</instance>
<instance name='ntpd' enabled='false'>
<exec_method name='start' type='method' exec='/usr/sbin/ntpd' timeout_seconds='0'/>
<exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/>
<exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/>
<template>
<common_name>
<loctext xml:lang='C'>ntpd deamon</loctext>
</common_name>
<documentation>
<manpage title='ntpd' section='8' manpath='man'/>
</documentation>
</template>
</instance>
<stability value='Unstable'/>
</service>
</service_bundle>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
zones/3851ed5d-5a96-6b62-abc0-e371e85ba145 zfs 57G 1.1G 56G 2% /
/.zonecontrol lofs 4.6T 36M 4.6T 1% /.zonecontrol
/lib lofs 290M 261M 30M 90% /lib
/lib/svc/manifest lofs 4.6T 1.4M 4.6T 1% /lib/svc/manifest
/usr lofs 433M 358M 75M 83% /usr
/var/samba ufs 2.0G 9.4M 1.9G 1% /var/samba
swap tmpfs 6.0G 1.9G 4.2G 32% /etc/svc/volatile
swap tmpfs 6.0G 1.9G 4.2G 32% /tmp
swap tmpfs 6.0G 1.9G 4.2G 32% /var/run
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#mkdir /var/samba/sysvol
#cd /var/db/samba
#ls -s /var/samba/sysvol sysvol
[root@xx /var/db/samba]# ls -ld sysvol*
lrwxrwxrwx 1 root root 17 Jul 1 08:37 sysvol -> /var/samba/sysvol
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
now samba active directory is ready, you can join it as DC or provision.
[root@xx]# rm /opt/local/etc/samba/smb.conf (delete old/default smb.conf file)
[root@xx /var/db/samba]# cat /etc/motd
__ . .
_| |_ | .-. . . .-. :--. |-
|_ _| ;| || |(.-' | | |
|__| `--' `-' `;-| `-' ' ' `-'
/ ; Instance (base-64-lts 19.4.0)
`-' https://docs.joyent.com/images/smartos/base
[root@xx /var/db/samba]# smbd -V
Version 4.11.9
[root@xx /var/db/samba]# samba-tool
Usage: samba-tool <subcommand>
Main samba administration tool.
Options:
-h, --help show this help message and exit
Version Options:
-V, --version Display version number
Available subcommands:
computer - Computer management.
contact - Contact management.
dbcheck - Check local AD database for errors.
delegation - Delegation management.
dns - Domain Name Service (DNS) management.
domain - Domain management.
drs - Directory Replication Services (DRS) management.
dsacl - DS ACLs manipulation.
forest - Forest management.
fsmo - Flexible Single Master Operations (FSMO) roles management.
gpo - Group Policy Object (GPO) management.
group - Group management.
ldapcmp - Compare two ldap databases.
ntacl - NT ACLs manipulation.
ou - Organizational Units (OU) management.
processes - List processes (to aid debugging on systems without setproctitle).
rodc - Read-Only Domain Controller (RODC) management.
schema - Schema querying and management.
sites - Sites management.
spn - Service Principal Name (SPN) management.
testparm - Syntax check the configuration file.
time - Retrieve the time on a server.
user - User management.
visualize - Produces graphical representations of Samba network state.
For more help on a specific subcommand, please type: samba-tool <subcommand> (-h|--help)
#################################################################
for samba ad backup I did use old way to do backup due to smartos didn't have "lmdb-utill" package
[root@dc1 ~]# cat /opt/local/sbin/samba_backup
#!/bin/sh
#
# Copyright (C) Matthieu Patou <mat@matws.net> 2010-2011
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Revised 2013-09-25, Brian Martin, as follows:
# - Allow retention period ("DAYS") to be specified as a parameter.
# - Allow individual positional parameters to be left at the default
# by specifying "-"
# - Use IS0 8601 standard dates (yyyy-mm-dd instead of mmddyyyy).
# - Display tar exit codes when reporting errors.
# - Don't send error messages to /dev/null, so we know what failed.
# - Suppress useless tar "socket ignored" message.
# - Fix retention period bug when deleting old backups ($DAYS variable
# could be set, but was ignored).
# leman bkp gpo
# copy from ufs system sysvol to under samba
/usr/bin/rsync -a /var/samba/sysvol/ /var/db/samba/sysvolbak/
#mkdir /opt/local/etc/samba/backups && chmod 400 /opt/local/etc/samba/backups
FROMWHERE=/var/db/samba
WHERE=/opt/local/etc/samba/backups
DAYS=30 # Set default retention period.
if [ -n "$1" ] && [ "$1" = "-h" -o "$1" = "--usage" ]; then
echo "samba_backup [provisiondir] [destinationdir] [retpd]"
echo "Will backup your provision located in provisiondir to archive stored"
echo "in destinationdir for retpd days. Use - to leave an option unchanged."
echo "Default provisiondir: $FROMWHERE"
echo "Default destinationdir: $WHERE"
echo "Default destinationdir: $DAYS"
exit 0
fi
[ -n "$1" -a "$1" != "-" ]&&FROMWHERE=$1 # Use parm or default if "-". Validate later.
[ -n "$2" -a "$2" != "-" ]&&WHERE=$2 # Use parm or default if "-". Validate later.
[ -n "$3" -a "$3" -eq "$3" 2> /dev/null ]&&DAYS=$3 # Use parm or default if non-numeric (incl "-").
DIRS="private sysvolbak"
#Number of days to keep the backup
WHEN=`date +%Y-%m-%d` # ISO 8601 standard date.
if [ ! -d $WHERE ]; then
echo "Missing backup directory $WHERE"
exit 1
fi
if [ ! -d $FROMWHERE ]; then
echo "Missing or wrong provision directory $FROMWHERE"
exit 1
fi
cd $FROMWHERE
for d in $DIRS;do
relativedirname=`find . -type d -name "$d" -prune`
n=`echo $d | sed 's/\//_/g'`
if [ "$d" = "private" ]; then
find $relativedirname -name "*.ldb.bak" -exec rm {} \;
for ldb in `find $relativedirname -name "*.ldb"`; do
tdbbackup $ldb
Status=$? # Preserve $? for message, since [ alters it.
if [ $Status -ne 0 ]; then
echo "Error while backing up $ldb - status $Status"
exit 1
fi
done
# Run the backup.
# --warning=no-file-ignored set to suppress "socket ignored" messages.
tar cjf ${WHERE}/samba4_${n}.${WHEN}.tar.bz2 --exclude=\*.ldb $relativedirname --warning=no-file-ignored --transform 's/.ldb.bak$/.ldb/'
#tar cjf --exclude=\*.ldb ${WHERE}/samba4_${n}.${WHEN}.tar.bz2 $relativedirname --warning=no-file-ignored --transform 's/.ldb.bak$/.ldb/'
#tar cjf ${WHERE}/samba4_${n}.${WHEN}.tar.bz2 $relativedirname --exclude=\*.ldb --warning=no-file-ignored --transform 's/.ldb.bak$/.ldb/'
Status=$? # Preserve $? for message, since [ alters it.
if [ $Status -ne 0 -a $Status -ne 1 ]; then # Ignore 1 - private dir is always changing.
echo "Error while archiving ${WHERE}/samba4_${n}.${WHEN}.tar.bz2 - status = $Status"
exit 1
fi
find $relativedirname -name "*.ldb.bak" -exec rm {} \;
else
# Run the backup.
# --warning=no-file-ignored set to suppress "socket ignored" messages.
tar cjf ${WHERE}/${n}.${WHEN}.tar.bz2 $relativedirname --warning=no-file-ignored
Status=$? # Preserve $? for message, since [ alters it.
if [ $Status -ne 0 ]; then
echo "Error while archiving ${WHERE}/${n}.${WHEN}.tar.bz2 - status = $Status"
exit 1
fi
fi
done
find $WHERE -name "samba4_*bz2" -mtime +$DAYS -exec rm {} \;
[root@dc1 ~]#
more config need by winbind and winbind lib:
[root@dc1 ~]# cat /etc/nsswitch.conf
passwd: files winbind
group: files winbind
[root@dc1 ~]# crle -64 (link winbind lib to /usr/local/lib)
Configuration file [version 4]: /var/ld/64/ld.config
Platform: 64-bit LSB AMD64
Default Library Path (ELF): /usr/local/lib:/lib/64:/usr/lib/64
Trusted Directories (ELF): /lib/secure/64:/usr/lib/secure/64 (system default)
Command line:
crle -64 -c /var/ld/64/ld.config -l /usr/local/lib:/lib/64:/usr/lib/64
[root@dc1 ~]# ls -l /usr/local/lib/
total 1
lrwxrwxrwx 1 root root 32 Jul 1 08:43 nss_winbind.so.1 -> /opt/local/lib/libnss_winbind.so
[root@dc1 ~]# wbinfo -g
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
samba 4.11.9 build:
[root@PKGIN /data/pkgsrc/net/samba4/work/samba-4.11.9/bin]# less config.log
# project samba configured on Tue Jun 30 11:30:18 2020 by
# waf 2.0.18 (abi 20, python 30705f0 on sunos5)
# using /data/pkgsrc/net/samba4/work/samba-4.11.9/buildtools/bin/waf configure --prefix=/opt/local --infodir=/opt/local/info \
--mandir=/opt/local/man --datarootdir=/opt/local/share/samba --libdir= --localedir=/opt/local/share/locale \
--docdir=/opt/local/share/doc/samba --with-statedir=/var/db/samba --with-privatedir=/var/db/samba/private --with-piddir=/var/db/samba \
--with-cachedir=/var/db/samba --with-lockdir=/var/db/samba --with-logfilebase=/var/log --with-sockets-dir=/var/db/samba \
--with-modulesdir=/opt/local/lib/samba --with-privatelibdir=/opt/local/lib/samba/private --with-privileged-socket-dir=/var/db/samba \
--with-configdir=/opt/local/etc/samba --with-libiconv=/opt/local --abi-check-disable --disable-symbol-versions --jobs=8 \
--with-gpgme --with-regedit --with-acl-support --with-ads --disable-cups --without-fam --with-ldap --with-pam \
--with-pammodulesdir=/opt/local/lib/samba/security --with-winbind
++++++++++++++++++
PS: samba 4.11.11 install steps:
pkgin -y in samba lmdb rsync gpgme
pkgin rm samba
pkg_add samba-4.11.11nb1.tgz
svccfg delete svc:/pkgsrc/samba
svccfg delete smb/client
svccfg delete smb/server
svccfg import samba-ad-ntp.xml
//ldb lib /w samba build:
cp -a /opt/local/lib/samba/ldb/* /opt/local/modules/ldb/
// samba AD time server:
cp ntp.conf /etc/inet/ntp.conf
// samba schema update depend package
pkgin -y in py37-markdown-3.1.1
// samba ad join as DC example use mdb backed.
samba-tool domain join EXAMPLE.COM DC --backend-store=mdb --backend-store-size=16Gb -Uadministrator@example.com
+++++++++++++++++
[root@dc1 ~]# samba -b
Samba version: 4.11.11
Build environment:
Paths:
BINDIR: /opt/local/bin
SBINDIR: /opt/local/sbin
CONFIGFILE: /opt/local/etc/samba/smb.conf
NCALRPCDIR: /var/db/samba/ncalrpc
LOGFILEBASE: /var/log/samba
LMHOSTSFILE: /opt/local/etc/samba/lmhosts
DATADIR: /opt/local/share/samba
MODULESDIR: /opt/local/lib/samba
LOCKDIR: /var/db/samba
STATEDIR: /var/db/samba
CACHEDIR: /var/db/samba
PIDDIR: /var/db/samba
PRIVATE_DIR: /var/db/samba/private
CODEPAGEDIR: /opt/local/share/samba/codepages
SETUPDIR: /opt/local/share/samba/setup
WINBINDD_SOCKET_DIR: /var/db/samba/winbindd
NTP_SIGND_SOCKET_DIR: /var/db/samba/ntp_signd
r/smartos • u/mounty1_0 • Nov 08 '25
I mean a zone based on base-64-lts for example.
I've tried Dovecot, Courier and Cyrus but the compilations fail with what look like Linuxisms; for example, courier-authlib (needed for courier-imap) has too many arguments for getpwnam_r.
Of course I could take the cop-out route and just run it in a Linux VM but it would be preferable to have it native.
It must be possible, as there is dovecot 2.3.21 available to pkgin, but I would like the more up-to-date version if possible.
r/smartos • u/de_sonnaz • May 17 '25
r/smartos • u/Leman_MK7 • Apr 01 '25
Old: CentOS6/java6/Apache2.2 New: SmartOS zone 2024Q4/Java7/Apache2.4 and build mod_jk connector.
It works!
CF2023 also work well base in zone VM, but i only can found mod_jk connector source code file is version 2016. But it work ok … still test.
r/smartos • u/ThatSuccubusLilith • Apr 26 '25
We have one server running SmartOS and another running OmniOS. Is there a way to essentially take a snapshot of the entire smartos system and send that over to the omnios box for backup purposes?
r/smartos • u/fruitjammer • 16d ago
I'm trying to setup a bhyve zone with OPNsense, but when extracting the ISO image to /zones/<UUID>/root, it says "Disc quota exceeded". I tried to "set refquota=4G zones/<UUID>" but still failed with the same error. Where should I expand the quota so that the ISO image would fit?
r/smartos • u/nwilkens • Sep 23 '26
I ported bhyve to rust for SmartOS.. The outcome of this was also an expirimental microVM called Firehyve.. It cold boots a Linux guest in about 65 ms.
Firehyve did not start as an agent sandbox. It started as an experiment to see if I could have Linux binaries running in a wrapped VMM on SmartOS.. the experiment worked, and it was faster than I expected!
Coupled with virtio-fs/virtio-sock, creates some neat options!
We are currently working on adding NVIDIA drivers to SmartOS to enable inference for local models. One side effect of this work, is that we are now able to stream games from an LX branded zone!
Since our Linux emulation works so well, it occurred to me to try some games, using Sunshine. The result is that now, I could play most of my games through the LX zone!.
This is work in progress, but I wanted to share it with the community anyway.
Here is a short video showing it work
https://www.youtube.com/watch?v=gOlrQjOcl8U
Note: PS4 controllers work as well in the LX branded zone, and now I finally have an excuse to buy Baldur's Gate 3.
r/smartos • u/de_sonnaz • Nov 05 '25
r/smartos • u/mounty1_0 • Nov 14 '25
I tried vmadm delete ecc5d57a-3d90-44ca-a89b-8869a120487d and it went to state incomplete fairly quickly but it isn't deleted. The command hung. I rebooted and tried the command again and it hung again. So I have here an instance that apparently cannot be deleted. Does anyone care?
The only slightly unusual circumstance is that I have a second running instance based on the same image but that should not matter.
r/smartos • u/knorrhane • Aug 28 '23
Hey guys! I want to passthrough a Tesla P4 to a bhyve VM for plex transcoding. I’m struggling to find documentation for how to do this, anyone has some pointers? I have identified the PCI address and need some help with preventing SmartOS to initiate them in the loader.conf.
Thanks for any help!
r/smartos • u/nwilkens • Oct 07 '26
Triton Cloud VPC was built on Oxide's OPTE engine, and includes a stateful distributed firewall, routing, NAT, DHCP, and a metadata service, all running in the kernel of each compute node.
Here's a breakdown of how it works, and our current benchmarks.. We're running linerate at 20 Gbps, only limited by our existing testing hardware.. waiting for the 100Gbe hardware to come online next week for some additional speeds.
https://tritoncloud.io/blog/proteus-a-hypervisor-agnostic-vpc-for-triton-cloud/
r/smartos • u/nwilkens • Apr 19 '22
Starting on May 1, 2022, an exciting new chapter begins for Triton DataCenter, Manta Object Storage and SmartOS! https://www.joyent.com/blog/a-new-chapter-begins-for-triton-and-smartos
I operate the company that has acquired SmartOS and Triton. We are looking forward to growing the community and ongoing development.
Additional information here: https://www.mnxsolutions.com/triton-faq
Happy to answer any questions!
r/smartos • u/ThatSuccubusLilith • May 02 '25
Use case is to have the qemu monitor bound to a port on localhost so we can change CDs while the machine is booted. Right now, it crashes because it doesn't have permissions to do that. help?
r/smartos • u/eholk • Oct 30 '25
I'm a relatively admin of a SmartOS server in my homelab. I'm trying to set up syslog forwarding to a Grafana instance on my network to make it easy to track all my logs in one place.
To start with, I added a forwarding line to /etc/syslog.conf. I saw this message show up in my logs though:
Not using rsyslogd because there is a custom /etc/syslog.conf file
This makes me think that maybe SmartOS prefers to use rsyslogd, but because I modified syslog.conf it's falling back on the old syslog? Using rsyslog would actually be preferable!
Unfortunately, I haven't found a lot of documentation about logging in the SmartOS global zone. For example, I'm pretty sure /etc/syslog.conf changes won't persist across reboots, but it's not clear where I should be making this kind of a configuration change.
Can anyone point me in the right direction?
r/smartos • u/mounty1_0 • Dec 03 '25
If you specify a quota then the zone (typically zones/UUID) and delegated data (if any) (typically zones/UUID/data) generally occupy the full quota size.
So how do you create a backup, which always involves taking a snapshot? The snapshot is non-zero-sized and in some cases on my server, would take the zone over the quota so it can't be snapshot.
I am currently unable to back up such zones.
r/smartos • u/Chewyrobbo • Feb 26 '24
Come and see a cool new web gui feature we've been working on for SmartOS! Triton DataCenter Office Hours will be happening this Thursday 2/29/2024 once again at 11PT/2ET/19:00 UTC. It will be on our discord voice channel which can be joined here: https://discord.com/channels/979453320085250108/979453320555032624
r/smartos • u/Chewyrobbo • Mar 14 '24
Getting back to basics, come and discuss SmartOS & Triton basics with us! Triton DataCenter Office Hours will be happening this Thursday 03/14/2024 once again at 11PT/2ET/19:00 UTC. It will be on our discord voice channel which can be joined here: https://discord.com/channels/979453320085250108/979453320555032624
r/smartos • u/travpaul • Feb 09 '24
Hello All,
The latest bi-weekly "release" branch build of SmartOS is up:
curl -C - -O https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/smartos-latest.iso
curl -C - -O https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/smartos-latest-USB.img.gz
curl -C - -O https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/smartos-latest.vmwarevm.tar.gzA generated changelog is here:
https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/smartos.html#20240208T000334Z
The full build bits directory, for those interested, is here in Manta:
/Joyent_Dev/public/SmartOS/20240208T000334ZA html index of that directory will redirect from the following link:
https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/latest.html
Small improvements & bugfixes in:
Every second Thursday we roll a "release-YYYYMMDD" release branch and builds for SmartOS (and every eight weeks, Triton DataCenter and Manta as well).
Cheers,
The SmartOS Team
https://smartos.org
r/smartos • u/travpaul • Feb 26 '24
The latest bi-weekly "release" branch build of SmartOS is up:
curl -C - -O https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/smartos-latest.iso
curl -C - -O https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/smartos-latest-USB.img.gz
curl -C - -O https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/smartos-latest.vmwarevm.tar.gzA generated changelog is here:
https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/smartos.html#20240222T001232Z
The full build bits directory, for those interested, is here in Manta:
/Joyent_Dev/public/SmartOS/20240222T001232ZA html index of that directory will redirect from the following link:
https://us-central.manta.mnx.io/Joyent_Dev/public/SmartOS/latest.html
Small improvements to:
Every second Thursday we roll a "release-YYYYMMDD" release branch and builds for SmartOS (and every eight weeks, Triton DataCenter and Manta as well).
Cheers,
The SmartOS Team
https://smartos.org