/usr/sbin/piadm [-v] <command> [command-specific arguments]
Historically, SmartOS booted off of a USB key or a read-only media like
CD-ROM. The copy and version of the SmartOS software on one of these
----10.0.20.0/24------+-----------------+---------- | |
| | | |
BHYVE native-zone-----------+ | |
| | | | |
----10.0.18.0/24------+------------------+--------- | | |
| | |
--------+--------10.0.5.0/24-----+------ | |
| | |
ROUTER-TO-INTERNET |
smartos-build-2(~/gcc10-shadow)[0]% cat /tmp/simple.c | |
#include <stdio.h> | |
main() | |
{ | |
printf("Hello, world.\n"); | |
} | |
smartos-build-2(~/gcc10-shadow)[0]% gcc --version | |
gcc (GCC) 7.3.0 | |
Copyright (C) 2017 Free Software Foundation, Inc. |
/root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw --linker /root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/ld --primary gcc4,/root/data/jenkins/workspace/smartos-master-gcc4/proto.strap/usr/gcc/4/bin/gcc,gnu --shadow smatch,/root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch,smatch -- -O -_gcc=-fno-inline-small-functions -_gcc=-fno-inline-functions-called-once -m32 -xspace -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -_gcc=-Wno-missing-braces -_gcc=-Wno-sign-compare -_gcc=-Wno-unknown-pragmas -_gcc=-Wno-unused-parameter -_gcc=-Wno-missing-field-initializers -_gcc=-Wno-array-bounds -_smatch=-p=illumos_user -_smatch=--disable=uninitialized,check_check_deref -_smatch=-Wno-vla -_smatch=-Wno-one-bit-signed-bitfield -_smatch=-Wno-external-func |
[root@moe (kebecloud) ~]# netstat -rn -f inet6 | |
Routing Table: IPv6 | |
Destination/Mask Gateway Flags Ref Use If | |
--------------------------- --------------------------- ----- --- ------- ----- | |
::1 ::1 UH 2 0 lo0 | |
fe80::/10 fe80::ec4:7aff:fe07:f6ef U 2 0 igb3 | |
fe80::/10 fe80::8:20ff:fe91:ad54 U 2 0 external0 | |
[root@moe (kebeclod) ~]# route add -inet6 default -ifp external0 fe80::1 | |
add net default: gateway fe80::1 |
tcsh loop used: | |
65 18:07 while ( 1 ) | |
66 18:07 date |& tee -a tempcheck | |
67 18:08 /opt/pkg/bin/ipmitool -I lanplus -H hdc-ipmi -U admin -P XXXXX dcmi sensors |& tee -a tempcheck | |
68 18:08 /opt/pkg/bin/ipmitool -I lanplus -H hdc-ipmi -U admin -P XXXXX sdr |& tee -a tempcheck | |
69 18:08 end | |
Output from last seemingly good capture to losing CPU and mobo sensors to regaining them: |
[root@headnode (coal) ~]# df -h /mnt/usbkey/. | |
Filesystem Size Used Available Capacity Mounted on | |
/zones/boot 34.66G 2.99G 31.66G 9% /mnt/usbkey | |
[root@headnode (coal) ~]# sdc-usbkey unmount | |
[root@headnode (coal) ~]# sdcadm platform list | |
VERSION CURRENT_PLATFORM BOOT_PLATFORM LATEST DEFAULT OS | |
20201202T202712Z 1 1 true false smartos | |
20201117T215327Z 0 0 false false smartos | |
20201007T223416Z 0 0 false true smartos | |
[root@headnode (coal) ~]# sdc-usbkey status -j |
# zfs list -t all | |
NAME USED AVAIL REFER MOUNTPOINT | |
zones 1.39T 2.12T 263G /zones | |
zones/smartos-build-danmcd 711G 2.12T 708G /export/home | |
zones/smartos-build-danmcd@backup 71.3G - 335G - | |
# zfs destroy -nv zones/smartos-build-danmcd@backup | |
would destroy zones/smartos-build-danmcd@backup | |
would reclaim 71.3G | |
# zfs destroy -v zones/smartos-build-danmcd@backup | |
will destroy zones/smartos-build-danmcd@backup |
(0)# echo '*amdf17nbdf::print amdf17nbdf_t amd_nbdf_nbs | ::walk list | ::print amdf17nb_t' | mdb -k | |
{ | |
amd_nb_link = { | |
it_itime = { | |
it_interval = { | |
tv_sec = -14e13c8a3e8 | |
tv_nsec = 0xfffffeb1ec375c18 | |
} | |
it_value = { | |
tv_sec = -14e55d7daa8 |
smartos-build(~/smartos-live)[0]% gtar -tzf output/platform-20200728T010227Z.tgz | |
platform-20200728T010227Z/ | |
platform-20200728T010227Z/etc/ | |
platform-20200728T010227Z/etc/version/ | |
platform-20200728T010227Z/etc/version/platform | |
platform-20200728T010227Z/root.password | |
platform-20200728T010227Z/i86pc/ | |
platform-20200728T010227Z/i86pc/kernel/ | |
platform-20200728T010227Z/i86pc/kernel/amd64/ | |
platform-20200728T010227Z/i86pc/kernel/amd64/unix |