This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> disks | |
0:02:00 500019b9:ff68cc3f/00 c1t500019B9FF68CC00d0 Corsair Force 3 240.1G zones: cache | |
0:02:01 500019b9:ff68cc3f/01 c0t50014EE2B783E1EEd0 WDC WD1003FZEX-0 1000.2G backup: mirror-0 | |
0:02:02 500019b9:ff68cc3f/02 c0t50014EE2622E28A5d0 WDC WD1003FZEX-0 1000.2G backup: mirror-0 | |
0:02:03 500019b9:ff68cc3f/03 c0t50024E92041D2FB1d0 SAMSUNG HD103SJ 1000.2G samsung: raidz1-0 | |
0:02:04 500019b9:ff68cc3f/04 c0t50024E92041D3029d0 SAMSUNG HD103SJ 1000.2G samsung: raidz1-0 | |
0:02:05 500019b9:ff68cc3f/05 c0t50024E92041D2F5Dd0 SAMSUNG HD103SJ 1000.2G samsung: raidz1-0 | |
0:02:06 500019b9:ff68cc3f/06 c0t50014EE2B783E1B2d0 WDC WD1003FZEX-0 1000.2G zones: mirror-0 | |
0:02:07 500019b9:ff68cc3f/07 c0t50014EE2B783E0A7d0 WDC WD1003FZEX-0 1000.2G zones: mirror-0 | |
0:02:08 500019b9:ff68cc3f/08 c0t50014EE2622E27CBd0 WDC WD1003FZEX-0 1000.2G zones: mirror-1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
if [ "s$1" != "s-H" ]; then | |
printf "%-22s %-22s %-22s %5s %5s C\n" DISK MODEL SERIAL SIZE TEMP | |
fi | |
for i in $(/usr/bin/ls /dev/rdsk | /usr/bin/awk "/s2$/ {print}" | /usr/bin/sed "s/s2//"); do | |
disk=/dev/rdsk/${i}p0 | |
temp=$(smartctl -d sat,12 -l scttempsts $disk | grep Current | awk '{print $3}') | |
#model=$(smartctl -d sat,12 -i $disk | grep "Device Model" | awk '{print $3}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@headnode (SGU) ~]# cat /var/svc/log/system-smartdc-init:default.log | |
[2015-01-27T17:00:01Z] /mnt/usbkey/scripts/headnode.sh:383: create_zone(): existing_uuid= | |
[2015-01-27T17:00:01Z] /mnt/usbkey/scripts/headnode.sh:384: create_zone(): [[ -n '' ]] | |
[2015-01-27T17:00:01Z] /mnt/usbkey/scripts/headnode.sh:392: create_zone(): existing_uuid= | |
[2015-01-27T17:00:01Z] /mnt/usbkey/scripts/headnode.sh:393: create_zone(): [[ -n '' ]] | |
[2015-01-27T17:00:01Z] /mnt/usbkey/scripts/headnode.sh:405: create_zone(): cr_once | |
[2015-01-27T17:00:01Z] /mnt/usbkey/scripts/headnode.sh:124: cr_once(): [[ -z 1 ]] | |
[2015-01-27T17:00:01Z] /mnt/usbkey/scripts/headnode.sh:408: create_zone(): [[ -f /usbkey/zones/mahi/dataset ]] | |
[[2015-01-27T17:00:01Z] /mnt/usbkey/scripts/headnode.sh:410: create_zone(): cat /usbkey/zones/mahi/dataset | |
[2015-01-27T17:00:01Z] /mnt/usbkey/scripts/headnode.sh:410: create_zone(): ds_name=mahi-zfs-release-20150122-20150122t073849z-g4b27841.imgmanifest |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@headnode (SGU) ~]# cat /var/svc/log/system-smartdc-init:default.log.0 | |
[ Jan 27 16:35:51 Executing start method ("/lib/svc/method/smartdc-init start"). ] | |
[2015-01-27T16:35:51Z] /lib/svc/method/smartdc-init:29: . /lib/svc/share/smf_include.sh | |
[[2015-01-27T16:35:51Z] /lib/svc/share/smf_include.sh:242: SMF_EXIT_OK=0 | |
[[2015-01-27T16:35:51Z] /lib/svc/share/smf_include.sh:243: SMF_EXIT_NODAEMON=94 | |
[[2015-01-27T16:35:51Z] /lib/svc/share/smf_include.sh:244: SMF_EXIT_ERR_FATAL=95 | |
[[2015-01-27T16:35:51Z] /lib/svc/share/smf_include.sh:245: SMF_EXIT_ERR_CONFIG=96 | |
[[2015-01-27T16:35:51Z] /lib/svc/share/smf_include.sh:246: SMF_EXIT_MON_DEGRADE=97 | |
[[2015-01-27T16:35:51Z] /lib/svc/share/smf_include.sh:247: SMF_EXIT_MON_OFFLINE=98 |