Skip to content

Instantly share code, notes, and snippets.

@danmcd
Last active December 4, 2020 19:37
Show Gist options
  • Save danmcd/fd7999dd0e743c29856e97e2cb6c5369 to your computer and use it in GitHub Desktop.
Save danmcd/fd7999dd0e743c29856e97e2cb6c5369 to your computer and use it in GitHub Desktop.
[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
{"mountpoint":null,"device":null,"version":null,"options":null,"steps":{"mounted":false,"options_ok":false,"marker_file":false},"ok":false,"message":"not mounted"}
[root@headnode (coal) ~]# sdc-usbkey mount
/mnt/usbkey
[root@headnode (coal) ~]# sdc-usbkey status -j
{"mountpoint":"/mnt/usbkey","device":"/zones/boot","version":2,"options":{},"steps":{"mounted":true,"options_ok":true,"marker_file":true},"ok":true,"message":"mounted"}
[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) ~]# zpool get bootfs
NAME PROPERTY VALUE SOURCE
zones bootfs zones/boot local
[root@headnode (coal) ~]# bootparams | grep triton_
triton_bootpool=zones
[root@headnode (coal) ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment